I am writing a report using lncs package. In my table of contents, the title of the page and author's name is also appearing. How do i remove this?
\title{Evaluation of xyz}
\author{Alina}
\institute{University}
\setcounter{tocdepth}{3}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\tableofcontents
Above is the code I have written and in the picture you could see the result. I want to remove the title & author from table of contents and start it from introduction.
Best Answer
This will do the job:
Note: The title is added to table of contents via
\addcontentsline{}{}{}
command in the definition of\maketitle
ofllncs
class file. Hence, if you need to remove it, I have stored the definition of\addcontentsline
to a temporary control sequence\oldaddcontentsline
using\let
. After\maketitle
, the original definition is restored.Edit: An easy alternative solution is to redefine
\addcontentsline
within a group for\maketitle
: