New answers tagged

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 % ...
user avatar
  • 993k
4 votes
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 ...
user avatar
  • 19.9k
2 votes
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 ...
user avatar
  • 819
0 votes

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\@...
user avatar
  • 993k
0 votes
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.} % <<<...
user avatar
2 votes
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}}
user avatar
2 votes
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 ...
user avatar
  • 53.5k
4 votes

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 ...
user avatar
  • 439k
2 votes

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[...
user avatar
  • 993k
6 votes

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 "...
user avatar
  • 439k
5 votes
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 ...
user avatar
  • 53.5k
0 votes

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{...
user avatar
  • 993k
0 votes

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"...
user avatar
0 votes
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{...
user avatar
  • 255k
0 votes
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 ...
user avatar
  • 4,373
2 votes
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} %********************************...
user avatar
2 votes
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 ...
user avatar
  • 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} \...
user avatar
  • 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] \...
user avatar
  • 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 ...
user avatar
  • 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 ...
user avatar
2 votes
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 ...
user avatar
  • 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 ...
user avatar
  • 439k

Top 50 recent answers are included