[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
Syntax:
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 may be a better alternative when creating a complex numbered list. end note]
identifier is the name assigned to the series of items that are to be numbered. [Example: identifier might be Equation, Figure, Table, or Thing, as the user deems appropriate for a caption. end example] identifier shall start with a Latin letter and shall consist of no more than 40 Latin letters, Arabic digits, and underscores. (See the TOC field (§2.16.5.75) switches \c and \s for uses of identifier.)
text in field-argument specifies a bookmark name that refers to an item elsewhere in the document rather than in the current location.
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 |
Inserts the next sequence number for the specified item. This is the default. |
\r field-argument |
Resets the sequence number to the integer number specified by text in this switch's field-argument. |
\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 \* roman
SEQ Figure \n
SEQ Figure \c : …
SEQ Figure \h : …
SEQ Figure
SEQ Figure \r 1
SEQ Figure
the results are:
Figure 1
Figure ii
Figure 3
Figure 3: …
Figure : …
Figure 5
Figure 10
Figure 11
end example]