Seite 1 von 1

Kein Eintrag fürs Inhaltsverzeichnis im Inhaltsverzeichnis

Verfasst: Fr 26. Aug 2011, 19:28
von Mr. ToC
Ich würde gerne verhindern, dass im Inhaltsverzeichnis meines Dokuments ein eigener Eintrag auf das Inhaltsverzeichnis auftaucht. Das erscheint mir auch überhaupt irgendwie wenig sinnvoll. Leider habe ich aber auch nach längerem Suchen keine Möglichkeit dafür gefunden. Ist das gar nicht möglich?

Minimalbeispiel:
\documentclass[a4paper]{memoir}
\begin{document}
\tableofcontents
\chapter{Test}
Das ist nur ein Test
\end{document}

Verfasst: Fr 26. Aug 2011, 22:26
von Xenara
Das ist wohl Standardverhalten bei memoir. Die Erklärung und Lösung dazu findet sich in der memoir-Doku auf Seite 153:
The commands \tableofcontents, \listoffigures and \listoftables typeset, repectively, the Table of Contents (ToC), List of Figures (LoF) and List of Tables (LoT).
In memoir, unlike the standard classes, the unstarred versions add their respective titles to the ToC. The starred versions act like the standard classes’ unstarred versions as they don’t add their titles to the ToC.
(Gefunden hab ichs in der Doku nur, weil ich auf gut Glück nach \tableofcontents gesucht habe.)

\documentclass[a4paper]{memoir}
\begin{document}
\tableofcontents*

\chapter{Test}
Das ist nur ein Test
\end{document}