##### 8.5.5.3 Numbering chapters, figures, and tables

The following settings configure the numbering properties of chapter, figure, and table titles.

Paragraph format definitions:

    [ChapterTitle]
    number = ChapterNum

    [FigureTitle]
    number = FigureNum

    [TableTitle]
    number = TableNum

Number format component definitions:

    [ChapterStream]
    counters = 8
    counter types = Num

    [ChapterNum]
    stream = ChapterStream
    counter = 1
    position = start
    form = <name/> <counter1/>.<tab/>

    [FigureNum]
    stream = ChapterStream
    counter = 6
    keep = 7 8
    form = <i><name/> <counter1/>-<counter6/> <tab/>

    [TableNum]
    stream = ChapterStream
    counter = 7
    keep = 8
    form = <i><name/> <counter1/>-<counter7/> <tab/>

In this example, all three formats are assigned to the same stream, and all three number series use Arabic numerals:

- ChapterNum has counter number 1. Because FigureNum and TableNum have counters with higher numbers, by default the numbering of FirgureTitle and TableTitle will be reset every time a new instance of ChapterTitle appears in the output.
- FigureNum has counter number 6. To prevent the numbering of TableTitle from being reset every time FigureTitle appears, FigureNum assigns the keep property to counter 7.
- TableNum has counter 7. To prevent the numbering of whatever format has counter 8 from being reset every time TableTitle appears, TableNum assigns the keep property to counter 8.

Previous Topic: 8.5.5.2 Modifying the appearance of numbers

Next Topic: 8.5.5.4 Specifying symbols for bulleted lists

Parent Topic: 8.5.5 Considering examples of numbering schemes

Sibling Topics:

8.5.5.1 Numbering ordered lists

8.5.5.2 Modifying the appearance of numbers

8.5.5.4 Specifying symbols for bulleted lists