Skip to main content

Questions tagged [counters]

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

2 votes
1 answer
64 views

This is a continuation of my previous question on manually increasing the theorem counter. So I was able to manually increase and then access the theorem counter, but I am not able to make reference ...
underflow's user avatar
  • 1,099
0 votes
1 answer
31 views

For various reasons I need to access the theorem counter, increase it by once manually, and then continue with the normal counter. Here is a minimal NON-WORKING example to show what I have in mind: \...
underflow's user avatar
  • 1,099
1 vote
0 answers
48 views

I defined -through trial and error- some tcolorbox environments for my definitions and theorems. I used a "main_counter" because I wanted the same counter for both this custom environments ...
antizanzare's user avatar
7 votes
2 answers
149 views

I am new to Expl3 and would like to be able to use a counter by retrieving its name dynamically, performing this operation within a user command for other stuff. I am unable to display the counter ...
Jean-Louis Brabant's user avatar
0 votes
1 answer
52 views

I want the theorem numbering "depth" to be modifiable during the document. How do I do this? In other words, I want to switch between the effects of \newtheorem{theorem}{Theorem}[section] ...
John Pardon's user avatar
0 votes
0 answers
42 views

Related to question without an answer Defining chapter in LaTeX under amsart, I know that amsart class haven't a \chapter command. To write a chapter I use the enviroment center, like the example ...
Sebastiano's user avatar
  • 66.8k
2 votes
1 answer
40 views

I'm trying to create a new LaTeX environment, let's call it algprocedure, for typesetting procedures. I want it to look and feel exactly like the algorithm environment from the algorithm2e package, ...
pchappy's user avatar
  • 135
0 votes
1 answer
42 views

I am using the dialogue package to write numbered dialogues. I have created a command with counters to automatically increment the numbers of the dialogue. I want to know whether there is any way to ...
Damitr's user avatar
  • 2,159
0 votes
0 answers
38 views

I'm currently pulling together the rules for a boardgame and its expansion modules using Lyx. To be consistent with the actual rule documentation, I've made a local layout to change the font and ...
Archie Reed's user avatar
4 votes
2 answers
319 views

I am preparing a template for a question paper in which the syllabus units are indicated alongside each question. Subsequently, I would like to generate a table showing the number of questions and the ...
Subhajit Paul's user avatar
2 votes
1 answer
48 views

In beamer I am not a fan of how the [allowframebreaks] works. I would like the counter, instead of being in roman numerals, to count (1/n), (2/n), ..., (n/n). Is there a way to impliment this? Here is ...
Mathematical Dummy's user avatar
0 votes
2 answers
134 views

I'm trying to replicate the layout of a script I found nice to read and look at. However, even after extensive research (and asking available AI tools), I just couldn't find any package or MWE to ...
abelsch_034's user avatar
4 votes
2 answers
187 views

I know now that the code I am including here is the wrong way to save the output of a macro because expansion comes before function evaluation (so now I am doing something completely different), but I ...
haileyjay's user avatar
3 votes
2 answers
203 views

I've got some theorems in my paper that I state, and then later in the paper state a variant of them. I like the variant theorems to have the same numbering as the original, but with a prime after it....
Andy Putman's user avatar
2 votes
1 answer
113 views

I'm using \paragraph as a way to have some \subsubsubsection. They should appear as: A) something B) some other thing Instead, each time I use \paragraph I only get an A). Can someone help me ...
Marta B.'s user avatar

15 30 50 per page
1
2 3 4 5
102