{align} is an environment provided by math packages that permits multiple related equations to be aligned at a common reference point, usually a sign of relation. For general questions about aligning document elements, use {horizontal-alignment} or {vertical-alignment} instead.

learn more… | top users | synonyms

1
vote
2answers
29 views

Name a formula in align

If I have a (centered) formula/equation (in my example A+B=C) in align. How can I name this formula? I want the text to be on the right side. I know that hfill doesn't work. \begin{align*} A+B=C ...
3
votes
1answer
24 views

How do I align text after the table with column where the table is started?

After the caption of the a table, I have few lines of text which I like to be aligned from where the table is started. The table is centered aligned, how can I find the column from which the table is ...
4
votes
1answer
75 views

Weird Behavior of Math mode in beamer

I wanted to use align* environment but it's somehow not working. It's working with regular $$ but the problem is then i have to customize formatting with \hspace and \vspace which defeats the purpose ...
2
votes
1answer
45 views

How do I put a table following the other table in a two-colmuns layout?

my page is of two columns layout and I want to put two tables in consequence on the right column like below: text here Table 1 goes here text here text here Table 2 goes here text here while ...
3
votes
3answers
92 views

Adding alignment marker & gives: Error: Extra }, or forgotten \right \end{align}

I have a weird problem with the Align environment in combination with brackets spanning more than 1 line. When I add alignment markers (&) to my equation in the Align environment I suddenly get an ...
1
vote
1answer
52 views

Centering images

I made my images in Ipe. But there are some not centered: But, there are others centered: I use the same code for both (just changing, of course, the files names): \begin{center} ...
8
votes
1answer
132 views

math equation with underline has different heights

I struggle with some equations in my research paper. I want to underline some variable, because they are complex, but if I use \underline the line is not at the same level in my example: ...
2
votes
1answer
27 views

tikzexternalize and align environment - errors

I am experiencing a problem when using externalize and the align environment. In some weird cases the pdf of tikz figures are not generated properly and they have to be re-generated every time that ...
2
votes
3answers
209 views

Equations with operations next to each line

I basically want to type a derivation of a specific mathematical formula with the operations that have been done in each line, for e.g.: U = R * I |:R U/R = I Handwritten it looks like this: ...
1
vote
2answers
47 views

Aligning equation including multiline expressions

I have a derivation and have problems getting it to look nice. The derivation goes over several lines, so I want the = signs aligned. That is easy either using align or eqnarray. However, one of the ...
3
votes
2answers
96 views

breaking equation and different alignments

I would like to break the following two equations. I would like for them to have the colons aligned together, but besides that they should have their own, unique alignment points. Please see the ...
1
vote
1answer
99 views

Why I can not align this equations?

