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

learn more… | top users | synonyms

1
vote
2answers
27 views

Dynamic chaptername wrong in tableofcontents

I want to print my appendix-titles with the prefix "Appendix A: [some title]" , "Appendix B: [some other title]" ... . I used the following defined commands (runnable tex-document at the end): ...
3
votes
0answers
77 views

Need index to display custom description environment item name

I am trying to accomplish something like in this question and this question. I have several authors contributing solutions to problems that are numbered using an externally imposed scheme, which I ...
3
votes
0answers
148 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
33 views

Two different counters in chemnum package

Is there any possibility to use two independent counters within the chemnum package? I would like to label (by replacing the tags in my .eps file) substances in reactions and steps in catalytic cycles ...
1
vote
0answers
58 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
47 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
94 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
69 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
75 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 ...
0
votes
0answers
22 views

Created counter ist counting twice (sometimes)

I wanted to create a couter to count additional chapters (appendix of the thesis). \newcounter{anhangCount} \setcounter{anhangCount}{0} \DeclareRobustCommand{\anhangPraeFix}{ Anhang ...
0
votes
0answers
15 views

Is it possible to call/reference sagetex within a latex command?

I'm doing a few projects in which it would be very helpful to get some numbers from a sagetex environment, and then directly using them within latex. I know Latex isn't great at storing ...
0
votes
0answers
66 views

Beamer: transparency of a picture on section frame depending of section number

I'm a new Beamer user. The following code is there just to explain what I intent to do: Put on the "sectionpage" frames a picture with transparency, the transparency level being function of the ...