# How do I include a \section*{} in a \tableofcontents? [duplicate]

Possible Duplicate:
Centering \section* and adding them to the ToC

I've got something like

\documentclass{article}
\begin{document}
\tableofcontents
\section{First Step}
\section{Second Step}
\end{document}


How do I retain the format of \section*{...} yet still show the section in the table of contents?

-
Possible duplicate: Centering \section* and adding them to the ToC –  Werner Jun 7 '12 at 5:04

## marked as duplicate by Werner, topskip, percusse, Paulo Cereda, Martin Scharrer♦Jun 7 '12 at 10:46

Use \addcontentsline to add the section* to the TOC:

## Code:

\documentclass{article}
\begin{document}
\tableofcontents

\section{First Step}
\section{Second Step}
\end{document}

-
The whole point of a \section* is not affecting running headers and table of contents. In this case, this means that "About this Article" and "About this Author" will be be given running headers of "Table of Contents". So the main question here appears to be "Do you know what you are doing?".
The KomaScript classes offer \addsec commands for creating unnumbered but otherwise identical sectional commands.
It seems that there has been a miscommunication. I was only suggesting removing the comment So the main question here appears to be "Do you know what you are doing?" I was not suggesting you delete the answer. There is no problem in answering a question with recommending that they not do something. BTW, there is NO down on this answer that I can see. Not sure how much rep you need to see the up/down votes. –  Peter Grill Jun 7 '12 at 5:53