W3cubDocs

/LaTeX

\stepcounter

Synopsis:

\stepcounter{counter}

Globally adds one to counter and resets all counters numbered within it. (For the definition of “counters numbered within”, see \newcounter.)

This command differs from \refstepcounter in that this one does not influence references; that is, it does not define the current \ref value to be the result of \thecounter (see \refstepcounter).

© 2007–2018 Karl Berry
Public Domain Software
http://latexref.xyz/_005cstepcounter.html