Inhaltsverzeichnis ins Inhaltverzeichnis
Verfasst: Fr 15. Nov 2019, 15:04
Ich brauche ein Ihaltsverzeichnis, in dem das Inhaltverzeichnis selbst vorkommt und auch als Kapitel mitgezählt wird. Ich schaffe es zwar, das das Inhaltverzeichnis im Inhaltsverzeichnis auftaucht, aber es wird nicht mitgezählt und dementsprechend passt auch die nummerierung der folgenden Kapitel nicht mehr.
\documentclass[]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\addto\captionsenglish{%
\renewcommand{\contentsname}{Table of contents}}
\begin{document}
\pagenumbering{arabic}
\renewcommand\thechapter{\Roman{chapter}}
\ichapter{abstract}
\tableofcontents
\addcontentsline{toc}{chapter}
\chapter{nomenclature}
\renewcommand\thechapter{\arabic{chapter}}
\setcounter{chapter}{0}
\chapter{Introduction}
\chapter{Theory}
\chapter{Experiments}
\chapter{Conclusion}
\end{document}
\documentclass[]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\addto\captionsenglish{%
\renewcommand{\contentsname}{Table of contents}}
\begin{document}
\pagenumbering{arabic}
\renewcommand\thechapter{\Roman{chapter}}
\ichapter{abstract}
\tableofcontents
\addcontentsline{toc}{chapter}
\chapter{nomenclature}
\renewcommand\thechapter{\arabic{chapter}}
\setcounter{chapter}{0}
\chapter{Introduction}
\chapter{Theory}
\chapter{Experiments}
\chapter{Conclusion}
\end{document}