0

with a ToC that goes over two pages – how can I vertically align the right one with the left?

adding \addtocontents{toc}{\protect\vspace{10cm}} (which I've copied and pasted from somewhere) only seems to work when it appears before a \chapter.

enter image description here

1
  • 1
    Welcome to TeX-SX! As a new member, it is recommended to visit the Welcome and the Tour pages to be informed about our format and also to know about Minimal Example. Otherwise, more specifically about your question: A MWE will really help us to help you.
    – R. N
    Feb 16, 2021 at 13:34

1 Answer 1

1

Here is an example using a standard class. Of course you have to adjust manually the vertical space every time you modify the table of contents:

\documentclass[12pt]{book}
\begin{filecontents}[overwrite]{chapter.tex}
\chapter{Lorem ipsum dolor sit amet}
\section{Lorem ipsum}
\section{Lorem ipsum}
\section{Lorem ipsum}
\section{Lorem ipsum}
\section{Lorem ipsum}
\section{Lorem ipsum}
\section{Lorem ipsum}
\end{filecontents}

\begin{document}
\tableofcontents

\input{chapter}
\input{chapter}
\input{chapter}
\section{Title}
\section{Title}

\addtocontents{toc}{\null\vspace{4.5cm}}
\section{Title}
\section{Title}

\input{chapter}
\input{chapter}
\input{chapter}
\end{document}

which gives:

enter image description here

2
  • that's it — thank you!
    – kindoflike
    Feb 16, 2021 at 15:01
  • You can avoid the placement problem by using \afterpage (afterpage package). You probably still need \addtocontents with book class. Feb 16, 2021 at 23:23

You must log in to answer this question.

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