{equations} is about the various environments to typeset displaystyle mathematics, e.g. equation and {align}. For general questions about mathematical typesetting use {math-mode}. Both tags are possible on the same question.

learn more… | top users | synonyms (1)

1
vote
2answers
49 views

How to have a single vertically centred equation number for multiline equation in LyX

What I want is a single equation number located between the second and third lines (vertically centered behind the lines) like in Section 18.6 of the LyX detailed Math manual: In Lyx, I choose ...
1
vote
2answers
67 views

Making notes onto a pdf document

I have some books and pdf files that I would like to make some notes (particularly adding equations with latex). I have seen the following post given by Overlay LaTeX/TeX coding easily on PDF with ...
2
votes
1answer
50 views

Spacing: Align vs. Equation

Can anybody explain where the extra spacing comes from when using an align instead of a equation? And does anybody know how to remove it? \documentclass{article} \usepackage{amsmath} ...
0
votes
2answers
40 views

Line Break in Equation with Text

I would like to include an equation, which mostly consists of text elements, however I am having trouble with aligning the last argument which spreads over two lines in order for the equation to still ...
1
vote
1answer
20 views

Tagging several groups of equations in the same environment

I have long equations, so I have to break them with this structure: something = long expression1 continuation of long expression1 = long expression2 continuation of long expression2 = etc What I ...
2
votes
1answer
24 views

Highlight changed part of the equation

As a physicist, I often have unhandy expressions and do manipulations on them. One such example is the following: The only thing that has really changed are that the \gamma^0 from the outside ...
1
vote
1answer
19 views

Getting a citation on the same line as an equation, in theorem environment

Just wondered if anyone could help me with this issue. I'm trying to reference a theorem using \cite{ref}, but the theorem finishes with an equation, so the citation move onto the next line. This is ...
1
vote
1answer
67 views

Referring to an equation in a different section

I am using the procedure in writing a document of setting a main page and including sections in side tex documents using \include{...}. In one section I have an equation that I labeled as \label{6}. ...
3
votes
3answers
446 views

How do I break a long equation?

I have a long equation that it was hard for me to break so that it appears professional. How can I do it? \begin{equation} \begin{split} &\mathbb{P}\left( \left. Z_{1}\in ...
1
vote
1answer
27 views

How to left align the \dcase to make a straight margin with text

I am using dcase to express my equation. However, the equation looks align in center of page. I want to move the equation in the left side of the page. Note that, my text has one space at the ...
1
vote
1answer
32 views

Right align equations relative to maximum length of equation-number

Please have a look at this minimal example ... \documentclass{article} \usepackage{amsmath} \numberwithin{equation}{section} \usepackage{showframe} % only for demo \begin{document} \section{section ...
2
votes
1answer
44 views

flush multiline equation to the right

How do I flush the two equations to the right? And keep the eqution number centered between the two lines? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
3
votes
4answers
104 views

prepare correct position for equation

Hi all, I want to write my equation which is like the attached picture. I tried to write this code below but I couldn't make "Hp" starting from the same positions. How should I write code to have ...
12
votes
3answers
913 views

Replace the `$$ … $$` macro with the `\[ … \]` macros? - Prefer the way LaTeX lays it out, but `$` are faster to write

Is there a way to replace the $$ ... $$ macro with the \[ ... \] macros? (and replace inline mathmode as well) I realised the only way I can write the \sum_{i=1}^{10} t_i is between the \[ ... \] ...
8
votes
4answers
356 views

How to align superscripts?

I have an expression like $$\eta^{[\alpha\beta}_{\phantom{\alpha\beta}\rho}h^{\sigma]}A^\rho$$ and I would like that all the indices alpha, beta, sigma and rho appear on a same line. If someone ...
1
vote
1answer
27 views

Alignment of equation number with the end of the line

I' trying to reproduce this equation array from an IEEE paper you can see that the equation numbers are aligned at the end of the line same as the above statement. my code: ...
0
votes
0answers
17 views

Prime symbol as upper limit of summation [duplicate]

I'm trying to reproduce this equation: using this code: \begin{equation} \sum_{x\in A}^{'} f(x) &\stackrel{\text{def}} = &\sum_{\substack{x \in A \\ x \neq 0}}^{} f(x). \end{equation} I ...
0
votes
1answer
47 views

Writing matrix inside an equation

I wanna type this equation. Normal equation/matrix code not working.
3
votes
1answer
29 views

Single multi-line equation with comments on rows

I can't find a way to write a multi-line equation, which I would later refer to as on single equation, and write comments on some of rows. The thing I want is pretty much like here: Multi-row text ...
4
votes
3answers
263 views

Right curly brace at the end of an equation

I'm trying to write this equation: I'm facing problem with the curly brace. I tried using \right \begin{equation} 2 \uparrow \uparrow k \stackrel{\text{def}} = ...
1
vote
1answer
19 views

You can't use `\eqno' in math mode,Missing } inserted

