# Tag Info

1 vote

### How to get sub-numbering on equations?

You can do it. But don't abuse flalign. \documentclass[fleqn,leqno]{article} \usepackage{amsmath} \usepackage{lipsum} % for context \makeatletter % from https://tex.stackexchange.com/a/261647/4427 % ...
• 993k
Accepted

### LaTex: Table numbering begins at 2

longtable implements its own captioning command, which allows the table number and caption be printed on every page. To make this work longtable increments the table counter. (Try putting a table ...
• 19.9k
Accepted

### How to combine numbered paragraphs, two columns, hanging indentation?

If I have got the description right, I'd propose using a mix of hangindent, hspace, and makebox EDIT. Example with multi-columns. The solution is based on tabular. EDIT2. Added an option for a single ...
• 819

### Whitesace in Leading Zeroes in Enumerate Environment

I'd register a new numeric representation and define a new environment. \documentclass[12pt, a4paper]{article} \usepackage{enumitem} \makeatletter \newcommand{\arabicthreedigits}[1]{\expandafter\@...
• 993k
Accepted

### Whitesace in Leading Zeroes in Enumerate Environment

This is based on your first link. \documentclass[12pt, a4paper]{article} \usepackage{enumitem} \def\threedigits#1{% \ifnum#1<100 0\fi \ifnum#1<10 0\fi \number#1.} % <<<...
• 26k
Accepted

### The usual method doesn't let me number appendix tables as A1, A2, etc

For figures you need to add \setcounter{figure}{0} \renewcommand{\thefigure}{A\arabic{figure}}
• 26k
Accepted

### Main text among numbered list

You can use \hangindent primitive register to indent the numbered paragraphs from their second line. \parindent=0pt \def\num #1.{\par \hangindent=1.2em \hskip1.2em \llap{#1. }\ignorespaces } The ...
• 53.5k

### Remove period between Appendix letter and figure number in Appendix captions

I suggest you run \renewcommand\thefigure{\thechapter\arabic{figure}} after executing \appendix. Of course, if this numbering style should apply to figure captions everywhere in the document rather ...
• 439k

### How can remove double dot in Theorem numbering

It depends on what you want when doing cross-references. Anyway, since every generated number has a trailing period, also lemmas should share the style. \documentclass[a4paper]{report} \usepackage[...
• 993k

### How can remove double dot in Theorem numbering

If you execute instructions such as \renewcommand\thesection{\arabic{section}.} not only will the headers of Lemma and dl environments look wrong because of the spurious extra period (aka "...
• 439k
Accepted

### How can remove double dot in Theorem numbering

Define \def\theLemma {\thesection \arabic {Lemma}} after \newtheorem{Lemma} is used. The command \newtheorem{Lemma} generates \theLemma macro as \thesection.\arabic {Lemma} but you don't want the dot ...
• 53.5k

### Numbering of theorems in "report" style

It's possible. You can redefine \thetheorem to omit the section number if it is zero. You'd also get “Theorem 2.1” if the theorem is before the first \section command in chapter 2. \documentclass{...
• 993k

### Numbering of theorems in "report" style

There is no way to do it, in large part because it is impossible to do it consistently. For example how would you name the theorems in the following? Which one of them should be "Theorem 1.1"...
Accepted

### Change order of subcaption labels

With use of tblr defined in tabularraypackageČ \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \usepackage{tabularray} \UseTblrLibrary{counter,varwidth} % <=== \begin{...
• 255k
Accepted

### How to force the numbering of the nested footnote to follow the main footnote

If I understand your question correctly, this should achieve what you want. However, Did you test if you have another footnote afterward. The display of the footnotes will not follow the order of ...
• 4,373
Accepted

### Right justification of numbering in ListOfFigures in tufte-book

Try this code. Also added a patch to increase the width of figure numbers from 2em to 3em. (when double digit chapter numbers are reached) \documentclass{tufte-book} %********************************...
• 26k
Accepted

### Problem with subsubsection numbering :

With a KOMA-Script class you can use \setcounter{secnumdepth}{\subsubsectionnumdepth} \setcounter{tocdepth}{\subsubsectiontocdepth} to get numbered subsubsections and TOC entries for the ...
• 81.7k
1 vote

### Restart theorem counter to 1 by book chapter

This does what you want using the chngcntr package. Please read the package manual again. % thmcntrprob.tex SE 646889 \documentclass[printer]{book} \usepackage{amsmath} \usepackage{amsthm} \...
• 25.5k
1 vote

### Restart theorem counter to 1 by book chapter

If don't want manually write \setcounter{theorem}{0} every time, you could do this: \documentclass{book} \usepackage{amsmath} \usepackage{amsthm} \newtheorem{theorem}{Theorem}[chapter] \...
• 4,373
1 vote
Accepted

### Center section with number after prewitten text and in a new line the section caption

You shouldn't use formatting commands like \begin{center}...\end{center} inside \section{...} or it'll screw up the table of contents and things like that; instead use titlesec to define how you want ...
• 36.7k
1 vote

### Arabic numbers for theorem, Roman numbers for \phantomsection in theorem

\phantomsection has nothing to do with a section, it only sets an anonymous anchor. The printed layout of your label depends only on the position of the \label. You can get your wanted output by ...
• 294k
Accepted

### Arabic numbers for theorem, Roman numbers for \phantomsection in theorem

A \label generally refers to the last counter to which \refstepcounter has been applied in the same scope. Issuing \label far away from the place where a counter has been “refstepped” is usually not ...
• 993k
1 vote

### Arabic numbers for theorem, Roman numbers for \phantomsection in theorem

I take it that your real objective is to make a given inline formula into a hypertarget, so that readers can "jump" to that formula from elsewhere in the document by "clicking" on ...
• 439k

Top 50 recent answers are included