0

My table of contents has the following structure:

List of figures.........3
List of acronyms........4
Introduction............6
1 First Section.........7
2 Second Section........8

But I want it to have some vertical space between the "introduction" sections and the actual content, like this:

List of figures.........3
List of acronyms........4
Introduction............6

1 First Section.........7
2 Second Section........8

Does anyone know how to achieve that? I just found some snippets to change the space between the lines in general or for all sections, but nothing about how to change the vertical space just for a single line.

2

1 Answer 1

3

You can add whatever you want to your TOC with the command \addcontentsline. I just added 20 pt for you. Just change this to some value which pleases you!

% arara: pdflatex
% arara: pdflatex

\documentclass{article}

\begin{document}
\tableofcontents
\clearpage
\setcounter{page}{3}
\listoffigures
\addcontentsline{toc}{section}{\listfigurename}
\clearpage
\section*{List of acronyms}
\addcontentsline{toc}{section}{List of acronyms}
\clearpage\stepcounter{page}{1}
\section*{Introduction}
\addcontentsline{toc}{section}{Introduction}
\addtocontents{toc}{\protect\addvspace{20pt}}%
\clearpage
\section{First Section}
\clearpage
\section{Second Section}
\end{document}

enter image description here


I have not added the dots for every line. But I do not know, which document class you use.

0

Not the answer you're looking for? Browse other questions tagged .