I understand from previous post that this error come when you have extra {,( involved. But in my case i am not able to find any such case. \begin{equation}\overset{\wedge}{\pi}\left(\beta/ A_n\right) ...
7
votes
3answers
489 views

Long \sqrt in two lines

I want to rewrite the following equation in two line due to columnwidth of the article. \begin{eqnarray} y&=\pm &\sqrt{\frac{Q}{2\pi \sigma_y\sigma_z u C(x,y,z) } ...
0
votes
0answers
24 views

Height of enumerate items in multicols environment for proper alignment

For some problem sheets I have been using the shortenumerate package with hardcoded widths for the columns so far and I wanted to use multicols instead which is a lot easier to use. However the ...
2
votes
0answers
29 views

How to include a system of equations in a subequation environment?

I am wondering how to include a system of equations in a subequations environment. I currently have the following document as an example : \documentclass{article} \usepackage{amsmath} ...
4
votes
2answers
25 views

Alignment of Quantifier

\begin{document} \begin{equation} \begin{split} \sum_{s \in S_i} x_s &= 1 \quad \forall S_i \in P \\ x_s &\leq \sum_{(s,t) \in R: t \in S_j} x_t \quad \forall S_i \in P, \ \forall ...
0
votes
0answers
21 views

how to add label to matrices multiplication

in the below latex code, i am displaying two matrices multiplied by each other and the result of the multiplication to add a label to the code posted below , i tried to include the below code inside ...
13
votes
2answers
256 views

Automatically replace environment align by equation+aligned combination

I would like to automatically replace the align environment by an equation + aligned combination. Specifically, whenever \begin{align} occurs, it should automatically read it as ...
47
votes
3answers
60k views

Label equation with a symbol

I would like to label an equation with an arbitrary symbol, rather than a number, or letter. Is this possible?
1
vote
0answers
40 views

How to write the following matrix requiring both case and block array environment?

I am trying to write the attached equation using block array environment. I am suppose to use both the case and block array environment for achieving the desire output. However, I have completed ...
1
vote
0answers
21 views

Package showlabels and option final with equations [closed]

I've the following problem with the showlabels-package: Using it with the amsmath-package, it ignores the option final for equations. The labels are still shown in the document. Here is an example: ...
4
votes
3answers
522 views
1
vote
1answer
33 views

Equation and italics

How do I write the equation {x|A'x=b'} in LaTeX and make it italic? I have tried following code: \textit{{$$x|$$A'x=b$'}} but it did not work. The dollar signs are in wrong places.
0
votes
0answers
51 views

Fixing equation spacing between content changes

I have a large equation in beamer with a double sum, and I want to change the summation range (among other elements in the equation) using \only. But of course when the contents of the \substack ...
2
votes
0answers
33 views

adjust length of \leadsto arrow to the text above [duplicate]

I am having really hard time to figure out how to adjust the length of \leadsto arrow in order to match the text above it. The command I am using is ...
3
votes
4answers
63 views

How do I fix the vertical alignment of the bracketed part of this equation?

The following MWE: \documentclass[]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{equation} ...
12
votes
1answer
206 views

When is `\[` preferred over equation* environment? [duplicate]

When is it preferable to use \[ instead of equation*? I find I often use the equation* environment in the following way: \begin{equation*} some expression \end{equation*} Should I instead be using ...
2
votes
1answer
25 views

Centering tildes on new lines in equation arrays

I have been using LaTex since a few weeks, and I have a lot of equations in my text. Up until now everything was perfectly doable, but now I am looking for a way to decrease the spacing between the ...
1
vote
1answer
37 views

Long equation labelled by a symbol

To label a single symbol to long equation, we use \begin{split}...\end{split}: \begin{align}\label{eq1} \begin{split} H=\langle x_1,x_2,\cdots, x_n \colon & [x_i,x_j,x_k]=1,\\ ...
1
vote
0answers
51 views

Begin{equation} works better with \ than $$ [duplicate]

I am relatively new to LateX, and am a bit confused with the \begin{equation} command. I use $$...$$ to enter the math mode in a new environment. However, I find that when I combine $$..$$ with ...
4
votes
2answers
73 views

Explaining equation steps (multiple line \text)

I'm trying to explain my steps in an equation. The problem is that the text is longer than the line in the \flalign* environment, is there any way to make the text span over multiple lines while ...
1
vote
0answers
32 views

\textstyle as default method of displaying mathematics

This has probably been ask before (although I could not locate any information). What is (are) method(s) of setting \textstyle as default way of presenting displayed mathematical formulas?
4
votes
1answer
4k views

How to use \displaybreak?

I have a very long equation \begin{equation*} \begin{aligned} multiple line equation... \end{aligned} \end{equation} But just using the above code causes the whole equation to start from a ...
1
vote
2answers
156 views

Align Equations with the equals sign

I am trying to align two equations, however they are not aligning at the equals sign but at the comma at the end of the equation. How can I change this? \begin{align} A_{ij}^y= \begin{cases} ...
2
votes
1answer
48 views

Write case condition on two lines [duplicate]

I have this equation: which must be inserted in a Office document. But it is too large, so I want to add a line return in the middle of the 2nd and 3rd condition such that the new line starts ...
0
votes
0answers
39 views

Undefined control sequence error using a command

Dear All, I am using below code in my Latex file but getting the error of undefined control sequence The code is \begin{equation} \lVert \mathbf{p} \rVert = ...
0
votes
3answers
60 views

Obtaining left aligned equation [duplicate]

How can I align this equation to the left? \begin{equation} \beta_1=(n_{20}+n_{02}) \\ \beta_2={(n_{20}-n_{02})^2}+4{n_{11}}^2 \\ \beta_3={(n_{30}-3n_{12})^2}+{(3n_{21}-n_{03})^2} \\ ...
9
votes
1answer
221 views

How to write the equation number manually? [duplicate]

Does anyone know how to number an equation manually? I know using \begin{equation} automatically numbers the equation but I want to number it manually. Like this: ax=b 2.1 ax=b ...
5
votes
1answer
53 views

Enumerated list with custom label, containing aligned math equations

How do I write 4°? When I use align* or any other environment the equations become centered and I want all of them to be in a fine line just like on the picture. Here is what I tried: $(i)$ ...
0
votes
1answer
55 views

how to use mathbf or bold type in eqnarray environment?

my math equations dosent look very clear, i think they lack a little of bold. how can i use \mathbf in eqnarray environment ? more general what do you suggest to make equations very clear and ...
2
votes
2answers
79 views

Using \nearrow and \searrow to separate an equation in two alternatives

I'm tryin' to write the solution of an equation with two possible solutions, as x(ax-a+1)=0. I'm using \nearrow and \searrow with an array but I don't get it fits right. This is the code: ...