This page's content is no longer actively maintained, but the material has been kept on-line for historical purposes.
The page may contain broken links or outdated information, and parts may not function in current web browsers.

Hypertext Help with LaTeX

\value

\value{counter}

The \value command produces the value of the counter named in the mandatory argument. It can be used where LaTeX expects an integer or number, such as the second argument of a \setcounter or \addtocounter command, or in

    \hspace{\value{foo}\parindent}

It is useful for doing arithmetic with counters.


See also Counters, Lengths
Go to LaTeX Table of Contents


Revised 9 May 1995.