[Tex/LaTex] Table of contents title and author appear

tables

I'm having a problem with the table of contents, the title and the author appear in it and I can't manage to remove them.

\documentclass{llncs}
\pagestyle{plain}
\usepackage[utf8]{inputenc}  
\usepackage[T1]{fontenc}  
\usepackage{amsmath}
\usepackage[pdftex]{graphicx}  
\setcounter{tocdepth}{3}
\usepackage{array}

\begin{document}
\title{Title of the Document}
\author{Me}
\maketitle

\newpage
\tableofcontents

Can you help me? Thanks in advance

Best Answer

When I compile with \documentclass{article} instead it looks correct. Using llncs causes the title to appear in the toc.

This seems to be on purpose after checking the attached manual:

If you are the author of a single contribution you normally have no running heads and no table of contents. Both are done only by the editor of the volume or at the printers.

I suggest you either don't use the table of content at all or use another document class like article

Related Question