Previous: , Up: Customizing LaTeX   [Contents][Index]


10.1.6 Section numbering schemes

The FWEB commands ‘@*’ and ‘ are translated by complicated magic into LaTeX commands such as \section, \subsection, etc. By default, use of \documentclass{article} then produces Dewey-decimal section numbers such as 2.13.4 (subsubsection 4 of subsection 13 of section 2). When the section tree is very deep, these numbers can look somewhat obtrusive.

An alternative scheme (that of the original WEB) is to merely number each section in ascending integer order, beginning with 1. This can be done by specifying the package fwebnum, as in

LaTeX.package = "fwebnum"

This package is supplied with the FWEB distribution; it is still somewhat experimental.

By default, fwebnum numbers all sections, including unnamed ones. To prohibit numbering of unnamed sections, use the package option dontnumberunnamed, as in

LaTeX.package.options = "dontnumberunnamed"

This option will eventually make \numberTeX obsolete; do not use \numberTeX in conjunction with fwebnum.