Eintrag „Inhalt“ im Inhaltsverzeichnis hinzufügen

Eintrag „Inhalt“ im Inhaltsverzeichnis hinzufügen

Ich habe möglicherweise das gleiche Problem wie diese geschlossene Frage:Inhaltsverzeichnis im Inhaltsverzeichnis hinzufügen

Ich möchte, dass in meinem Inhaltsverzeichnis die Zeile „Inhaltsverzeichnis“ mit Seitenzahl usw. erscheint.

\addcontentsline{toc}{chapter}{Table of contents}Ich habe versucht, den folgenden Befehl einzugeben, \tableofcontentsjedoch ohne Ergebnis.

Hier ist mein MWE

\documentclass{report}

\begin{document}

\tableofcontents
\addcontentsline{toc}{chapter}{Table of contents}

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}

\end{document}

Antwort1

\documentclass{report}
\usepackage{tocbasic}
\setuptoc{toc}{totoc}
\begin{document}

\listoftoc[Something like the Table of \contentsname]{toc}

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}

\end{document}

Something like the Table of \contentsnameSie können " " durch den Titel des Inhaltsverzeichnisses ersetzen . Nach der Änderung des Titels sind mindestens zwei LaTeX-Durchläufe erforderlich.

verwandte Informationen