12 votes
Accepted

How to Assign the Numbers Automatically in This Enumerate Environment

With enumitem package, with \setlist you can change all the lists of your document: \documentclass{book} \usepackage{tcolorbox} \newtcbox{\blackbox}[1][]{nobeforeafter, notitle, %sharpcorners, ...
user avatar
  • 54.7k
9 votes
Accepted

How to write a number by making a white space between two numbers?

Automatically? Sorry, no. TeX cannot read, it just follows rules and a sequence of digits is, to its eyes, just a sequence of ordinary symbols, not different from xyz. Use siunitx and its powerful \...
user avatar
  • 1.0m
7 votes

About special numbering in equation

I'd like to suggest that you load the mathtools package -- a superset of the amsmath package -- and use its \newtagform and \usetagform macros. (To revert to the default equation tags, run \usetagform{...
user avatar
  • 443k
6 votes
Accepted

Is there a way to change the page number in the TOC when inserting a PDF?

pdfpages provides addtotoc as an option for specifying what of the included document should be added to the ToC. It takes 5 arguments: addtotoc={<page number>, <section>, <level>, &...
user avatar
  • 569k
6 votes
Accepted

How to Handle Typesetting an Aberrant Footnote

Since you're using numbers, you can just use \footnote[256]{...} to force a footnote to be numbered 256. The number (passed as the optional parameter to \footnote) is used to set the footnote counter.
user avatar
  • 569k
6 votes
Accepted

formating my problems so that I can write the problem number in latex?

Here's an example which is fairly similar to your image. \documentclass{book} \usepackage[margin=1in]{geometry} \usepackage{datetime2} \DTMsetstyle{mmddyy} \DTMsetup{datesep=/} \usepackage{fancyhdr} ...
user avatar
  • 16.2k
6 votes

About numbering in equation

The following code (a) employs the mathtools package to define a new equation tag form, called "Charles", and (b) creates two macros, named \PlainTag and \CharlesTag, that implement the ...
user avatar
  • 443k
6 votes

how to assign equation number to the last equation only and align it to the right

You could also nest an aligned[b] environment inside an equation environment. That way, a single equation number will be assigned to the entire equation, and this equation number will be placed on the ...
user avatar
  • 443k
6 votes
Accepted

How to make "Theorem 1.1" into "1.1 Theorem"?

The \swapnumbers command in the amsthm package is designed for exactly this task: \documentclass{report} \usepackage[T1]{fontenc} \usepackage{amsthm} \swapnumbers \newtheorem{theorem}{Theorem}[...
user avatar
6 votes
Accepted

Moving the beginning of a footnote to the right

Update 2022/05/28 There shall soon be a new package multifootnote on CTAN. The answer of this question corresponds to the two package options: Normally the footnote is typeset with list, where the ...
user avatar
  • 6,552
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
  • 443k
5 votes
Accepted

Help for a Specific Structure for German PhD Thesis (Law)!

Your decision to use scrbook is a good start. I'm not an expert for KOMA-script, which really is a huge software package. So the code below may not be the best solution. One thing I really can't solve ...
user avatar
  • 28.9k
5 votes

Reverse numbering for subsections

You need to save the total number of subsections when a new section starts off (and at end document). Thus you can do the subtraction (after a couple of LaTeX runs). \documentclass{article} \...
user avatar
  • 1.0m
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
  • 54.1k
5 votes

How to write a number by making a white space between two numbers?

Try the package numprint Specify the separator, for example \npthousandsep{\,} and use \numprint{<number>} \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{numprint} % ...
user avatar
4 votes
Accepted

Equations numbering

I don't really understand why you define similar environments multiple times (claim/Claim, lem/Lemma), so here just a reduced version of your code: \documentclass{amsart} \usepackage{amsthm} \...
user avatar
  • 26.1k
4 votes
Accepted

How to make tcolorbox theorems without numbering

Edit: From your comment follows, that you not need specialized theorem box as defined in the theorems library, but ordinary box (see third example in MWE below). Try: \documentclass{article} \...
user avatar
  • 257k
4 votes
Accepted

LaTeX equation not numbered correctly with cases

I add two possibilities. The second is the best because the geometry package provides uniformity for the sheet margins. In addition I have tried to improve some code anomalies as highlighted in the ...
user avatar
  • 46.4k
4 votes
Accepted

Dissimilar figure enumeration between caption and reference

You are most likely within section 2.4.4 and the \label is picking up the section numbering, not that of the figure (within \captionof{figure}). The cause of this is amsmath that ignores \label within ...
user avatar
  • 569k
4 votes

Equation numbering starts with equation 2 instead of 1

If I remove all the unrelated lines, a more reasonable version of your example would be \documentclass{article} \setcounter{equation}{1} \end{document} \begin{equation} k(v) = \frac{49}{500}v+114 \...
user avatar
4 votes

how to assign equation number to the last equation only and align it to the right

You can issue \nonumber or \notag to avoid setting a number inside an align (and friends): \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\hspace*{-3em} \...
user avatar
  • 569k
4 votes

Equation number not on the right side

Try this: \documentclass[10pt,a4paper]{book} \usepackage{amsmath} \usepackage{chemformula} \begin{document} \begin{equation} IS=\dfrac{\ch{[Na_2OH]}}{\ch{NaOH}+\ch{Na_2S}}\cdot 100\% \end{...
user avatar
4 votes
Accepted

Numbering equations show as '3.1', '3.2', etc

it is set by your document class but \counterwithout{equation}{section} should reset it
user avatar
4 votes
Accepted

How to combine the \circled command on one-digit numbers and the \newcircled commands on two-digit numbers?

Use \ifnumcomp from etoolbox to test if the number is greater than 9: \documentclass{article} \usepackage{etoolbox} \usepackage{microtype} \usepackage{graphics} \usepackage{tikz} \tikzset{mynode/....
user avatar
  • 54.7k
4 votes
Accepted

Automatic numbering of paragraphs in the margin

Well you can use the new para hooks. But the main problem is not to add something, but to prevent that it gets added in places where you don't want it, paragraphs are in more places than you expect. ...
user avatar
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
  • 443k
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
  • 20.4k
4 votes
Accepted

Thesis Format problem

(Remark: The answer shown below is based on the initial version of the OP's query. After I posted this answer, the OP chose to completely modify the code that's shown. The answer I posted here ...
user avatar
  • 443k
3 votes

How to pause counter for Table numbers

You could use \addtocounter{table}{-1} \renewcommand{\thetable}{\arabic{table}B} to get 2B rather than 3B
user avatar
3 votes
Accepted

How to correct the figure numbering?

When referring to a figure or table, you should put \label after the \caption command, but inside the table or figure environment.
user avatar
  • 13.1k

Only top scored, non community-wiki answers of a minimum length are eligible