RE: How to reduce spacing on TOC page?
My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the Contents heading, and also the space which follows between the heading and the first entry in the TOC. BTW, I'm using the book class, compiling my documents using pdflatex from MikTex 2.3 on windows. I'm not familiar with Latex intenals, but I can find a block in book.cls which looks like what you specify and it uses vskip rather than addvspace. Adding your block to my preamble does, as you say, reduce the spaces within the table of contents, but (like I said) that wasn't really what I needed. Anything else I can try? guy -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Herbert Voss Sent: 27 January 2004 19:10 To: [EMAIL PROTECTED] Subject: Re: How to reduce spacing on TOC page? Guy Hindell wrote: So (hoping I read it right), I tried the following... \begingroup \tableofcontents \endgroup but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % -- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the Contents heading, and also the space which follows between the heading and the first entry in the TOC. http://latex.s-v-p.de/tocloft/TOC.phtml#vertical there is also a solution for what you want. Herbert
RE: How to reduce spacing on TOC page?
My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the Contents heading, and also the space which follows between the heading and the first entry in the TOC. BTW, I'm using the book class, compiling my documents using pdflatex from MikTex 2.3 on windows. I'm not familiar with Latex intenals, but I can find a block in book.cls which looks like what you specify and it uses vskip rather than addvspace. Adding your block to my preamble does, as you say, reduce the spaces within the table of contents, but (like I said) that wasn't really what I needed. Anything else I can try? guy -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Herbert Voss Sent: 27 January 2004 19:10 To: [EMAIL PROTECTED] Subject: Re: How to reduce spacing on TOC page? Guy Hindell wrote: So (hoping I read it right), I tried the following... \begingroup \tableofcontents \endgroup but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % -- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the Contents heading, and also the space which follows between the heading and the first entry in the TOC. http://latex.s-v-p.de/tocloft/TOC.phtml#vertical there is also a solution for what you want. Herbert
RE: How to reduce spacing on TOC page?
My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the "Contents" heading, and also the space which follows between the heading and the first entry in the TOC. BTW, I'm using the book class, compiling my documents using pdflatex from MikTex 2.3 on windows. I'm not familiar with Latex intenals, but I can find a block in book.cls which looks like what you specify and it uses vskip rather than addvspace. Adding your block to my preamble does, as you say, reduce the spaces within the table of contents, but (like I said) that wasn't really what I needed. Anything else I can try? guy -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Herbert Voss Sent: 27 January 2004 19:10 To: [EMAIL PROTECTED] Subject: Re: How to reduce spacing on TOC page? Guy Hindell wrote: > So (hoping I read it right), I tried the following... > > \begingroup > > \tableofcontents > \endgroup > > but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % <-- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: My mistake - I read the tip page thinking it did something else. What I'd like to do is to reduce the vertical space between the top of the page and the "Contents" heading, and also the space which follows between the heading and the first entry in the TOC. http://latex.s-v-p.de/tocloft/TOC.phtml#vertical there is also a solution for what you want. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: So (hoping I read it right), I tried the following... \begingroup \renewcommand*{\addvspace}[1]{} \tableofcontents \endgroup but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % -- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: So (hoping I read it right), I tried the following... \begingroup \renewcommand*{\addvspace}[1]{} \tableofcontents \endgroup but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % -- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert
Re: How to reduce spacing on TOC page?
Guy Hindell wrote: So (hoping I read it right), I tried the following... \begingroup \renewcommand*{\addvspace}[1]{} \tableofcontents \endgroup but don't see any change in the result. Where am I going wrong? it depends to your class. Some do not use the \addvspace for the toc. Write into the preamble [EMAIL PROTECTED] \ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED] [EMAIL PROTECTED] %\vskip 1.0em [EMAIL PROTECTED]@ % <-- the vertical space [EMAIL PROTECTED] \begingroup \parindent \z@ \rightskip [EMAIL PROTECTED] \parfillskip [EMAIL PROTECTED] \leavevmode \bfseries [EMAIL PROTECTED] \hskip -\leftskip #1\nobreak\hfil [EMAIL PROTECTED]@[EMAIL PROTECTED] #2}\par [EMAIL PROTECTED] \endgroup \fi} The additional vertcal is commented out, there is now no more additional space between chapter enrties. Herbert