Zitat von
biggy2706
Mein Problem ist Folgendes:
Ich habe ein relativ langes Inhaltsverzeichnis, das ich mit Hilfe von
\addtocontents{toc}{\protect\newpage}
auf zwei seiten aufgeteilt habe.
Natürlich fangen nun beide seiten des Inhaltsverzeichnisses ganz oben an und unten ist relativ viel platz. Das würde ich gerne durch eine vertikale Zentrierung ändern, sodass auf beiden Seiten das Verzeichnis schön mittig ist.
sieht doch nicht schön aus!
Code:
\documentclass[10pt,a4paper]{article}
\usepackage{geometry}
\geometry{a4paper, left=25mm, right=25mm, top=2cm, bottom=3cm}
\usepackage[latin1]{inputenc}
\begin{document}
\clearpage
\renewcommand{\thepage}{\roman{page}}
\setcounter{page}{1}
\vspace*{\fill}
\tableofcontents
\vfill
\newpage
\renewcommand{\thepage}{\arabic{page}}
\setcounter{page}{1}
\section{XXX}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\newpage
\section{XXX}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\newpage
\addtocontents{toc}{\protect\vfill\newpage\vspace*{\fill}}
\section{XXX}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\newpage
\section{XXX}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\subsection{YYY}\subsubsection{ZZZ}\subsubsection{ ZZZ}\subsubsection{ZZZ}
\end{document}
Herbert
Lesezeichen