\newcounter{newname}[oldcounter]
The \newcounter
command defines a new counter named
newname
. The optional
argument oldcounter
must be the name of an already defined
counter; if present the new counter, newname
, will be
reset whenever oldcounter
, the counter named in the optional
argument, is incremented.