I could can align first line with other lines \begin{eqnarray*} \dfrac{\partial^2 P_{ijl}}{\partial \tau_l \partial \phi} & = &\dfrac{\partial}{\partial ...
4
votes
1answer
68 views

Detect actual start of text

I have conditional which is sometimes suppressed, and if it gets typeset needs to be noted. If the conditional text begins with an environment which adds vertical space prior to the actual start of ...
0
votes
2answers
40 views

multiple aligns and line breaking

I am trying to have multiple alignment in my equation in addition to line breaking. Here is a mwe illustrating my problem: \documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath, ...
1
vote
2answers
60 views

`\tag` and `\Rightarrow`

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{fullpage} \usepackage{secdot} \usepackage{setspace} \setlength\parindent{0pt} \title{\vspace{-3em} Quantum Mechanics} ...
3
votes
1answer
63 views

Avoiding extra vertical space between groups of equation environments

I need to write a long list of numbered equations. I know that I could use the environments gather or align, but either with the gather environment I cannot have any alignment or with the align ...
1
vote
0answers
48 views

Numering equations within tabular

My first post here so please bear with me! I am looking to submit a paper to a SIAM Journal, which requires me to use their template. I have my manuscript complete, but when copied/pasted into the ...
2
votes
1answer
28 views

Forest package: Left-align all nodes on every level

The tree below looks exactly the way it should. But is a more elegant way to left align all nodes on every level without explicitly specifying tier on every node? This is error-prone and really ...
3
votes
1answer
140 views

Setting the right distance to “=”

Consider this expression: How can I code this in LaTeX such that everything is aligned at the "=" sign such that the distance to the left and the right of the "=" sign at each line is the same as ...
0
votes
1answer
31 views

Labels on left in align environment [duplicate]

I am using the align environment, but wish my numbering of equations to be on the left-hand side of the page. Is there an easy way to do this?
4
votes
2answers
37 views

Left-align a split equation

I am trying to left-justify a split equation. I would like to have the first line left-justified, and have a hanging indent on the second line. I used flalign successfully for other equations that ...
3
votes
2answers
50 views

Space is not working in latex

I want to have the following output . For this purpose , I have the following code . \begin{align*} Maximize \mathbf{z = x_1+2x_2+3x_3} ...
8
votes
2answers
113 views

DeclareMathOperator and align environment

Minimal working example: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &s + t &\text{foo}\\ &\sin x &\text{bar} \end{align} ...
11
votes
2answers
121 views

Need to use \pageref to a page that has *-equations

I am sure that this has been asked before, but I don't seem to be able to find the answer. I need to make a reference to a page. That is, I would like to use \pageref{}. I specifically need to make a ...
1
vote
1answer
38 views

Aligning equals signs across Beamer blocks

I've got a Beamer frame consisting of two blocks that contain some equations: \begin{frame} \frametitle{Modell} \begin{block}{A $(X_{t})$} \begin{align*} X_{t} = \epsilon_{t} \quad ...
2
votes
2answers
121 views

Align a linear program

I want to write my linear program so that it looks like in this picture: meaning I want to have the following: text aligned to the left all the x_{j} variables to be one another the i= and j= ...
4
votes
1answer
43 views

Missing } Inserted?

I wrote \begin{align} $\lim_{x \to 2} f(x)$ &= $\lim_{x \to 2}\dfrac{2x^2-5x+2}{5x^2-7x-6}$\\ &= $\lim_{x \to 2}\dfrac{(x-2)(2x-1)}{(x-2)(5x+3)}$\\ ...
6
votes
3answers
85 views

Aligning vdots with terms in a system of equations

I am attempting to write a system of linear equations that looks like this: A_{11}x_1 + A_{12}x_2 + \cdots + A_{1n}x_n = y_1 A_{21}x_1 + A_{22}x_2 + \cdots + A_{2n}x_n = y_2 \vdots \vdots ...
2
votes
1answer
40 views

Align all parts of the equation array and comment it

I would like to align all parts of the equation (Not just the '=' sign) to make it looks better and comment it afterwords. Can someone please help me. Thanks S.L. \documentclass[12pt]{article} ...
3
votes
1answer
87 views

Write an extremely wide equation in LaTeX

How do you write an extremely wide equation in LaTeX without any type of breaks/align/. Do you need a special type of class? Can one use A3 or bigger format? It's not for printing rather just to ...
4
votes
1answer
80 views

multiple equations with same number

I can't seem to make this work. I want the matrix and the second equation with the same equation number. \begin{equation} \begin{aligned} [{\bf Z}] &=\begin{bmatrix} R_1+j\omega L_1 & ...
3
votes
2answers
31 views

Align equals inside case statement

I have the following code: \begin{equation} \frac {\partial C}{\partial {z_k}}= \begin{cases} - \frac {1} {y_i} {y_i} (1-{y_i}) = y_{i} - 1 & k = i \\ \frac {1} {y_i} {y_{i}^{2}} = y_{i} ...
0
votes
2answers
85 views

Aligning an equation [duplicate]

I have an equation like this: \begin{equation} \begin{split} |a+bi|=\sqrt{a^2+b^2}\\ |a+bi|^2=a^2+b^2\\ |a+bi|^2=(a+bi)(a+bi)\\ =(a+bi)(a-bi)\\ =a^2+b^2i^2\\ =a^2+b^2 ...
2
votes
1answer
38 views

