Numbering tweak

This commit is contained in:
2024-02-10 21:03:16 -08:00
parent 33e69a13d4
commit d661051b0f
7 changed files with 27 additions and 14 deletions

View File

@ -576,6 +576,16 @@
\IfNoValueF{#2}{\@customlabel{#2}{#1}}
}
% Problem-counter generic object.
% Same format as \problem, \theorem, etc, but has a counter.
\NewDocumentCommand{\cgeneric}{ m d<> }{
\stepcounter{\@problemcounter}
\par
\vspace{3mm}
{\bf\normalsize #1 \arabic{\@problemcounter}:} \\*
\IfNoValueF{#2}{\@customlabel{#2}{#1}}
}
% Make a new section type.
% Args: command, counter, title.
\newcommand\@newobj[3]{