{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

2
votes
1answer
52 views

How to write an array of equations without using eqnarray?

I heard that it is recommended to use align or array. But how should I do so to replace the use of eqnarray? Thank you very much.
3
votes
2answers
44 views

several maps and images in a column like shape

I would like to have 4 maps in a row and some images of it below. The best I came with is \begin{align}\label{sumary isomorphisms} (\textrm{Im} H, [,]) \rightarrow \mathfrak{su}(2) \rightarrow & ...
2
votes
1answer
27 views

Alignat not working properly

Consider this minimal example : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{alignat}{2} &\frac{1}{2} log(\langle d_x, d_x \rangle + ...
3
votes
2answers
33 views

Align arrow using its midpoint

I am displaying arrows between three equations. I am using align to line up the "lesser than"-sign, but I would like the arrows to be lined up as well. And, well, they are, but they are lined up at ...
1
vote
2answers
70 views

Problem with align*

I want to create the following: So I wrote this code: \begin{align*} n & = & 3: S_3={\{1,2,3}\}\\ \textnormal{Subsets} & : & \phi,{\{1}\}, {\{2}\}, {\{3}\}, {\{1,3}\}\\ n & = ...
4
votes
3answers
81 views

Tabs in cases environment in an equation

I would like to have a few tabs in a cases environment so that the "for"s and the "u"s in my example (and in the best case the "j"s as well) are on one line, respectively. I tried different ...
0
votes
1answer
24 views

Align issue: Either missing } or paragraph ended before \align complete. Help?

Let $X_1,X_2,\ldots,X_m$ be independent standard normal random variables. Then \\ \begin{align} \textbf{E}(X_{1}^2+X_{2}^2+\ldots+X_{m}^2)^n &= ...
2
votes
0answers
36 views

What could make align use so much spacing?

Apologies in advance for not creating a compiling example, but when trying to duplicate just the related code to an empty .tex project, the phenomena does not appear. I have the following code: When ...
3
votes
1answer
56 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
5
votes
1answer
75 views

Insert logo in \cventry for modercv (classic style)

I'm using moderncv for my CV. I tweaked with moderncvstyleclassic.sty quite a bit and I'm almost there in terms of the result I want. There's just 1 last thing I cannot solve: I would like to add a ...
3
votes
2answers
37 views

Equation inside Intertext{{} under falign{} environment

Can i use $ Equation $ inside and outside \intertext{} under flalign environment. Because of these two lines my all equations got justified to left. Please help in this regard. Before adding it is ...
3
votes
0answers
38 views

Difference between equation and align using tex4ht

I'm trying to produce an html copy of my book, which is written in LaTeX using tex4ht. Things are going better than I expected. But in some places I use the equation environment and in others align. ...
3
votes
2answers
49 views

Aligning multiple lines in long equations and arranging the line breaks in `\align` environment

I have the following code sample: \begin{align} \pi^{(1)}_{i j} \enspace & = \enspace -\frac{1}{4}\eta^{\lambda \sigma} \left( \eta^{\mu \alpha}\eta^{\nu \beta} + \eta^{\mu \beta}\eta^{\nu ...
5
votes
1answer
65 views

Align \sim with \overset{}{}

I am trying to align the \sim (i.e. ~) symbols but I cannot get it to work. The problem arises because the first \sim has text on top of it. This is the two versions of code that I tried out, with ...
1
vote
1answer
29 views

Using \\ in environments inside the \begin{tabularx}

I have the following code: \begin{table}[h] \begin{tabularx}{0.75\textwidth}{ m{4cm} X } & \textbf{Derivations} \\ $v=v_0+at$ & line 1\hrule \\ ...
1
vote
0answers
45 views

Make some letters or numbers at the right hand side of document

To shift letters or digits to the right hand side of the document, I use \hfill but when a sentence used up the line, the \hfill will move whatever you want to appear on the right to the next line and ...
0
votes
0answers
26 views

aligned equation block error [duplicate]

Trying to create aligned equation block , seems that i've problems using inside with \left[\right]... \begin{equation} \begin{aligned} ...
1
vote
0answers
52 views

Align decimal point & proportional font

I have found a couple of solutions how to align row of numbers in table environments for example here and here. From a philosophical point of view can I use these solutions with proportional fonts ? ...
0
votes
1answer
60 views

center align equation in ‎\documentclass[11pt,twoside,fleqn]{book}‎

I used the ‎\documentclass[11pt,twoside,fleqn]{book}‎ for set formulas left, but I want to put formulas to center in some cases like original type without [fleqn]. What command do I use? ...
2
votes
1answer
78 views

How to get a large division symbol?

I'm using: \documentclass[journal,transmag]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \usepackage{breqn} \begin{document} \begin{align} something&\left(\sum_{n}\right.\nonumber\\ ...
2
votes
2answers
47 views

place colorbar in subfloat array

I have created a subfloat array that is showing different heatmaps that I generated using matlab. This works very well until I want to include a colorbar I generated with tikz. I know that my ...
3
votes
1answer
54 views

How to draw these figures in the same line

There are the figures and its code: \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows, ...
12
votes
4answers
1k views

Can I get $$…$$ to behave like \[…\]?

Is it possible to modify LaTeX so that good old $$...$$ behaves like \[...\] (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...
0
votes
1answer
56 views

How can I adjust these draws in the same horizontal line?

How the circuits are: I tried to use \begin{circuitikz}[american voltages, baseline=(current bounding box.base)] instead of \begin{circuitikz}[american voltages, baseline=(current bounding ...
3
votes
1answer
37 views

Unknown error with align

What is wrong with this align? I get error message when I compile it. Below is the code: \documentclass{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
62 views

Individual equations in multiple columns with individual numbering

I have a number of short equations and I want to show them in two columns. Essentially: A = B (1) || C = D (2) E = F (3) || G = H (4) I first tried the flalign environment (I would prefer this ...
2
votes
1answer
74 views

Aligning The Title, Autor, and Date in the header of a Beamer Poster

I am using the beamer package and I have a title set at the top of the page, but I want to left align the title. So far I have this for the title portion: \documentclass[final]{beamer} ...
2
votes
4answers
136 views

How to align one equation with another multline equation

I have two equations: The first equation needs to be broken up over two lines (e.g., with multline) so that the rest of the equation is right aligned on the second line. I would like to have the ...
5
votes
2answers
130 views

What is the difference between align and equation environment when I only want to display one line of equation?

I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment ...
3
votes
1answer
51 views

Align-like environment in a column of array

I have an array in which one of the columns is a polynomial, and I would like to align the terms of the polynomial for each row of the array. My hack is to use \phantoms all over the place, but is ...
3
votes
1answer
55 views

\begin{align} not working as expected

In this small snippet of code, I'm doing quick derivation to arrive at an equation to be used later in the analysis: $ |\vec{F}|=q|\vec{v}||\vec{B}|sin(\theta)\\ m\frac{v^2}{r}=qvB\\ ...
0
votes
0answers
14 views

Align environment produces double footnotes [duplicate]

I would like to add a footnote in the align environment. Unfortunately this produces the footnotes twice: \begin{align*} \footnote{Hey ho!} \end{align*}
2
votes
1answer
154 views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
2
votes
2answers
68 views

How to underline in math mode with ampersand anchor?

When I use the ampersand & in align for positioning I loose the underline function. Is there a (simple) way of underlining the last math line completely? ...
0
votes
1answer
30 views

Parenthesis Size in a multiline equation

How can I use \left(.... \right) which automatically adjust size of parenthesis with it's inside content, in a multiline equation in \begin{align} and \begin{equation} environment.
2
votes
1answer
34 views

Why does & fail to align things properly, here?

\begin{align*} f(x) &= a x^2+b x +c & g(x) &= d x^3 \\ f'(x) &= 2 a x +b & g'(x) &= 3 d x^2 \end{align*} gives the four equal signs are aligned But ...
2
votes
1answer
31 views

How to left align sub-equations in which some sub-equations are split across multiple lines (with their own alignment)

I have a set of four sub-equations, which I each want numbered and left-aligned. The second and third of these sub-equations are too long for one line so I am using the split environment to manually ...
4
votes
2answers
41 views

Change size of font of subscript of underbrace in align environment

I would like to have a bigger subscript S under the underbrace in the following equation and appreciate your help. \begin{align} K&=\frac{E}{(1+i)^r}\cdot \underbrace{\left ...
1
vote
1answer
32 views

How to add comments in align environment [duplicate]

I find it is necessary to add some explanation in a series of equations. Ideally, I would like to get something like the following picture (Resnick 1999). As you can see, the equations are still ...
6
votes
3answers
89 views

Equation number in aligned environment after last line

I'm using aligned inside align as follows \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x =&22+2 \nonumber\\ =& \begin{aligned}[t] &5+3\\ &-3+4\\ &+15-0 ...
2
votes
1answer
53 views

Remove vertical space around align equations

Formed with the alignment occurs in the equation some gaps. I tried to indicate with red arrows. This is without gaps like I mentioned with the ellipse how can i do? Sorry for my English. ...
0
votes
0answers
20 views

Matrix with 11 columns, 1 row split in a matrix with 10 columns and 2 rows [duplicate]

I want to make a row matrix , with 11 columns (and a single row). I type the following: \begin{align} \hat{B} & = \begin{pmatrix} 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 ...
2
votes
3answers
67 views

Text beneath two function graphics inside of a figure

Is there a way to put extra text under some function plots in the following code? I need them to appear side by side on the page in the same figure and I do not what to use an extra caption. The text ...
3
votes
1answer
60 views

tikz circle with number change vertical space between lines

Arg, i try to replicate the diverse answers using tikz i read into this post and in this post, without success, my circle explode the space between lines. Don't understand why the result is ...
0
votes
2answers
35 views

Aligning two equations without losing enumeration

I have following two equations which I want to align following two equations (equality signs have to match), without losing their enumeration: \documentclass[a4paper,12pt]{report} ...
2
votes
3answers
101 views

Aligning an Expression - ! Missing } inserted

I am getting this error when I run this code. It all looks exactly like a different instance in which I was aligning stuff and had no problem: \begin{align} B \times B &= \lbrace ...
4
votes
2answers
81 views

Align environment with multicol gets cut off even with allowdisplaybreaks

MWE: \documentclass{article} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} \usepackage{amsmath,amsfonts,amssymb,amsthm} \usepackage{enumitem} ...
3
votes
1answer
73 views

newenvironment: error with \begin{align} and \end{align}

In the example below, an error is caused by \begin{align} and \end{align} but I do not see why: \documentclass{book} \usepackage{amsmath} ...
4
votes
4answers
90 views

Aligning sums in math mode

What is the best way to typeset this? I found a way to do it, but it seems like an ugly workaround, and the + signs aren't aligned right. The code I used: Let's evaluate the value of: ...
0
votes
0answers
47 views

Editor text color in align environment

I am using TeXworks to type up very long assignments. For the types of assignment I type up, I usually have many lines of equations of all sorts with interjections of normal text as explanations and ...