23

How do I get a sub \subsection{title} I choose not not appear in the ToC and not interfere with the counting of the other \subsection's?

  • 1
    Use the starred version \subsection*{title}. – Gonzalo Medina Jun 8 '12 at 0:25
  • 5
    be aware that, while \subsection* always suppresses the numbering, whether or not it also suppresses an entry from the toc depends on what document class you're using. ams classes include starred (sub)sections in the toc, and other tactics are needed. see the question fix-for-amsart-cls-tableofcontents-bug-regarding-starred-sections for details. – barbara beeton Jun 8 '12 at 16:43
22

You can use the starred version of the sectioning command; this suppresses the numbering, the inclusion in the ToC and the updating of marks for possible header/footers:

\documentclass{article}

\begin{document}

\tableofcontents

\section{Test section}
\subsection{Test subsection one}
\subsection*{Unnumbered subsection}
\subsection{Test subsection two}

\end{document}

enter image description here

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.