4
votes
Accepted
Package caption incompatibility: biblatex citecounter double-counts references inside table captions
The content of the caption is processed twice because of the singleline check.
You can either disable the check:
\captionsetup{singlelinecheck=false}
or disable the citetracker during the check. ...
4
votes
Accepted
How do I change the name for a clone of enumerate using enumitem and cleveref?
When you create a new list using enumitem, it creates a set of counters for that list depending on the number of levels you choose. So in your particular case, you defined the list using:
\newlist{...
2
votes
Accepted
Multiple footnotemarks inside display math mode
Well footnote links between \footnotemark and \footnotetext are difficult ;-). As soon as you have a row of \footnotemark hyperref loose track of the names.
You can try it with a sort of explicit ...
1
vote
Accepted
Creating a Custom Environment with Boxed Text and Attached TikZ Drawing
Do you want something like this?
\documentclass{article}
\usepackage{tcolorbox}
\tcbuselibrary{skins}
\usepackage{tikz}
\definecolor{beige}{HTML}{F2ECD8}
\definecolor{grn}{HTML}{7AA999}
\definecolor{...
1
vote
Printing the value of a counter (that is indexed by another counter) before it is set
After fixing the errors (#1 should be ##1 twice and \fruits has to receive a definition in the preamble), the .aux file shows
\relax
\expandafter\ifx\csname c@fruitcounter3@totc\endcsname\relax\...
1
vote
Accepted
Printing the value of a counter (that is indexed by another counter) before it is set
The main issue related to the use of \newtotcounter is essentially one of expansion. You want to expand \thefruitshop before passing it to \newtotcounter.
There are some other issues with your code ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
counters × 1400numbering × 172
cross-referencing × 144
macros × 134
sectioning × 85
environments × 80
hyperref × 70
tables × 65
beamer × 63
theorems × 60
table-of-contents × 49
enumerate × 47
labels × 41
tcolorbox × 37
tikz-pgf × 36
expansion × 36
page-numbering × 34
floats × 33
equations × 33
conditionals × 32
lists × 30
chapters × 27
formatting × 25
enumitem × 25
loops × 25