Is there a way to include starred (unnumbered) sections in the TOC? In a lot
of books you see things like preface and list of figures in the TOC, not so
in my case. What am I doing wrong?
Thanks, Jeroen
\addcontentsline is the standard way to include starred sections
into the TOC.
But you ask too specific a question. If you asked how to have
unnumbered sections in the TOC, I would have told you about
\frontmatter and \backmatter in \documentclass{book}, and
the counter "secnumdepth".
Donald Arseneau as...@triumf.ca
\addcontentsline{toc}{section}{\numberline{}Sectionname}
does the trick quite nicely, and AFAIK is the only way to do it, you can
change {section} to {chapter} for chapters etc.
--
Geoffrey Swindale
---------------------------------------------------------
Truth is rarely pure, and never simple
One way is to not bother with starred sections but use the tocvsec2
package which gives you independent control, at any points in your
document, over what gets numbered and what gets listed in the ToC.
Peter W.
peter.r...@boeing.com