Questions tagged [equation-number]
The equation-number tag has no usage guidance.
39 questions
0
votes
1
answer
38
views
Numbering in Eqnarray Environment [duplicate]
I’m using LyX 2.4.2, and numbering equations on the left in the eqnarray environment doesn’t work, although it works on the right. Is there a way to fix this?
4
votes
1
answer
49
views
Equation numbering doesn't start at 1 for alignat inside minipage inside tabularray
I want to compare different ways to create environments containing equations. For this, I use a large tabularray environment containing minipage environments containing, for example array, align and ...
2
votes
1
answer
72
views
Insert equation labels inside a `tikzcd` diagram in a way compatible with `cleveref`
This question is a follow-up to this one.
I want to annotate tikzcd diagrams with labels that can be referred to with \cref, placing the labels in arbitrary places in the diagram (usually, in the ...
-1
votes
1
answer
26
views
Change width of displaymath equations
I wish to globally change the width of math equations. My problem: fleqno option together with leqno puts the label within the margins of the text with little space to the equation. Thus, having long ...
0
votes
1
answer
45
views
How to tag related equations with the same number, but with a suffix letter
I am reading a book were the numbering of equations follows the format (<section>.<eq number>) with an additional perk, namely that whenever it makes sense to gather a set of equations ...
3
votes
2
answers
122
views
Where to put equation number when the range is on the separate line?
I always put numbers for multi-line equations as follows (e.g., using equation and gathered):
My co-author wants to do (e.g., using gather and nonumber).
Is there a commonly accepted convention for ...
2
votes
1
answer
58
views
Quote Equation number with horizontal alignment
I have using quote with displayed numbered equation. But the eq number (1) not moved from right to left. Can anyone advise me how to fix.
Source TeX code is:
\documentclass{book}
\usepackage{...
1
vote
1
answer
51
views
Correct numbering of Figures and Equations when Using 'Parts' and 'chapters'
strong textI am currently writing my thesis. I have formatted it by having several 'parts' and within that 'chapters'. At the beginning of the 'part' I give an overview of the coming chapters. I ...
2
votes
2
answers
76
views
Putting an enumerated list on an equation counter
I would like to put certain enumerated lists on the same counter as my displayed equations. Can anyone suggest how I can do this?
Close to minimal working example below.
\documentclass{amsart}
\...
0
votes
1
answer
35
views
LuaLaTeX pdf: Labelled equations in a two columns not working
Trying to get this to come out as two columns of labelled equations however, I've got misaligned columns vertically. Does anyone know how to fix it?
\documentclass[11pt]{article}
\usepackage{...
0
votes
0
answers
30
views
Suppress chapter number from the equation number but restart automatically in each chapter from 1
using the following code, I suppressed the chapter number from the equation. but it does not stop and in the next chapter the equation number does not start from 1. What should I do?
I have used the ...
0
votes
1
answer
33
views
Adding equation name along with equation number
I want to include an additional text (say the equation name), along with the equation number. The equation name is to be displayed only at the place where the equation is displaced, i.e. when I use \...
1
vote
1
answer
65
views
How to left-align some (not all) single-line, labeled equations in beamer? I tried ```fleqn``` but it gives problems
I'm working on a presentation with beamer, and I use the equation environment in two cases:
a line with only mathematical expressions, between two lines of text, and centered horizontally (pretty ...
0
votes
0
answers
84
views
Change the equation reference style
I'm writing my undergraduate thesis and right now when I refer to an equation in the text the number of the equation is shown without the parenthesis. While in the equation itself the number is shown ...
2
votes
0
answers
71
views
Numbering equations in Latex
I am writing a document in Latex (documentclass report) in which I use only chapters and sections (no subsections). However, the numbering of equations takes in account the subsection (e.g. the first ...
0
votes
0
answers
32
views
Is it possible to add a vertically centered equation number to an align environment consisting of an even set of equations?
I have the following MWE:
\documentclass{article}
\usepackage{amsmath}
\allowdisplaybreaks
\begin{document}
\begin{align}
a &= b \\
&= d \\
&= e \\
&= d \\
&= e \\
&= d \\
&...
3
votes
1
answer
125
views
How to specify own equation numbers in context? Compared to align* in Latex?
How can I reproduce this in context? I am using TL 2023
\documentclass[12pt,notitlepage]{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\sin x &= \int_{0}^\infty \cos x \,dx \tag{...
0
votes
0
answers
44
views
How can I number this type of relationship?
numbering this code
\begin{align}
(P4)\left\{ \begin{array}{l}
\max\sum_{i=1}^{m}w_{i}(1-z_i)\\
\mathrm{s}.\mathrm{t}:
\begin{array}{|r}
log(e_i)\geq \...
1
vote
1
answer
46
views
Split a long equation across lines with the numbering bottom aligned
I try to write this equation on overleaf and numbering in second line (the same as in the picture) but I couldn't. Another problem is when I use align or equation, the prime in max' function goes to ...
2
votes
1
answer
112
views
Numbering individual cases
I have the following equation:
\documentclass{article}
\usepackage{amsmath}
\usepackage{cases}
\begin{document}
\begin{numcases}{x = }
\label{eq:case1} x+1\\
\label{...
0
votes
1
answer
44
views
Comma after an equation coincides with the equation number
The comma after the equation coincides with the number of the equation using the eqnarray . How can get rid of that?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\...
0
votes
0
answers
22
views
Comma in an equation coincides on the equation number [duplicate]
The comma after the equation coincides with the number of the equation using the eqnarray . How can get rid of that?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray}
...
2
votes
1
answer
94
views
Equation alignment in right side
I have an equation and wanted to align in right side of the page as it is cutting into the margin. So I used an flalign environment but it still is not working great. How can it be solved?
\...
0
votes
1
answer
145
views
restate an equation
I know the restatable environment from the packages thm-restate combined with thmtools, which allows to formulate theorems that can be restated later in the document.
Now I am wondering, if there is a ...
1
vote
1
answer
59
views
How to modify the appearance of equation numbers
My Latex code :
\documentclass{article}
\usepackage{amsmath}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\makeatletter
\numberwithin{equation}{section}
\numberwithin{equation}{...
2
votes
2
answers
87
views
How to keep equation number in a colored box in latex
I wish to customize the appearance of the equation number in latex. For example, see the below equation number is kept in a black box. How to achieve such a style?
0
votes
1
answer
185
views
How to get equation number outside of the tcolorbox?
\documentclass{article}
\usepackage{mathtools,amsfonts,amsmath,amssymb,amsthm}
\usepackage[most]{tcolorbox}
\begin{document}
\begin{tcolorbox}[enhanced,boxrule = 1pt,
colframe = myLColor,
...
3
votes
1
answer
181
views
How can we typeset a multi-line expression with both an equation number and a comment?
What is your favourite way of typesetting (multi-line) mathematical expression (with an equality or inequality symbol in the middle) that needs to have both a number and a comment? Here, a comment ...
1
vote
1
answer
116
views
Fixing an equation numbering issue
I'm writing a paper with multiple authors and I'm having trouble fixing an equation numbering issue.
The desire was for equations to be numbered within subsections. At the same time, the goal was for ...
4
votes
2
answers
455
views
How to use \nonumber in \gather environment?
I have two equations in the \gathered environment.
\documentclass{book}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{gathered}
\Delta U_{ab}+\Delta U_{ba}=0\\
\...
1
vote
1
answer
93
views
Add citation/cross-reference directly to equation number
I am working on a document that references equations in multiple textbooks. To enable the reader to quickly jump to the exact location in each source, I would like to add the reference to the equation ...
1
vote
0
answers
77
views
Custom equation environment using cleveref gives wrong numbering
I want to make a custom environment for important equation and use separate numbering for these. I got it working as shown in my "MWE":
\documentclass{article}
\usepackage[utf8]{inputenc}
\...
1
vote
2
answers
476
views
Numbering equations in aligned environment
I have the following code:
\begin{align*}
\xi(z)=0
&\iff
\begin{pmatrix}
\pi_P \circ z \circ \iota_P & \pi_P \circ z \circ \iota_Q \\
\pi_Q \circ z \circ \iota_P & \pi_Q \circ z \circ \...
3
votes
3
answers
605
views
Not enough space between equation and equation number
I compile a large equation in display mode with a label and this is what I get:
Is there any way to increase the spacing of the equation and the (45)?
Here is the code (sorry for including all ...
2
votes
1
answer
84
views
IEEEeqnarray - Centred numbering
I love IEEEeqnarray, but after searching through Stack I haven't found a good solution for grouping equations under a single number which is vertically centred with the rest of the equations.
...
2
votes
2
answers
166
views
newtag for my equation-environment
I would like to create a newtag for my equation-environment
\NewEnviron{MyEq}{\begin{equation}\BODY\end{equation}}
with this tag: $\mathbb D$.number-of-my-equation. For example
\begin{MyEq}
A+B=C\tag{...
0
votes
1
answer
142
views
How to number a group of equations in html/Mathjax [closed]
I am using MathJax on my website. When I number a single equation, it turns out all right. However, for a group of equations, it doesn't work. I have to modify the code like below and only then the Eq ...
0
votes
0
answers
131
views
problem with \ref getting ?? Texshop 4.74 4.77
I have a mac desktop running TexShop 4.74 and a macbook air M1 running 4.77. When I run a document (created on the former and running PERFECTLY) but over on the latter, any \ref to a tagged equation ...
4
votes
1
answer
78
views
How to make the Begriffsschrift equation number be aligned at the bottom line?
First an MWE and its output are as follows:
\documentclass{article}
\usepackage[tbtags]{amsmath}
\usepackage[bguq]{frege}
\begin{document}
The alignment is as desired:
$\Fconditional[{\Facontent[1]}]...