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?
views:
156answers:
4
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 \newpage
s, and see if that makes a difference.
dreamlax
2009-12-29 02:38:26
A:
Usually I recommend one of the titletoc or tocloft packages to format ToC entries.
Will Robertson
2009-12-29 09:02:50
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
2009-12-29 14:16:44