How can I remove the vertical spacing before each section in the table of contents from a 'article' documentclass?
[Tex/LaTex] Removing space before Section in Table of Contents when using Article
spacingtable of contents
Related Question
- [Tex/LaTex] Increasing spacing between section number and title in the table of contents
- [Tex/LaTex] Only section heads in table of contents using beamer
- [Tex/LaTex] Remove section number from Table of Contents
- [Tex/LaTex] How to make the table of contents section title upper case without messing with the space between the chapter and section
- [Tex/LaTex] Suppress table of contents before every section in LaTeX Beamer
Best Answer
You can redefine
\l@section
as implemented inarticle.cls
and suppress (or comment out) the line\addvspace{1.0em \@plus\p@}%
responsible for the extra space. Simply add these lines to the preamble of your document: