PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Inhaltsverzeichnis vertikal zentrieren



biggy2706
20-09-2010, 12:05
Hallo, ich hab das Forum durchsucht, aber leider nichts für mein Problem gefunden. Sollte ich etwas übersehen haben, dann entschuldigt den Doppenpost.
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.

Hier ein kleines Beispiel, wie es bei mir aussieht:

\documentclass[10pt,a4paper]{article}
\usepackage{geometry}
\geometry{a4paper, left=25mm, right=25mm, top=2cm, bottom=3cm}
\usepackage[latin1]{inputenc}

\begin{document}
%Titelseite mit Abstract
%Leerseite
\renewcommand{\thepage}{\roman{page}}
\setcounter{page}{1}
\tableofcontents
\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\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
\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}

voss
20-09-2010, 12:37
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!

\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

biggy2706
20-09-2010, 13:18
vielen dank! funktioniert super.
und ich muss sagen, dass es mir so schon etwas besser gefällt.
vermutlich geschmackssache!
Nochmals vielen dank für die schnelle antwort!