New answers tagged counters
2
votes
Counter in newcommand does not reset and strange counter increment in tabularray
Here are the solutions from the comments:
To deal with the tblr, just use \UseTblrLibrary{counter}
I made a mistake when declare the new counter. It should be \newcounter{ArabicCount}[RomanCount] ...
1
vote
Create new counter and give it a specific value
The lastpage package does \gdef\lastpage@lastpage{??}, but if you want to use it for computations,
\usepackage{lastpage}
\makeatletter
\gdef\lastpage@lastpage{1}
\makeatother
sets it to one and at \...
Top 50 recent answers are included
Related Tags
counters × 1473numbering × 181
cross-referencing × 152
macros × 136
environments × 89
sectioning × 88
hyperref × 74
beamer × 69
tables × 68
theorems × 67
enumerate × 50
table-of-contents × 49
labels × 45
tcolorbox × 42
expansion × 38
tikz-pgf × 37
floats × 37
page-numbering × 35
conditionals × 34
equations × 33
lists × 30
formatting × 28
chapters × 28
enumitem × 28
loops × 25