17.16.5.56 SEQ

identifier [ field-argument

]

[ switches ]

Description: Sequentially numbers chapters, tables, figures, and other user-defined lists of items in a document. If an item and its SEQ field are added, deleted, or moved, updating the remaining SEQ fields in the document reflects the new sequence. A SEQ field in a header, footer, annotation, or footnote shall not affect the sequence numbering that results from SEQ fields in the document text.

[Note: The LISTNUM field also produces automatic numbering and can be a better alternative when creating a complex numbered list. end note]

Field Value: The next number in the sequence.

Switches: Zero or one of the numeric-formatting-switches, or zero or more of the following field-specific- switches. If no numeric-formatting-switch is present, * Arabic is used.

\c

Repeats the closest preceding sequence number. [Note: This is useful for inserting chapter numbers in headers or footers. end note]

\h

Hides the field result unless a general-formatting-switch is also present.[Note: This switch can be used to refer to a SEQ field in a cross- reference without printing the number. end note]

\n
\r
\s

Inserts the next sequence number for the specified item. This is the default.

Resets the sequence number to the integer number specified by text in this switch’s field-argument.

Resets the sequence number to the built-in (integer) heading level specified by text in this switch’s field-argument.

[Example: When the following fields are updated:

SEQ Figure
SEQ Figure
SEQ Figure
SEQ Figure
SEQ Figure
SEQ Figure
SEQ Figure
SEQ Figure
  \* roman
  \n
  \c : …
  \h : …
  \r 1

the results are:

Figure 1
Figure ii
Figure 3
Figure 3: …
Figure : …
Figure 5
Figure 10
Figure 11

end example]

Syntax:

Last updated on