Next: , Previous: \usecounter, Up: Counters


13.3 \value{counter}

Synopsis:

     \value{counter}

The \value command produces the value of counter. It can be used anywhere LaTeX expects a number, for example:

     \setcounter{myctr}{3}
     \addtocounter{myctr}{1}
     \hspace{\value{myctr}\parindent}