Ich kann das Inhaltsverzeichnis nicht zum Laufen bringen. Ich erinnere mich, dass es vorher funktioniert hat, aber ich habe irgendetwas getan (ich kann mich leider nicht erinnern, was es war) und danach hat das Inhaltsverzeichnis einfach nicht mehr funktioniert.
Hier ist ein Auszug aus meinem Dokument:
\documentclass[deutsch]{llncs}
\usepackage{graphicx}
\usepackage[labelformat=empty]{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}
\bibliographystyle{unsrt}
\pagestyle{headings}
\begin{document}
\sffamily
\begin{titlepage}
%Some stuff here
\end{titlepage}
\thispagestyle{headings}
\tableofcontents
\newpage
%more stuff here blablabla
\section{test}
\subsection{test2}
\end{document}
Antwort1
Die Klasse setzt tocdepth auf 0, daher hätte Ihr Beispiel nie funktioniert. Sie können die Tiefe ändern:
\documentclass[deutsch]{llncs}
\usepackage{graphicx}
\usepackage[labelformat=empty]{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}
\bibliographystyle{unsrt}
\pagestyle{headings}
\setcounter{tocdepth}{5} %show more in the toc
\begin{document}
\sffamily
\begin{titlepage}
%Some stuff here
\end{titlepage}
\thispagestyle{headings}
\tableofcontents
\newpage
%more stuff here blablabla
\section{test}
\subsection{test2}
\end{document}