Re: Numbered vs. Unnumbered Sectioning

2006-06-29 Thread Helge Hafting

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


Re: Numbered vs. Unnumbered Sectioning

2006-06-24 Thread Jose' Matos
On Friday 23 June 2006 23:03, 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.

  I guess that is by design. :-)
  The start sections are to be used when you want to give emphasis to some 
part of your document but do not want it to show in TOC.

  Notice that koma class of layouts as a style called addchap, addsect and 
addpart that act as start section but show in TOC.

>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.

  You can use Document->Settings->Numbering and TOC to control this.

  You can use sections (and derived) without a number. By default only 
paragraph and subparagraph (level 4 and 5) are not numbered. You can easily 
change that there. Try it. :-)

> Just curious,
>
> Rich

-- 
José Abílio


Numbered vs. Unnumbered Sectioning

2006-06-23 Thread Rich Shepard

  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.

  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.

Just curious,

Rich

--
Richard B. Shepard, Ph.D.   |The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)|Accelerator
 Voice: 503-667-4517  Fax: 503-667-8863