[go: up one dir, main page]

Jump to content

TeX/count

From Wikibooks, open books for an open world
< TeX

Synopsis

[edit | edit source]
\count<number>=<integer>

Description

[edit | edit source]

<number> is an integer from 0 to 255. For each <number>, \count<number> is a register that can hold an integer value. A \count register can be set to <integer> with the above form.

Various arithmetic operations can be performed on the \count registers; see \advance, \multiply, and \divide.

Examples

[edit | edit source]

Uses of the \count registers include keep track of section and equation numbering.