Next: STOP   Previous: SECTIONREF   Contents: Contents

SEQ

Inserts the next value of a certain numerical sequence. Numerical sequences are all over there in typical documents, think of table numbers, image numbers and so on.

Optionally, the generated number can be made an anchor to reference it at another place.

Syntax

\SEQ{options}

Options

This tag supports various options. Several of them are optional and default to values mentioned in their descriptions.

type
This specifies the sequence the number shall belong to. If the specified string is not already registered as a sequence, a new sequence is opened. The first number in a new sequence is 1. If the sequence is already known, the next number in it will be supplied.
name
If passed, this option sets an anchor name. This makes it easy to reference the generated number at another place (by \REF or another referencing tag). The value of such a link is the sequence number. By default, no anchor is generated.

Body

No body is accepted. A used body will not be recognized as a tag body.

Notes

\SEQ is part of the basic tag set supported by all PerlPoint translators. The results may vary depening on the target format capabilities.

Example

Say "1, 2, 3":


  \SEQ{type=example}, \SEQ{type=example}, \SEQ{type=example}

Number an image and make the number referencable:


  \SEQ{type=images name="Blue sea"}

See also

More basic set tags: B, C, EMBED, FORMAT, HIDE, I, IMAGE, INCLUDE, LOCALTOC, READY, REF, STOP and TABLE.

Next: STOP   Previous: SECTIONREF   Contents: Contents