Kein Eintrag fürs Inhaltsverzeichnis im Inhaltsverzeichnis Thema ist als GELÖST markiert

Inhalt, Abbildungen, Tabellen, Quellcodes und andere Verzeichnisse


Mr. ToC

Kein Eintrag fürs Inhaltsverzeichnis im Inhaltsverzeichnis

Beitrag 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}

Xenara
Forum-Meister
Forum-Meister
Beiträge: 682
Registriert: Mi 25. Nov 2009, 09:41

Beitrag 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}
 

Antworten