\stepcounter (LaTeX2e unofficial reference manual (November 2018))

Next: \day & \month & \year, Previous: \refstepcounter, Up: Counters [Contents][Index]

### 13.7 `\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 — it does not define the current `\ref` value to be the result of `\thecounter` (see \refstepcounter).

Unofficial LaTeX2e reference manual