[Counters] Finish up, add docs for them

This commit is contained in:
2025-10-18 13:27:45 +02:00
parent 94884a3646
commit c8a2209999
5 changed files with 45 additions and 15 deletions

View File

@@ -46,8 +46,17 @@
% Set the current number of a label
\newcommand{\setLabelNumber}[2]{
\setcounter{#1}{#2}
\addtocounter{#1}{-1}
\setcounter{#1ss}{#2}
\addtocounter{#1ss}{-1}
\setcounter{#1sss}{#2}
\addtocounter{#1sss}{-1}
}
\newcommand{\stepLabelNumber}[1]{
\stepcounter{#1}
\stepcounter{#1ss}
\stepcounter{#1sss}
}
\newcommand{\printcounter}[1]{%