1

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

4
  • Could you share the code you use to create the title and the code to create the table of contents with us? You can click on "edit" on your question to add it. – Nijin22 Jun 10 '16 at 10:57
  • Sure, here it is – TheDahaka Jun 10 '16 at 11:04
  • 1
    Welcome to TeX.SE! May I ask why you use the Springer Multiauthor Volumes Class for your document? Is this class obligatory for your document or did you choose it on your own? – Stefan Braun Jun 10 '16 at 11:27
  • Yes, I need to use this template for my internship report – TheDahaka Jun 10 '16 at 11:33
1

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

2
  • Ok thanks, actually I must use this template for my internship report, but I might remove the table of contents then – TheDahaka Jun 10 '16 at 11:34
  • Great! In this case your instructor probably wants the report without a ToC. If this answered your question, could you click the green checkmark on the left to mark it as "answered my question"? – Nijin22 Jun 10 '16 at 11:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.