# How to stop certain pages appearing in the TOC

I need to add a couple of pages at the front of my report that should not appear in the table of contents.

What is the best way to do this?

I thought that maybe I could write the section normally using \section etc and then remove it from the TOC manually? If so how can I remove it.

Another option would be to dispense with the \section command so that TOC has nothing to find. But the problem then is how to I ensure the header used on that page is consistent with the rest of the document?

Baz

• You want those \sections to be numbered or numberless? – U.Martinez-Corral Sep 21 '14 at 14:46
• \section*{This should not appear} will not appear – user31729 Sep 21 '14 at 14:46
• Yes those sections should be numberless and I don't want the section name to appear in the TOC – Bazman Sep 21 '14 at 14:47
• @Bazman: Then always use the starred version of the corresponding structuring command, i.e. \section*{Your section title} but this will lead to unnumbered sections in the text too! – user31729 Sep 21 '14 at 14:49
• Which document class do you use? – Mico Sep 21 '14 at 14:58

As the comments mention, use the starred version of \section:
\documentclass{article}