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

Next: \refstepcounter, Previous: \setcounter, Up: Counters [Contents][Index]

### 13.5 `\addtocounter`

Synopsis:

    \addtocounter{counter}{value

Globally increment counter by the amount specified by the value argument, which may be negative.

In this example the section value appears as ‘`VII`’.

    \setcounter{section}{5}
    \addtocounter{section}{2}
    Here it is in Roman: \Roman{section}.

Unofficial LaTeX2e reference manual