{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

0
votes
1answer
40 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
119 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
62 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
76 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
61 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
79 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
77 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
82 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
49 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
71 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
60 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
84 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
122 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
45 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
55 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
33 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
37 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
52 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
30 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
111 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
152 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
127 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
30 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
135 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
65 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
29 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
149 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
444 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
183 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
33 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
107 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
44 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
37 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
80 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
140 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
59 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
41 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
40 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
52 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
58 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
67 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
29 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
69 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
58 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
317 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
56 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
54 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 - ...