{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
2answers
101 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
39 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
34 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
77 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
138 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
54 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
37 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
40 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
39 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
47 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
56 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
65 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
28 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
65 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
49 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
249 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
52 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
51 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
38 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
70 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
101 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
76 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
80 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
142 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
160 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
73 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
46 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
67 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
53 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
41 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
80 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
121 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 ...
3
votes
1answer
132 views

TikZ positioning problem

I am trying to draw a more complex one but with no success. I want the one with one stiffness and damper (KR and CR) to be joined with the open end of the one with spring alone (K4). Also I am using ...
5
votes
4answers
156 views

Problem with horizontal alignment in align environment

My MWE, \documentclass[a4paper,11pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} \begin{document} \begin{align} \left(\frac{4}{2 \cdot 2 ...
2
votes
1answer
53 views

\Aboxed with multiple & in align* environment

\Aboxed command in mathtools is used to box an equation with only one alignment operator inside. But how to box an equation with multiple align operators ? For instance, in the following equations, ...
2
votes
1answer
68 views

Align equation which floats to centre

I have this code (which is based in this answer): \[ \SI{0.2}{\micro\second} = (1 - FR) * \SI{0.1}{\micro\second} + (\num{0.3} * FR) * \SI{8}{\milli\second} + (\num{0.7} * FR) * ...
2
votes
2answers
57 views

Spacing our vertical addition

I am trying to type up some linear algebra notes and I am trying to show the vertical addition of 2 equations. Right now I have \begin{flalign*} && \cancel{6u} + v &= 5 && \\ ...
0
votes
1answer
41 views

Aligning two different align* environments

My question is, how can I get the two different align* environments to agree on the equal signs being centred for all six equations on the page (even though there is a line of text breaking them into ...
5
votes
2answers
217 views

How to put a curly brace in the right of three lines within an align-environment

I have a question concerning how to add a curly brace at the right side of three lines in an align-environment. The following is an example of what I'm speaking about: ...
0
votes
1answer
88 views

Multi-line equation groups with one number [duplicate]

I would like to number a multi-line multi-column equation group with one number. If I use \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{align} x&=1 & x&=2\\ ...
7
votes
1answer
100 views

Switching from equation to align changes horizontal width

I am puzzled by why changing from an equation environment to an align environment should change the horizontal width of my equation. Below I provide an example. Sorry, it is not a minimal working ...
4
votes
1answer
115 views

Revtex section heading alignment

I am using REVTex 4-1, for my own personal use, not a paper submission. I like using REVTex and I have gotten somewhat used to it, but for my current purposes I need left aligned subsections ...
4
votes
3answers
288 views

How to align multiple subfigures in a grid?

I have three images and I want to align them in the way that one image is above the other two. Here's an example: How can I achieve this? For my other figures I use the subcaption package, but I am ...
3
votes
1answer
49 views

Align problem in Bmatrix

My latex code is like: \begin{eqnarray*} \underset{a, b}{argmax}= & \begin{bmatrix*} t(a,b,c) u_1(a)+ t(a,b) u_1(a) & [c] \\ t(a,b,c u_1(a) & [d] \\ \end{bmatrix*} \end{eqnarray*}\\ ...
4
votes
2answers
97 views

Proper left alignment in math environment

I've seen this http://stackoverflow.com/questions/2632628/left-align-block-of-equations answer as well as a handful of others, but none of them gives a satisfactory solution. The problem Two ...
8
votes
3answers
506 views

Typesetting a long exact sequence

I am trying to typeset the Mayer-Vietoris sequence (concisely - without the map names above the arrows). Currently I am simply using the AMS align environment with a bunch of \rightarrow, \cdots and a ...
0
votes
1answer
77 views

Aligning Species of a Reaction Horizontally

how do you align the following horizontally: \begin{center} \schemestart \chembelow[3ex]{\chemfig{*6(=-=-(-[,.65]OH)=-)}} \chemsign{+} \chembelow[8ex]{\chemfig{CH_2O}}{Formaldehyde} \arrow{->} ...
3
votes
2answers
56 views

Align enumerate and align [duplicate]

I wanted this: Hence my solution was Solution: \begin{enumerate}[label=(\alph*)] \item \leavevmode\\[-2.75\baselineskip] \begin{flalign*} \mbox{US}\$10 &= \mbox{S}\$10\times1.33&\\ &= ...