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

learn more… | top users | synonyms

0
votes
1answer
72 views

Theorem numbering as subsections and automatic solutions

I have a problem environment where the counter is coupled to the subsection counter. However this doesn't work with automatic solutions. I tried to couple the solutions counter to the subsections as ...
3
votes
0answers
154 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 ...
2
votes
0answers
49 views

Bar graph with elements from the document

In my document, I define some elements which all have a number (from 1 for the first to n for the last one) and a level (1, 2 or 3). At the end of the document, I'd like to create a bar-graph with ...
2
votes
0answers
66 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 ...
2
votes
0answers
111 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 abjad,...
1
vote
0answers
48 views

Problem in combination of longtable and stepcounter{rowcount}

I am making a longtable consisting of 3 columns: linenumber of the text in the table, column with a short abbreviation and a column with possible a lot of text. Since the third column contains a lot ...
1
vote
0answers
33 views

How to properly use a counter value in zref command

I am trying to expand on the answer to this question in order to automatize the creation of position markers with zref. I guess I am missing some important knowledge about how counters are printed. ...
1
vote
0answers
89 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: \def\...