making the text to align with the second level bullet above

\subsection{Previous Studies} \frame[label=exampleframe]{ \frametitle{Previous Studies} \begin{itemize} \item There are many studies There are many studies There are many studies There are many ...
0
votes
1answer
43 views

is there a reason not to use align?

I have plenty of equations, some of them single lined and some of them with multiple lines which I normaly using the align environment. Now my question is: Is there a reason to use equation over ...
4
votes
1answer
61 views

TikZ: How to center the text in a node with the scrartcl class

I want to draw a probability tree. In Beamer it looks good. But in scrartcl the texts in the node are aligned right. I want the text to be centered. How can I solve this? ...
3
votes
1answer
77 views

Bracket problems when splitting multiline equations

Basically, I have the following latex code: \begin{align*} + \left( \left[ \sum_i y_i x_i(r) - \frac{1}{n}\sum_i y_i \sum_i x_i(r) \right] \left[ \sum_i x_i^2(r) - \frac{1}{n} \left( \sum_i ...
3
votes
3answers
132 views

Problem aligning multiple pgfplots due to different axis label sizes

I have two plots that comes back to back in my paper. One of these plots is generated from 1000 data samples while the other one from 320. The problem that I'm, facing right now, is that plots are ...
1
vote
2answers
53 views

big equation in flalign

I am trying to use a big equation inside flalign. The biggest chunk is the third line and I couldn't figure out how to something akin to \shoveright in this third equation, as I want is ending on the ...
2
votes
0answers
23 views

Multiple labels [duplicate]

I have been using the following piece of latex code \begin{equation} \Phi(A_n) = \left \{ \begin{aligned} &\max \left [ L_n-A_n, 0 \right]\\ &\max \left [ L_n-A_n, K ...
6
votes
4answers
87 views

Alternative to aligned environment for enumerate

I'm using the aligned environment within an itemize environment. I need the aligned environment so the label for the \item will be on the same line as the equation. For example: \begin{enumerate} ...
3
votes
1answer
79 views

How to left align the element when usig begin align, not the whole equation?

I am using begin align command and want to left align my equation. I learned that using flalign I can left align the whole equation. But this is not what I need now. I want to left align my equation ...
3
votes
1answer
70 views

\begin{align} not working when centering math equation

I've read a few posts here about center math equations and all of them make use of \begin{align} *Math symbols* \end{align} Now I've included the \usepackage{amsmath} before the begin document ...
3
votes
1answer
51 views

Dots in a system of constraints

I would like to write a linear program as follows: The text above and below is shown only to indicate the position of the system on the page. I wrote \documentclass[a4paper,11pt]{report} ...
3
votes
2answers
37 views

Mini-alignment of a single equation?

So I have this problem, whereupon I would like to do some 'mini-alignment'. I have googled for ways to do this, but I get results based on aligning whole equations. Here is my current output: What ...
3
votes
1answer
36 views

Unwanted page break before align

I am having some issues with the positioning of a page break with align. My code is roughly the following. \documentclass{article} \usepackage{amsmath, amsthm} \begin{document} %Lots of text to ...
5
votes
1answer
101 views

Alignment for Multiple Equations

I have equations in two different align environments. How do I align them equally in such a way that the = sign is in the exact position following the sequence. The MWE: ...
5
votes
1answer
89 views

New command for local setlength

I'm looking for local space settings after math text, e.g.: \documentclass[a4paper,fleqn,leqno]{article} \usepackage{amsmath} \begin{document} \begin{align*} ax_{1}^{2}+bx_{1}+c=y_{1} \\ ...
5
votes
2answers
62 views

Centering a tag on an align environment

I want to create a list of two items, labeled (1) and (2), with a $\star$ tagged to the left, and centered vertically in between the (1) and (2). If I use the following: \begin{align*}\tag{$\star$} ...
3
votes
1answer
43 views

Placing a tikzpicture next to an align and add an equation number

I want to place a tikzpicture next to an equation and equip both of them together with an equation number. The reason is that the tikzpicture is a kind of explanation (visualization) for the equation. ...