tags:

views:

156

answers:

4

I have set tocdepth to a lower number, so that other subsections are not included in the list. But instead of just removing these items, LaTeX leaves a gap. How does it happen? How could it be prevented?

+1  A: 
Norman Ramsey
A: 

The table of contents may include a stretchable space in between each of the entries. If the style allows it, put a \vfill after the \tableofcontents but before any \newpages, and see if that makes a difference.

dreamlax
A: 

Usually I recommend one of the titletoc or tocloft packages to format ToC entries.

Will Robertson
A: 

I can heartily recommend the memoir document class, which I use for everything from poetry to business cards. I'm very, very happy with the investment I made to learn it, even though it wasn't negligible.

In particular, to tinker at your TOC entry formatting, search for \cftbeforeKskip in memman.pdf.

The final solution will probably look something like this:

\setlength{\cftbeforechapterskip}{0pt}

or

\setlength{\cftbeforesectionskip}{0pt}

etc... (depending on which level of entry you want to adjust)

Brent.Longborough