The .section command produces automatic section numbering and formatting.
Syntax
section {sec.number} title.text |
Synonym(s)
.sec |
Parameter(s)
sec.number |
Indicates the section number. If not specified, the default is 1. Section numbers are sequentially incremented within levels. |
title.text |
Title of the section. |
When a section number is encountered, the section number and title text are output. The section number and title text are recorded in the table of contents.
NOTE |
Section numbering can be suppressed using the .set section command. |
See Also
.print ptoc Command, .print toc, .set section, Output Processor Commands, Output Processor Overview