\newcounter


\newcounter{foo}[counter]

The \newcounter command defines a new counter named foo. The optional argument [counter] causes the counter foo to be reset whenever the counter named in the optional argument is incremented.

\newcounter{foo}[citac]

Prikaz \newcounter definuje novy citac se jmenem foo. Nepovinny argument citac urcuje, kdy bude citac foo resetovan. Reset nastane vzdy po zmene hodnoty uvedeneho citace.

See also

Souvisejici temata