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.

• Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Runar Jul 6 '16 at 7:02
• When publishing with Springer, changing the layout is not your decision. If not publishing with Springer, why use their style at all? It will just give you troubles. – Johannes_B Jul 6 '16 at 8:58

This will do the job:

\documentclass{llncs}
\usepackage{lipsum}

\title{Evaluation of xyz}
\author{Alina}
\institute{University}
\setcounter{tocdepth}{3}
\begin{document}
\maketitle

\begin{abstract}
\end{abstract}
\tableofcontents
\section{Introduction}
\lipsum
\end{document}


Note: The title is added to table of contents via \addcontentsline{}{}{} command in the definition of \maketitle of llncs 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:

\documentclass{llncs}
\usepackage{lipsum}

\title{Evaluation of xyz}
\author{Alina}
\institute{University}
\setcounter{tocdepth}{3}
\begin{document}

• I don't think you need to store and restore the command. Just put it within {} and it will keep it local. like this: {\let\addcontentsline\relax \maketitle} – Runar Jul 6 '16 at 7:16
• @RunarTrollet Yea. I missed that :-) Will that work if it is relaxed? You need to \@gobble it. – Jagath Jul 6 '16 at 7:19
• @JagathAR No, \relax will work just fine. \@gobble I think would be dangerous here, as it only throws away one argument. I am not quite sure, though. see tex.stackexchange.com/questions/85796/… – Runar Jul 6 '16 at 7:29