I have several section* 's in my LaTex text. But I only want the first one (abstract) to appear in the list of contents, although without a number. All the other section* 's are just a few subheadlines which should not appear anywhere and also don't have a number so far, which is good. Is there any exception regulation for this case only?

  • 1
    \addcontentsline{toc}{section}{Abstract} – Steven B. Segletes Jan 31 '14 at 12:19
  • Which documentclass? If you use KOMA you can use \addsec – Marco Daniel Jan 31 '14 at 12:19
  • Are you sure you want to use \section* and not something like \paragraph? – Dror Jan 31 '14 at 12:20

KOMAscript solution:


This is my abstract
\section{First section}
This is my text.

In older versions of KOMAscript and with other document classes you’d probably have to use \addcontentsline instead of \addxcontentsline (note the x), or load \usepackage{tocbasic}. As far as I know the only difference is whether the option numberline is supported for unnumbered TOC entries.

Other than that this answer has been given before.


You can also try something like this:




\section*{First Section}

\section*{Second Section}


Which has this output:

enter image description here

  • Yes, this works, but I want to have all the other section* 's I used so far not to do the same, like they should not be in the list of content. So it's just for this one exception! – UserSoUndSo Jan 31 '14 at 15:14

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