\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}.

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