This section describes the sectioning commands for articles, reports,
books and for plainhtml. The document type manpage defines its own
sectioning commands which are described in section ??.
part(title): Starts a new part. Only available in book
documents.
chapter(title): Starts a new chapter. Only available in book
or report documents.
sect(title): Starts a section.
subsect(title): A subsection.
subsubsect(title): A sub-subsection.
subsubsubsect(title): An even smaller sectioning command.
The macros generate entries in the table of contents and use numbering, which
means that each section is prefixed with a number (1, 1.1, 1.2, and so on).
The macros are also available with an n prefix (npart, nchapter,
nsect etc.) which generate neither entries in the table of contents nor
numbers. The n-versions can be used in, e.g., an article where you only
want to use the sectioning commands to set captions, but aren't interested in
numbering.
The sectioning should start at the top level sections of the available
document: chapter for reports, sect for articles, etc.. If you start a
document with a lower sectioning command (e.g., when you start an article with
a subsect), the numbering of sections may go haywire. The only exception
to this rule is the part of a book document: parts are optional, in
books, chapters may be the top sectioning commands.
Summarized, in a book or report you should start at least with a
chapter. In an article you should start with a section.
The sectioning commands have a further function: when label statements
appear after the sectioning command, then a label name is used as a
placeholder for the last generated number. This is further described in
section ??.
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to (address unknown)
Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.