{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

4
votes
2answers
30 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
19 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
59 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
42 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
63 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
54 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
30 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
66 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
62 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} ...
2
votes
1answer
31 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
78 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
27 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 ...
1
vote
0answers
30 views

Too much spacing of the paragraph before a long equation in Align environment

I am typing my paper and I get a very awkward page before an Align environment which contains a long equation (there are too much spacing in the first page, the second page contains only that long ...
2
votes
1answer
26 views

Nested Arrows with tkz-linknodes

I'm trying to replicate a notation used in Hauser's Introduction to Logic, using the tkz-linknodes package. The first obstacle was getting the arrows to appear on the left, not the right. But the main ...
0
votes
1answer
35 views

Continue underbrace on next line

I have the following MWE: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{equation} \underbrace{\begin{bmatrix} \Delta \dot{\boldsymbol{x}}_{2,1}\\ \Delta ...
4
votes
3answers
98 views

How to make v/h distance equal within the figures?

Hi, every one, do everyone learn how i can make the vertical and horizontal distance even(equal) the code is as follows: \begin{figure} \begin{minipage}[t]{0.5\linewidth} \centering ...
1
vote
2answers
58 views

Spacing in align environment

I am familiar with the \flushright and \hfill commands for positioning text to the far right of the page. However throughout my document I am using the terms (x\rightarrow\infty) on many lines and I ...
3
votes
2answers
52 views

too much space for align if I use double space

I'm using a Latex template. They provide the following command for double space %% To produce output with the desired line spacing, the argument of %% \spacing should be multiplied by 5/6 = 0.8333, ...
3
votes
3answers
50 views

How to align two systems of equations side by side?

I have the following systems of equations and I want them to be side by side, each of them having a brief description below, which is the text I've written after the \end{cases}\? Don't get too in ...
3
votes
1answer
76 views

Spacing above align within an enumerate

So I've tried \vspace, \abovedisplayskip=0pt and a few other things and nothing seems to be doing what I want. I want to make it so that the align is on the same line as the item. So for example the ...
0
votes
0answers
15 views

Reduce vertical spacing between Text and math-block [duplicate]

I am trying to reduce the space between an align environment, above and below, and the surrounding text. I tried using vspace. It works above, but below it produces wierd results. Is there an elegant ...
3
votes
1answer
75 views

get matrix aligned

How can I make the third matrix beginning from the second line? And how to adjust the spacing of the second matrix since there are some items overlap together? Thank you very much! ...
3
votes
1answer
80 views

aligning equation

Regarding the enclosed MWE I would like to get the \sums aligned. But using a second & in lines two and three leads of course to a problem with line one. How do I get the desired result? (Looking ...
1
vote
1answer
41 views

Space between multiple columns in align* too large

I want an align* environment with two columns, to display two equality signs per line, both aligned to the corresponding equality signs in the other lines. For example: \begin{align*} a &= 1 ...
2
votes
1answer
48 views

Double underlining an answer while keeping the equations aligned at “=” symbol

I've just recently started using LaTeX for homework and I'm wondering how I can double underline an answer while still keeping the equations aligned at the "=" symbol? I have this piece of code: ...
5
votes
1answer
46 views

Align - invisible equals sign?

I googled it and I couldn't found it. And I am really sure this is a question that a lot of people ask, but I really googled it and couldn't find it. Is it possible to use an "invisble equal sign" in ...
5
votes
3answers
83 views

Formatting equations to display next to one another

I want to format my equation as follows: x = a y = b x = c y = d Below is the actual Latex code. \begin{align*} kx_{N-1}^2\lambda_{N-1}^2 &= m(x_N - x_{N-1})^2\\ ...
4
votes
1answer
112 views

Centered set of equations with single numbering

If I want a set of centered equations, \begin{gather} \end{gather} does the job: \begin{gather} i^2 = j^2 = k^2 = -1\\ ij = -ji = k \end{gather} If I want a set of equations with single ...
1
vote
1answer
36 views

Why are the skip lengths ignored in align?

I created a new command \mathloose that stretches the spacing in an equation by suitably adjusting \thinmuskip \medmuskip and \thickmuskip lengths. The command works just fine in \[ \] and \( \) but ...
1
vote
2answers
44 views

Multiple labels for one line of alignment

I have these four equations thus aligned, and would like to label each of them separately, placing the labels to the left of the two equations on the left and to the right of the other two. So far, ...
3
votes
1answer
31 views

Vertically equalities in align should be even

I want to know how to make a proper align where the equalites should be even vertically. \begin{align*} \Gamma(\lambda_{1})\Gamma(\lambda_{2})&=\int_{(0,\infty)^{2}}\phi(u,v)\, ...
4
votes
1answer
35 views

How to avoid empty page in an align environment

I have the following long code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
3
votes
1answer
40 views

Align legend label to text

I have this MWE. \documentclass{article} \usepackage{pgfplots} \usetikzlibrary{patterns} \definecolor{nrgray}{HTML}{F0F0F0} \newcommand{\graphTripleData}[4]{ \begin{tikzpicture} \begin{axis}[ ...
1
vote
2answers
28 views

Breaking the line

I have the following code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
1
vote
1answer
91 views

Easy and robust way to vertically align text and images side by side

Is there any syntactically easy and robust solution of how to place a image right (or left) to a text with correct vertical alignment (and appealing horizontal spacing)? By syntactically easy I mean ...
6
votes
3answers
131 views

Double align in equation environment

I have four lines inside an equation environment, and I'd like to align the first with the third and the second with the fourth. This is what I got so far: \documentclass{article} ...
3
votes
2answers
93 views

Aligning multiple rows and columns with different number of equations (Align environment)

I am trying to achieve the following structuring with an align environment: Each of the first two rows has 2 equations, which should be aligned. In the third and fourth row, there should be one ...
2
votes
1answer
27 views

Error while equation splitting with align environment

I am splitting an equation using the following command: \documentclass[12pt,letterpaper]{report} \usepackage[cmex10]{amsmath} \begin{document} \begin{align} \delta \dot A ...
6
votes
4answers
128 views

Align multiple equations with parts inside root

I am having trouble aligning the following inequalities in such a way that, on the right hand side, the first bracketed parts within the cube root are aligned below each other. Additionally i would ...
2
votes
3answers
57 views

Using Align across a list of theorems

I'm trying to align a list of axioms at the equal sign but I can't get align to work across my \begin{ax} \end{ax} tags. \newtheorem{ax}{Axiom} \begin{align} \begin{ax}[inf assoc] $c_0 \sqcap (c_1 ...
2
votes
1answer
27 views

Alternate line alignment, is it possible?

I want the equations to be aligned, and the "for blah" parts to be left justified. I have tried using align, but to have the equations and "for blah" parts in separate columns gives a bad box. Help? ...
3
votes
3answers
132 views

Make big fractions look nicer

I've got a few lines of calculation that involve large fractions and it is looking horrible on Latex. Does anyone have any suggestions as to how to make the fractions bigger with more space so that ...
0
votes
1answer
195 views

Latex showing “undefined control sequence” error when using cases inside align*

I am trying to use LaTeX to run the following code: \begin{align*} A\left(x\right)&= \begin{cases} 1, &\text{if } x \eq 1\\ 0, &\text{otherwise} ...
7
votes
1answer
143 views

Arabic with Latin mathematical notation

I would like to write math formulas to look like the picture below: I have the following segement of code, for example \documentclass[10pt,a4paper]{report} \usepackage{amsthm} ...
1
vote
1answer
29 views

How do I left, center and right align within formulas

I am struggling getting the alignment in a formula the way I want. The following snippet \documentclass{article} \usepackage{amstext} \usepackage{amsmath} \usepackage{amsfonts} ...
3
votes
2answers
96 views

Align: Words next to the numbering

\begin{flalign} x &= 4^2 - 1\\ &= 16 - 1\\ &= 15& \end{flalign} The code above would result in (1) to the right of x = 4^2 - 1, and so on for each line. I want to put normal ...
1
vote
1answer
35 views

Custom spacing in aligned environment

How can I add an arbitrary horizontal spacing in an aligned environment? \hspace{} and \qquad don't work. \usepackage[utf8]{inputenc} %\usepackage[latin1]{inputenc} %Zeichencodierung ...
1
vote
1answer
32 views

global align parameters across items

I've read questions asking about align across multiple environments, but still am stumped about how I might address this situation. The following code: \section*{Solutions to Practice Problems} ...
3
votes
2answers
73 views

Aligning two parts of a statement within an enumerate block

\begin{enumerate} \item Simplify the following symbolic statements \begin{enumerate}[(a)] \item $(\pi > 0) \wedge (\pi < 10)$ & [Answer: $0 < \pi < 10$] \item $(p \geq 7) ...