{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

3
votes
3answers
38 views

Horizontal alignment of equation and text

I want to make a list of Quantum Mechanics formula like the format of the following picture. But I am confused about how to make the equations align to the left while the text to the right. Usually, ...
23
votes
2answers
334 views

How to number the letters of a sentence?

I need to number the letters of a sentence consecutively. Every letter should have the corresponding small number centered below it (see image below). Does anybody know how to do this? I tried ...
3
votes
1answer
45 views

Alignment of several case environments at the equals sign

I have several consecutive case environments, each containing a pair of equalities. Within each case environment, I have vertical alignment at the equals signs. I would like all of the equalities to ...
1
vote
2answers
25 views

Brackets in two different align “lines” [duplicate]

i want to use a big bracket (\left( , \right)) in an align-enviroment over two lines, so that \begin{align} 0=\left(a+b+c \\ +d+e\right) \end{align} which is not possible, because Latex want me ...
3
votes
1answer
38 views

How to make a box around an equation in align-environment

I would like to draw a frame around one equation to point it out. I used \fbox{...} but it didn't work out. Here is a minimal example where I tried it. Any package suggestions? \documentclass[ ...
5
votes
2answers
42 views

Multiple equations and underbrace environment

I would like to have the same result that the figure below (with others variables of course): I tried this code and it worked well, but for me it is not the right way to do because I need the ...
0
votes
1answer
26 views

Align and underbrace [duplicate]

I got the following LaTeX-code (only an example): \begin{align} A=&0\\ 0=& x y z re+ e\\ 0\underbrace{=}_{\text{with bla bla bla bla}& u+z-24y \end{align} Now, I want that one equal ...
4
votes
3answers
162 views

How to write two *unaligned* multi-line braces on both sides

I have a theorem which is about some 4 conditions, 3 of which are equivalent in one case, and some other three are equivalent in some other case, hence I would like to typeset something like this: ...
5
votes
1answer
39 views

How to combine hyperref and eqref

\documentclass{scrartcl} \usepackage[english]{babel} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage[colorlinks=true,linkcolor=green]{hyperref} \begin{document} \begin{align} ...
1
vote
2answers
52 views

Extra }, or forgotten \right

My MWE: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align} y &= a \\ =& -2c_1\bar{z}_1^2 + 2\bar{z}_1\bar{z}_2 + 2\bar{z}_2 \left ( -\bar{z}_1 -c_2z_2 - ...
0
votes
0answers
31 views

Error trying to align series of equations

I am new to LaTex and I am using TexWorks and PDFLaTeX. This is the following code that I am trying to compile. El Random Fores es muy basico y intuitivo:%$$ \begin{gather} \text{Dado que tienes el ...
3
votes
2answers
136 views

tips to make best estimate on aligning

Hey so I keep on using \ \ {text} to make sure all my equations are aligned. Is there any good ways to do this beside using the spacing systems? Like I had to print my project two times because ...
6
votes
2answers
174 views

Align the n's in the equation

In the following code, how do I align the n's? Here is the MWE: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align} n \propto exp(-U/kT) \notag \\ \Rightarrow \quad n ...
4
votes
1answer
48 views

How to make equations the same size

When I write an equation using the simple \[ and \], it comes out to the correct size, with the fractions bulging above and below the lines and the parentheses surrounding them. But when I use the ...
3
votes
2answers
149 views

Tikz: How to Align the Text of simple Nodes?

I tried to put up a nice little graphic, to make an example for String-Matching. My Problem is the "b" is not aligned with a and c and i can't find a way to handle this: \begin{figure}[h] ...
0
votes
2answers
42 views

Alignment in aligned and aligned[t] environments (2)

The following code almost gives me the alignment that I want. You will see that in the last five lines of the displayed equations, most of the expressions are ridiculously shifted rightward. I want ...
1
vote
2answers
58 views

Alignment in aligned and aligned[t] environments

The following code instructs LaTeX to typeset two different expressions for the square of the absolute value of a certain sum. I have three alignments - one of them is "almost" correct and two of ...
1
vote
3answers
45 views

Alignment in align environment

I would like to align the first "+" in the third and fourth lines of the following code. In the third line, I have "= 3 + [a mess]" and in the fourth line, I have "+ [another mess]" - I don't have ...
5
votes
1answer
53 views

Numbering specific lines in align environment

I want to number specific lines of an equation in the align environment. I've seen how to use gather instead of align here, but putting \usepackage[fleqn]{amsmath} in the preamble messes with the ...
3
votes
3answers
57 views

Vertical align \underset

I have this equation: \lim_{d \rightarrow \infty} \left [ \underset{a\leq x\leq b}{\mathrm{max}_p} \left | f(x) - m(x) \right | \right ] = 0 which produces this: As you can see the max part is ...
2
votes
2answers
70 views

Latex Alignment

So I got help for my LaTeX problem. I am in need of a little more help to get this example to look perfect. I want to perfectly align everything in the words section of each of my equations. I would ...
2
votes
1answer
50 views

Problem with align*, having & inside \dfrac arguments

To center align two equations, I need to place the & inside a \dfrac argument (I am using AMS LaTeX) but if do that, I get an error message and the code does not compile. The only alternative way ...
2
votes
2answers
114 views

Any way to check with a macro if an equation is too long to fit into a single line?

I have some very long equations which span a few lines. I'd like to Break lines automatically. Pagebreak. Have an equals sign both at the end of the first line and at the beginning of the second ...
3
votes
2answers
79 views

Correct spacing when using aligned in cases

I have problems getting the spacing right when using aligned in a cases environment. The following illustrates my problem: \documentclass{article} \usepackage{amsmath} \begin{document} $$ ...
4
votes
2answers
97 views

Align equations with equivalent and equal sign

I am currently trying to get the align environment to work as I want it to work. \begin{align} && a \cdot c + b &= 0\\ \Leftrightarrow && a \cdot c &= -b\\ \end{align} This ...
2
votes
3answers
63 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
25 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 ...
3
votes
1answer
86 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
49 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
100 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
63 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
137 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
33 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
213 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
50 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
98 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
101 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
70 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
42 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
64 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
49 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
32 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
32 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
40 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
53 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
120 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
123 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
49 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 ...