Questions tagged [numbering]
{numbering} is about numbering document elements. Use this tag in addition to other tags specifying what should be numbered (or have its number removed). For {page-numbering} or {line-numbering}, use the respective tag instead.
3,753 questions
2 votes
1 answer
40 views
How to make text box in a line with circled number in it?
I want to create a text box with circled number in it, that is aligned in a straight line with the text, as shown in the picture above. I have tried different methods, but the box always appears ...
0 votes
2 answers
38 views
Referencing of imported figure code only identifies last occurrence
I use a file once in every chapter, so I call it Laboratory Notebook.tex: \subsection{Laboratory Notebook} \begin{figure}[H] \centering \includegraphics[height=2cm]{images/Laboratory notebook} \...
3 votes
2 answers
198 views
How can I reference specific exercise numbers in solutions that appear after all exercises?
Here's a minimal reproducible example: \documentclass{article} \usepackage{fancybox} \usepackage{pifont} \usepackage{xcolor} \usepackage{amsthm} \definecolor{solutiongreen}{RGB}{34,139,34} % Counter ...
2 votes
1 answer
92 views
Numbering equation
I would like to obtain equations, of different lengths, aligned as the environment align but numbered as follows Eq1 1. Eq2 2.a Eq3 2.b Eq4 3. Eq5 4. Eq6 ...
2 votes
1 answer
79 views
Changing page numbers [duplicate]
I am trying to get specific page numbers on a document, and have tried: \documentclass{article} \usepackage{lipsum} \begin{document} \setcounter{page}{7} \pagenumbering{roman} \lipsum[1-20] \...
2 votes
0 answers
31 views
Autonum with multiple long equations in one align
Usually (without using autonum) the equation number is moved a little lower if an equation is long, so that the number does not overlap the equation. When using autonum https://ctan.org/pkg/autonum (I ...
2 votes
1 answer
81 views
How to define a macro which generates new custom amsthm theorem environments with manual numbering?
I'm currently trying to generalize user egreg's answer to a similar question where the asker wanted to create a new customized amsthm theorem environment which supports manual numbering in its ...
5 votes
1 answer
222 views
Numbering equal signs
I would like LaTex to number a sequence of equal signs in a derivation. An example: the code: (a+1)^2+1\overset{(1)}{=}a^2+2a+1+1\overset{(2)}{=}a^2+2a+2, would give me the possibility of commenting, ...
3 votes
2 answers
228 views
`circledsteps`, but... `squaredsteps` and `triangledsteps`?
I love circledsteps, but I would like to be able both to choose the geometrical shape of the number enclosing between, at least: circle, square, and triangle. This is because I'm numbering cities on a ...
1 vote
1 answer
49 views
ConTeXt: how to add section numbering into equation numbering
I have a tex file \setupinteraction[state=start,focus=standard] \setupcounter[formula][way=bysection,prefix=yes] \starttext \section{An introduction} \placeformula[eqn:famous-emc] \startformula E = ...
2 votes
2 answers
70 views
How does titlesec modify the \@sect and related hooks and how to work around it
Inspired by this question I tried to create my own document class for contract making. I wanted automatic paragraph numbering. class file: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{...
6 votes
1 answer
88 views
Wrong numbering of footnotemark inside \overset
I get strange numbering of footnotes when I put a footnotemark in the second argument of \overset : the counter increases by 3 instead of 1; and if I nest, say, n levels of \overset (each being in the ...
0 votes
2 answers
60 views
How to restore section- and subsection numbers when documenting a package by example?
Content: Background Observed effect Question Background I want to document one of my packages in a separate document using examples by calling said package. Observed effect Consider demo.sty which ...
0 votes
0 answers
90 views
The reference number of my subfigure is incorrect compared to that of the main figure
Why my subfigure references increase by 0.1 when I force my main caption to be at top of figure? This is my my documentclass{tdiinpe.cls} link enter link description here I want my all caption (figure ...
2 votes
2 answers
154 views
How to use numbering for second occurrence of a restated theorem?
Consider the following: \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[section] \usepackage{thmtools} \begin{document} \section{Introduction} \begin{restatable}{theorem}{...