{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
1answer
143 views

How to remove unwanted spaces above and below equations in classicthesis in LyX

I am using latest LyX version of classicthesis template. When I import the latex code converted by word-to-latex into LyX, there are unwanted space above and below each equation (usually two extra ...
1
vote
2answers
78 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 ...
4
votes
1answer
141 views

Equations in tcolorbox. Vertical alignment

I am simply trying to put a frame around equations in my beamer slides. For this purpose, I use the package tcolorbox. The MWE below produces boxes where equations are almost aligned at the base of ...
1
vote
2answers
74 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 "...
2
votes
1answer
55 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} \usepackage{...
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
95 views

Most efficient way to convert word containing many Mathtype equations to LyX

I use LyXConverter from http://www.editorium.com/lyxconverter.htm It does not convert equations, which are displayed as "no file found", that is, empty files, in LyX. so I have to use "toggle tex" ...
1
vote
1answer
26 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 ...
2
votes
1answer
33 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 ...
0
votes
2answers
47 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
32 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 ...
3
votes
3answers
455 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 dx_{1},Z_{2}\...
1
vote
1answer
36 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 ...
3
votes
4answers
112 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 ...
8
votes
4answers
365 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 ...
2
votes
1answer
54 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} ...
1
vote
1answer
30 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: \begin{IEEEeqnarray}{...
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
50 views

Writing matrix inside an equation

I wanna type this equation. Normal equation/matrix code not working.
3
votes
1answer
34 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 ...
1
vote
1answer
24 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) ...
4
votes
3answers
270 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}} = \left.2^{2^{2^{.^{.^{.^{{2}}}}}}}\...
7
votes
3answers
509 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) } \exp{\left(\!-\frac{y^2}{2\...
1
vote
1answer
44 views

Change margins for one item in a beamer slide

You can see that the equation is cut off at the right side of the slide. Can I reduce left margin only for this item? \begin{frame}{Conditional Hazard Ratio under Competing Risks} \begin{itemize} \...
0
votes
0answers
27 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 ...
3
votes
1answer
42 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} \begin{...
4
votes
2answers
30 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
26 views

how to add label to matrices multiplication [duplicate]

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 \...
1
vote
0answers
41 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
22 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: \...
1
vote
0answers
44 views

Can't make maths equation - possibly Calligraphy? [duplicate]

I have included a picture of a maths equation that I need to convert to LaTeX. However I just can't figure out how to convert the first two symbols or figure out what they are/stand for. The picture ...
1
vote
1answer
34 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.
4
votes
3answers
546 views

Really big MATLAB equation to be put into LaTeX [closed]

I have a very big equation in MATLAB f1=((y_o2_ca_in*M_o2/(y_o2_ca_in*M_o2+(1-y_o2_ca_in)*M_n2))*(((k_sm_out*(x5-((x1*R_o2+x3*R_n2+x8*R_v)*t_st/v_ca)))+((M_v/M_a)*phi_des*(((10^(-1.69*10^-10*t_cl^4+3....
0
votes
0answers
53 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 ...
12
votes
1answer
207 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
29 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
39 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 \begin{...
4
votes
2answers
78 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
2answers
166 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} ...
1
vote
0answers
39 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?
3
votes
4answers
67 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} \dfrac{dN}{da}=\dfrac{1}{C}\left[\dfrac{\cos\left(\...
2
votes
1answer
59 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
168 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 = \dis(\mathbf{p},\mathbf{...
0
votes
3answers
82 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} \\ \beta_4={(n_{30}+...
9
votes
1answer
234 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 ...
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 \newcommand{\transitb}[1]{\stackrel{#1}{\...
5
votes
1answer
63 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)$ $\Delta^...
0
votes
1answer
63 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
101 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: $\...