{counters} is about macro writing involving counters. For general questions about numbering document elements, use {numbering}.

learn more… | top users | synonyms

3
votes
0answers
143 views

Reproduce the beamer miniframes environment

I would like to reproduce the miniframes features of beamer, with the bullets per section even though it would concern the chapters per part. I need a counter counting the total number of chapters in ...
1
vote
0answers
31 views

macro for glossaries counter

I want custom my glossaries, and specially I want to have something like My glossary entry, its signification (see p. 1), if this entry mentioned only once or My glossary entry, its signification ...
1
vote
0answers
37 views

ExerciseSelect with counter as key

I would like to use ExcerciseSelect to choose some questions in order to create different assignments. I have more than 140 different questions. Ideally I would like to make something like student 1 ...
1
vote
0answers
65 views

Is there a counter or variable that can be used to store numbers with decimals?

I'm working on an invoice document which has a "Grand Total" at the end of the document after some rows of invoice items. As such, I need to keep a running count of the total for each row. Using the ...
1
vote
0answers
51 views

How to change imakeidx section title without breaking the .ind file creation?

I'm using a macro that messed around with the \section command, breaking \printindex in the process when using imakeidx. I'm pretty sure the problem lies about lines 252-253 in imakeidx.sty: ...
1
vote
0answers
55 views

Changing counters across and within sections

I am making a document with glosses (using package gb4e) and sections. The glosses correspond to certain numbers within certain chapters, but these chapters do not correspond to the sections I'm ...
1
vote
0answers
57 views

Increasing counter ten by ten in Tcolorbox… and refer good?

I'm writing a book of probability in arabic, using polyglossia, and I want to increase the counter of some of my boxes ten by ten (the cause of this is that the arabic letters are numeroted with ...
1
vote
0answers
85 views

Counter in fancyhdr not matching body

I'm trying to set a counter that says "x of 3" at the right header where x increments based on when I use \pgroup. However it shows "2 of 3" on the first page and then "3 of 3" on the second and third ...
1
vote
0answers
147 views

How do I Auto-Label Hyperref Fillable Forms \TextField?

Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this: \newcounter{lexemeCounter} ...
0
votes
0answers
23 views

How to expand the countername before calling \newconter or \addtocounter

I need to do the following \newcounter{problem\theenumi} Clearly, enumi changes with time, but the counter name must be fixed NOW! So, for example, even after \end{enumerate} I should have access ...
0
votes
0answers
28 views

Figure numbering without section number, problem with subfigure

My requirement is as per the sequence number of the figures a document e.g. 2 (a) 2 (b), but the number is showing 5.3 5.3 9repeated), as it is written in 5th section.
0
votes
0answers
37 views

General advice on how to manage references between multiple files

I need to cut my .tex files into several files, and to compile each file separately. I will need to do some work to ensure that the references and the counters work well. Before starting this work, I ...