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

This question already has an answer here:

Does anybody know how to eliminate the numbering only in sections D and E, whereby the title itself for the Section D or Section E should start exactly at the beginning of the line? Additionally, the section numbers should not appear within the table of contents and should start exactly at the beginning of the corresponding line. Thanks in advance!


\section {Section A}
\section {Section B}
\section {Section C}
\section {Section D}
\section {Section E}
share|improve this question

marked as duplicate by karlkoeller, lockstep, egreg, Martin Schröder, Thorsten Aug 12 '13 at 9:24

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

do you mean \section*{Section D}? – cmhughes Aug 12 '13 at 7:58
@cmhughes exactly, I've tried it, and the chronological number disappears, that's what i wanted to have, but after doing so, both sections are not shown within the table of contents any more, any idea? – ajafarov Aug 12 '13 at 8:13

You can also use \setcounter{secnumdepth}{0} to get rid of numbers:


\section{Section A}
\section{Section B}
\section{Section C}
\setcounter{secnumdepth}{0} %% no numbering
\section{Section D}
\setcounter{secnumdepth}{1} %% Start numbering again
\section{Section E}

share|improve this answer
Thank you very much! – ajafarov Aug 12 '13 at 11:28

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