Output Processor

.section command (Output processor)

.md

The .section command produces automatic section numbering and formatting.

Synonyms.sec

Syntax

section {sec.number} title.text

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