Page LayoutRemove extra vertical Space between Chapter Entries in ToC

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
jbgrad
Posts: 5
Joined: Sat Nov 17, 2012 4:31 am

Remove extra vertical Space between Chapter Entries in ToC

Post by jbgrad »

My ToC should be double-spaced. That is easy enough except that by default (my class is similar to the document class, I think) an extra vertical space is added after the chapter entries.

Is there some command that I can renew or something to remove this space? I would think this should be very easy.

Any assistance will be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Remove extra vertical Space between Chapter Entries in ToC

Post by Stefan Kottwitz »

Hi,

welcome to the board!

You could disable that space for example by

Code: Select all

\addtocontents{toc}{\protect\renewcommand*\protect\addvspace[1]{}}
If you need this also for the list of figures or list of tables, you could do it similarly or shortened by making a macro from this redefinition.

Stefan
LaTeX.org admin
Post Reply