\addtocounter

Command in package counter.

Synopsis

\addtocounter{counter}{number}

Description

Adds the number to the value of counter.

Example

\newcounter{foo}\setcounter{foo}{5}

foo = \value{foo}

\addtocounter{foo}{3}

foo = \value{foo}

Result, as rendered by your browser

foo = 5

foo = 8


This page is generated automatically and each change here will be replaced on a next update.

Add picture from clipboard (Maximum size: 500 MB)