{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
42 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
34 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
35 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
84 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
124 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
80 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
24 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
123 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
55 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
129 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
103 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
131 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
25 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
91 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
33 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
28 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
68 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) ...
6
votes
2answers
130 views

Use of # in align block

I have a chemfig command which involves the use of #. It compiles properly on itself. \chemfig{**[135,405,dash pattern=on 2pt off ...
2
votes
2answers
50 views

Alignment in function definitions

I have the following code for the definition of a function \begin{align*} \varphi_{\sigma}\colon &E \longrightarrow E \\ &(x_{1},x_{2},...,x_{n}) \longmapsto ...
0
votes
0answers
36 views

Problem with \begin{align} [duplicate]

I am using \begin{align} in my paper. Hence unwanted gaps are being created to accomodate the whole \begin{align} content in one page. how to prevent it ?
1
vote
1answer
34 views

Problem with vertical alignment nesting align and aligned

I'm trying to write a good-looking optimization problem in LaTeX using amsmath. The MWE is this: \documentclass[letter, 10pt, conference]{article} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
31 views

Left align 3 different equations

I would like to left align three different equations of three different lengths. As of now I am using this code: \begin{equation} log_{10}M_{200} = ...
0
votes
1answer
41 views

Proper way of formatting equation strings

In much of my writing, I end up formatting relatively long strings of equations; for example, \begin{align*} M &= \int_0^1\int_0^{\sqrt{1-y^2}}\int_0^{\sqrt{1-x^2-y^2}}x\,dz\,dx\,dy \\ ...
1
vote
1answer
41 views

Errors by using align

I have the following code, which generates 4 errors (all of the type "bad math environment delimeter") but I don't know why. \listfiles \documentclass[oneside,12pt]{scrartcl} ...
2
votes
1answer
50 views

Unnecessary vspace for align/equation when it's first on page

I'm using the align environment and now I have the problem that one of my formulas is the first object on a page with some vspace before it. But this looks a bit odd, because it isn't in line with the ...
3
votes
1answer
57 views

Line spacing before and after align*

Just a quick question about line spacing (which seems to account for at least half of my LaTeX woes). I'm writing a proof in align* environment and can't seem to get rid of the spacing before and ...
0
votes
1answer
21 views

How do I make polynom compatible with the align environment?

\documentclass{report} \usepackage{polynom, amsmath} \begin{document} \polylongdiv{x}{x+1} % OK \begin{equation} \polylongdiv{x}{x+1} % OK \end{equation} \begin{align} \polylongdiv{x}{x+1} ...
2
votes
2answers
50 views

How to expand \align mode into two pages by following the end line of the previous page

I have a big matrix and each element of it has many stuff. The problem I'm facing is that the align mode is trying to make each equation to be fitted into one page. For example, in the following code ...
3
votes
2answers
43 views

Flush Text to the Left in an Unaligned Centered Equation

I am looking for a way to write several centered equations with a left-aligned text on each line. In other words, I would like to mix the functionality of flalign with gather (so the first column ...
1
vote
1answer
113 views

mathclap: undefined control sequence

In my preamble I have loaded the amsmath and geometry package and many others that I read are useful when using \mathclap. This is my preamble \documentclass[a4paper,oneside,abstracton]{scrartcl} ...
1
vote
0answers
41 views

cases in align produces errors with Scientific Word-exported file

For some reason I have to edit a tex file exported from Scientific Word, which has the line \input{tcilatex} I downloaded tcilatex.tex from here. However, everything works fine until I try to use ...
2
votes
1answer
47 views

Displaying a system of equations in the variables x and y

Why isn't LaTeX displaying a system of equations properly using the following code? \documentclass[10pt]{amsart} \usepackage{mathtools,systeme,array} \begin{document} \begin{align*} \systeme{y - ...
1
vote
1answer
34 views

Is it possible to make a command within align* environment?

I'm making some math-mode macros, but some of them try to define new commands (to use as variables) within the align* math mode. I've isolated the problem to this MWE: \documentclass{article} ...
0
votes
0answers
16 views

Empty box in proof environment at the end of \begin{align*}… \end{align*} environment [duplicate]

when a proof finishes with an \begin{align}... \end{align} environment, the empty box always appears in the line below. I want the box to be in the same line as the last equation. How is that ...
3
votes
1answer
61 views

How to align separate equations to one side

I'm writing several separate equations using \begin{equation*} equations in here \end{equation*} \begin{equation*} equations in here \end{equation*} \begin{equation*} equations in here ...
2
votes
1answer
85 views

Horizontal spacing in “align” mode

I write gamma symbol with indices in normal math mode as follows; \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} $$ \Gamma^{\alpha} \\ _{\mu \nu} $$ \end{document} This is ...
3
votes
2answers
71 views

Splitting equation in align environment

I am attaching a picture of what I want to achieve. I am trying to use align* environment, and I've read all related questions to this, but with no luck. Can someone tell me a way which gives a result ...
0
votes
1answer
51 views

“Double subscript” error in “align” environment

I saw some questions about "double subscript" but I have a weird situation. I have the following parts in my code: and... I have used almost the same subscripts in both of them, but the latter ...
4
votes
2answers
132 views

frame more than 1 equation (but not all) of an align environment

I think the question is self-explanatory. I have an align environment with four equations and I want only the last two of them framed in a single box. So not separately framed. If I try to achieve ...
5
votes
1answer
79 views

align text and equations in columns in beamer

I have a beamer frame consisting of two columns (top aligned) using the [T] option. The second column contains a align equation block. Even though I am using the [T] option the column containing the ...
0
votes
2answers
69 views

Referencing within an align

The following LaTeX document: \begin{align*} p{(A,RM,OL,O,LC)} &=p(A)\;p(RM\mid A)\;p(OL\mid A,RM)\;p(O \mid A, RM, OL) \\ & \; \; \; \;p(LC\mid A, RM, OL,O) ...
3
votes
1answer
38 views

How to use align* environment inside multirow

I am constructing a table, and trying to use an align* environment inside multirow. Unfortunately I have had no luck in getting this to work so far. This is a minimal working example of what I am ...
4
votes
1answer
63 views

Insert cornered block of text between equations in align

I'd like to insert a cornered block of text centered between two equations in an align environment. Within the block might go an explanation, an aligned environment, a paragraph, etc. I do not want to ...
3
votes
1answer
49 views

Cleveref does not sort self defined tags

Because I have many equations in my document and most of them do not need to be referred to, I always use \begin{align*}...\end{align*}. For the times I do need an equation number I have written a ...
1
vote
2answers
29 views

How to align wrapfigures (not sub-figures) vertically one above the other?

I want to align wrap figures (not sub-figures) vertically one above the other, how can I do that? This is the part of LaTex code where I have this issue: \section{Matériaux Flexibles} ...
2
votes
2answers
65 views

How to adjust alignment and column width (tabular)?

I would like columns 2 and 3 to be aligned to the right hand side. However, it does not seem to work. Though several questions relate to this issue and my question will probably be marked as ...
1
vote
1answer
102 views

Shorthand for \begin{eqnarray*} … \end{eqnarray*}

To align a long string of symbols I usually use \begin{eqnarray*} ... \end{eqnarray*}. I would like to know if there is any convenient alternative to this environment. For example, I know that ...