TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I rid of number of a section in the way that it still would be in the table of contents.

If I use


then I see this section name in table of contents as

 1 SN1
 2 SN2
 3 SN3

If I use


I don't see it in the content:

 1 SN2
 2 SN3

How to get in content just

 1 SN2
 2 SN3


share|improve this question
\section*{SN}\addcontentsline{toc}{section}{SN} – Gonzalo Medina Sep 6 '12 at 13:04

In case you want to suppress the numbering of sections (and subsections, etc) globally in the body of the document but still have them show up in the Table of Contents automatically, the easiest way to do so is to issue the command


in the document's preamble. (The depth of a section-level command is "1", that of a subsection is "2", etc.) The following MWE illustrates how this would work; the two section-level and two subsection-level headers are unnumbered in the body of the text but show up automatically in the ToC:


\subsection{Good morning}
\subsection{Good evening}
share|improve this answer
Keep attention, please. I asked about sectiON, not sectionS. I need only specific sections disnumbered. – klm123 Sep 6 '12 at 20:29

Your Answer


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

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