Rich Shepard wrote:
Why is it that numbered sectioning commands appear both in a
ToC and on the fancy headers, but their unnumbered versions don't? I know
this is a LaTeX action, but I'm wondering why it's this way.
That's the way the standard latex classes are! Only the numbered types
get in the TOC and the running headers. The numbers may be
turned off though.
I can see unnumbered sections in the frontmatter of a book or
report, but
to not have headers with the sectioning titles? And articles -- at
least in
the science fields in which I am most familiar -- have sections, but
they're
not numbered. Yet the running heads reflect the page's section.
Go into Document->settings->Numbering&TOC.
You have two sliders there. One decides to what level your
sectioning appear in the TOC. The other decides to what level
your sectioning is numbered. Either slider affect only the "numbered"
types (I.e. section,subsection,..., not section*,subsection*,...)
So, you can have unnumbered sectioning by moving the "numbering"
slider all the way to the left. Use the unstarred forms of
section,subsection,... which now will be unnumbered, but they will still
appear in the TOC and the running headers.
The starred forms are always unnumbered, and are meant for use
when you want some unnumbered headings in an otherwise
numbered document. Apparently, Lamport decided such headings
was not important enough to get in the TOC.
If you have a document with numbered sections and want an unnumbered
section to appear in your TOC & running headers, use the "Addsec"
type instead of "section*". This one is only available in
the koma-script classes.
Alternatively, if you can't use koma-script, use latex commands
like \addcontentsline and \leftmark or \rightmark to force
the unnumbered section name into TOC and running header.
Helge Hafting