The table of content, list of figures, list of tables all shows nothing!
Hello there, please help with this issue. I've compiled more than twice. There shows no error. My code is as follows:
\documentclass[12pt]{llncs}
\usepackage[table]{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{bm}
\usepackage{graphicx}
\usepackage{float}
\usepackage{bbm}
\graphicspath{{images/}}
\usepackage{exscale,latexsym}
\usepackage{epic}
\usepackage{setspace}
\onehalfspacing
\usepackage[flushmargin]{footmisc}
\usepackage[ngerman, english]{babel}
\usepackage[small]{caption}
\usepackage{graphpap}
\usepackage{rotating}
\usepackage{wasysym}
\usepackage{multirow}
\usepackage{acronym}
\usepackage{array}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\usepackage[a4paper, lmargin=6cm, rmargin = 2cm, tmargin = 3cm, bmargin = 3cm]{geometry}
\usepackage{mathptmx}
\setcounter{secnumdepth}{4}
\usepackage{fancyref}
\begin{document}
\begin{titlepage}
\end{titlepage}
\tableofcontents
\newpage
\pagenumbering{Roman}
\setcounter{page}{1}
\addcontentsline{toc}{section}{List of Figures\vspace{0pt}}
\listoffigures
\addcontentsline{toc}{section}{List of Tables\vspace{0pt}}
\listoftables
\newpage
\section{Table of Abbreviations}
\section{Table of Symbols}
\end{document}
Thank you very much!!
\documentclass
and ends with\end{document}
. Do you compile twice?amssymb
package, there can be no justification for loading the deprecatedlatexsym
package as well. And, since you're loading thegraphicx
package, there can be no justification for loading theepsfig
package. Next, since you load thesetspace
package and execute\onehalfspacing
, running\renewcommand{\baselinestretch}{1.5}
can only be counterproductive. Finally, don't load packages more than once.tocdepth
is 0 by default inllncs
. See my answer below for more explanationsllncs
has\setcounter{tocdepth}{0}
-- Springer journals/books guidelines apparently demand that structure levels below chapter should not appear in the ToC. So if this should be a submission to Springer, changingtocdepth
will be rejected, eventually (Don't ask me why Springer designed it this way, however)