B.4 | Sectioning

- Sectioning commands
- The Appendix
- Table of Contents

B.4.1 | Sectioning commands

Sectioning commands from `\part` down to `\subparagraph` are defined in base style files. They accept an optional argument and have starred versions.
The non-starred sectioning commands from `\part` down to `\subsubsection` show section numbers in sectional unit headings, provided their level is greater than or equal to the current value of the `secnumdepth` counter. Sectional unit levels and the default value of the `secnumdepth` counter are the same as in LATEX. Furthermore, given a sectional unit secname, the counter secname exists and the appearance of sectional units numbers can be changed by redefining `\the` secname. For instance, the following redefinition turn the numbering of chapters into alphabetic (uppercase) style:

    \renewcommand{\thechapter}{\Alph{chapter}}

It is not advised to put anything else than a section title inside a sectioning command argument (no `\label`, no `\index`...).

B.4.2 | The Appendix

The `\appendix` command exists and should work as in LATEX.

B.4.3 | Table of Contents

HEVEA does not generate a table of contents. As a consequence, all table of contents related commands such as `\tableofcontents` or `\addcontentsline` do nothing.
However, a later run of HACHA on HEVEA output file splits it in smaller files organized in a tree whose nodes are tables of links. By contrast with LATEX, starred sectioning commands generate entries in these tables of contents. Table of content entries hold the optional argument to sectioning commands or their argument when there is no optional argument. Section 7 explains how to control HACHA.
There is no list of figures nor list of tables.