Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

So basically I want to create a Table of Contents in my latex document (class - article). But I don't want the first half sections to be printed. For examples, suppose there are four sections in my document - Section 1, Section 2, Section 3 and Section 4. Then I want my TOC to look like this

  1. Section 3 -- pagenumber

  2. Section 4 -- pagenumber

While I want to retain the section number and names in the main text.


share|improve this question
Welcome to TeX.SX. Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Christian Hupfer Jul 28 '14 at 21:56
\section*{First section} etc should do for not appearing in the TOC. –  Christian Hupfer Jul 28 '14 at 21:57

1 Answer 1

Depending on the request, there are some possibilities:

\section*{Title} ---> No toc entry at all

\section[]{Title} ----> No toc entry, but numbered section




\section*{First -- not in TOC}%
\section*{Second -- not in TOC too}%

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.