{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 question about aligning document elements, use {horizontal-alignment} or {vertical-alignment} instead.

learn more… | top users | synonyms

6
votes
1answer
66 views

How can I split and align this series of equations?

I know this is an issue that comes up frequently, but I keep running into issues using all the suggested examples (breqn, amsmath; split, align, etc). Here's what I have: ...
5
votes
1answer
59 views

Aligning equations across slides (/only)

Goodday, I am currently working on a presentation on the Calculus of Variations. In it I present a proof for the Euler equation. Currently I use the following Latex code: \begin{frame} ...
0
votes
0answers
35 views

Number all equations in align [duplicate]

In the align environment you can put two (or more) equations on one line: \begin{align} x+y &= 1 & x+z &= 1 \\ x+w &= 1 & w+z &= 1 \end{align} By default this results in ...
7
votes
2answers
111 views

Align equations with conditions

I am using the following equation with boundary conditions, I would like to position the equation centrally aligned and would like to keep the boundary condition to the right. But the equation is a ...
4
votes
3answers
64 views

How can I make a single-aligned row under two double-aligned rows in an equation?

I have an equation that I would like to align like this (the x is actually \times): A = BBBBB CCCCCCC x DDDDD = EEEEEEE FFFFF I have tried the align environment, align with nested ...
4
votes
1answer
58 views

Using \left( & \right) around amsmath's align delimiter (“&”)

I want to align equations (using the align environment from the amsmath package) inside matching \left( and \right) commands. For example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} ...
5
votes
3answers
120 views

How to align the middle of some words

I want to align the middle of a "word" with something else. Let me explain. The following is what I have. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} a&:=b\\ ...
2
votes
0answers
31 views

How can I label two equations within the same align environment? [duplicate]

How can I references equations that are on the same line? Here is an example: \begin{align} & a_{11} = b_{11}, & a_{12} = b_{12}, \label{eq1} \\ & a_{21} = b_{21}, ...
33
votes
4answers
2k views

What does a double ampersand (&&) mean in LaTeX?

I've seen several answers that use the double ampersand, but I can't figure out exactly what it does. I tried this out: \begin{align*} \frac{3x + y}{7} &= 9 & \text{given} \\ 3x + y ...
7
votes
1answer
41 views

Automatically reference a set of equations in align

Is there a way to automatically refer to a set of equations in an align environment? E.G. I would like this to read "From Eqs.(1-3), we can clearly see..." \documentclass{article} ...
9
votes
5answers
263 views

Left align in math environment with every element over each other

I would like the elements in my math environment to be left aligned, so that each element stands over each other, like in the given example below. I have managed it using \hspace and \qquad, but ...
3
votes
3answers
125 views

How do I horizontally align equations with graphical calculus?

I have a graphical proof in category theory that I wrote with TikZ and the align environment (Thanks to Henri's answer in this question). The diagrams on each line have a recurring feature, a vertical ...
4
votes
1answer
42 views

Horizontal alignment with align and cases

I have a cases environment inside an align environment, and I'm trying to align part of one line of the align environment with part of the cases environment via an ugly \phantom command. Here's a ...
2
votes
0answers
27 views

How can I use align inside itemize without a newline? [duplicate]

I would like to use align inside of itemize as an item, but without a newline. How can I do this? MWE \documentclass[a5paper]{scrartcl} \usepackage{amssymb, amsmath} % needed for math ...
3
votes
1answer
61 views

How to control equation labelling in “align” environment?

I would like to write something of the form: \begin{align} c_1 & = 1 \\ c_2 & = 1 + 2 \\ c_3 & = 1 + 2 + 3 \\ & \; \; \vdots \end{align} I would like the first three ...
5
votes
3answers
72 views

left alignment for equation by using aligned

I used equation to write my Comment set. But when I used aligned, it doesn't show a left alignment. This is my code : \begin{equation} \begin{aligned} Comments=\{\{7322,{""}\},\{7424,\text{"remove ...
1
vote
1answer
38 views

Auto align is not straight

I have this code: \documentclass[11pt,a4paper]{report} \usepackage[utf8x]{inputenc} \newcommand{\lt}{\latintext} \newcommand{\gt}{\greektext} \usepackage[english,greek]{babel} \begin{document} ...
1
vote
3answers
88 views

How can I reference a formula with an on going numbering?

I work with LaTeX for long time and I used eqnarry. But that's obsolete so I gave equation and aligned a try. The problem is, that if I reference to my equation it shows the chapter numbering (?), but ...
1
vote
1answer
79 views

Text in flalign/align

My code sets my equations weirdly to the left. I the equations to be on middle and text on put to right. \begin{flalign*} &&I&= LA&& \text{ $I$ voidaan myös laskea kaavalla} ...
4
votes
2answers
147 views

How to reduce the size of fractions typed in align environment?

When digit fractions align environment, this goes with a size \displaystyle. But I want the size is like the one shown in a paragraph. I tried with \scriptstyle but I get letters too small and the ...
9
votes
2answers
153 views

How to add equations on top of arrows?

I have the following matrix: $$ \left[ \begin{array}{ccc|c} -4&2&-2&10 \\ 1&0&1&-3 \\ 3&-1&1&-8 \end{array} \right] \sim $$ I want to have something like this: ...
3
votes
2answers
41 views

Aligning several \begin{align} blocks in LaTeX [duplicate]

Just a quick question regarding aligning equations in LaTeX. Basically, this is a snippet of my source code: \begin{align*} dU&=\partial Q - \partial W \\ \partial Q &= dU + \partial W ...
3
votes
1answer
126 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
8
votes
3answers
166 views

Align matrices problem

I have an equation of matrices and I want to align the dimensions of the matrices below the equation of matrices. However, I produce something very ugly. Can someone advise how to make it look better ...
8
votes
2answers
75 views

Is there a way to set character align in the preamble

So I haven't been able to find an answer to this and sorry if it's actually simple and I'm kind of an idiot for not finding a solution but I can't find anything in any of the wiki's for the align ...
4
votes
2answers
58 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
2
votes
0answers
33 views

Wrapfigs adds delta's to intertext

I'm trying to use a wrapfig in my text an paragraph before an align*-envirement but by doing so, my intertexts all get a delta-sign. Here's my code: \documentclass{report} ...
3
votes
3answers
76 views

Aligning a set of equations

I'm currently writing a dissertation on TexMaker and I'm fairly new to it! I have a set of three equations that I want to align so that they all start underneath each other on the left: I have tried ...
1
vote
1answer
24 views

Incorrect alignment when using aligned

I'm trying to TeX some nice equations but there is a strange behaviour when I use an aligned-environment in an align*-environment. I think one little example makes my problem clear: \begin{align*} ...
4
votes
1answer
47 views

Why align environement does not work with “extract ”package?

I'm using the package extract and I'm facing the following problem: I try to extract only equation in align environnement (only A and not B, see the code), but it does not work. I have read the ...
4
votes
1answer
71 views

A very complicated multiple lines problem in the align environment

I have a very complicated multiple lines problem in the align environment to solve. See the code below and the pdf file https://docs.google.com/file/d/0B1kX_CbBVoMteHU2MmFlZWJNWDg/edit?pli=1 . ...
5
votes
2answers
84 views

How to change the style of the braces around equation numbers in the align-environment

I would like to change the braces in the align-environment from the normal braces ( ) to rectangular braces [ ],
4
votes
2answers
119 views

Right align in eqnarray

I have a MWE where I use eqnarray for multiline equations. I want to right align those two text, but \hfill is not working here. I think I may use align, but here just want to know how to do it with ...
7
votes
2answers
802 views

How to align terms in alignat environment

These are my math equations. To enhance readability, I'd like the third column to be aligned around the + sign; that is, I wish to place some horizontal blank in front of $n\mathbf{A}_0$ (not ...
5
votes
2answers
61 views

replacing eqnarray when several alignment tabs are present

I have three mathematical equations which I would like to have typeset in one block such that they are aligned at the equality sign = and the following comment. Up until now, I've been using eqnarray ...
6
votes
2answers
53 views

Place table based on position of column break

I have a table with two columns of different widths. I want to place my table in my page such that the line between the two columns falls on the center of the page. If the columns were the same size ...
6
votes
1answer
104 views

Reference equation in align* environment with cleveref

In order to control equations numbering I use the Align* environment where I put \numberthis at the end of the equation that I want to number. After, I label the numbered equation but when I want to ...
7
votes
2answers
78 views

Check if in an align* environment

I want to use different styles of matrices if TeX is in an align* environment or in a normal math environment. I already found a solution for checking if it is in math mode (\ifmmode) but not ...
2
votes
0answers
52 views

Can't align list of equations uniformly after “subequations” break, why? [closed]

I'm trying to write a list of equations from a chapter of my textbook, each one preceded by a \label{} command so that I can refer to it in the rest of the text. However after the 1st \begin{align} ...
6
votes
1answer
72 views

Environment definition gives an error

\documentclass{scrreprt} \usepackage{fontspec} \setmainfont{Linux Libertine O} \usepackage{graphicx} \usepackage{polyglossia} \setdefaultlanguage[babelshorthands=true]{german} % align in enumerate ...
2
votes
2answers
206 views

Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
9
votes
2answers
105 views

Custom pagebreak in align equation

I got the following problem: Right now I am checking my equations, which are usually written in align. This looks great in most of the cases, but sometimes the pagebreaks are weird, ie there is a lot ...
10
votes
4answers
151 views

Aligning numbering in a system of equation so it's centered

In the following code ... $\begin{cases} 2y+4x=9 & \text{(I)} \\ 3x-2x=10 & \text{(II)} \end{cases}$ ... I want the (I) to be centered above (II). Right now they are aligned above each ...
5
votes
1answer
107 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
3
votes
1answer
30 views

Get the same numbering to the right of each equations in two different ''alignes"

I want to use this code \begin{align} & \cos(90^\circ-v) = \sin(v)\\ & \sin(90^\circ-v) = \cos(v). \end{align} ....twice, and have the same numbering of the equations appear to the right ...
3
votes
1answer
95 views

Units, in brackets, right aligned in align environment

I need to supply the unit of the formulas I use, in square brackets, right aligned. I use the align environment. I have tried several things, like manually changing the style of the equation numbering ...
2
votes
1answer
36 views

LaTeX aligning different parts of the theorem

I'm using pdflatex test.tex This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) restricted \write18 enabled. entering extended mode (./test.tex LaTeX2e <2011/06/27> Babel ...
10
votes
3answers
277 views

Alignment in math equations

How can I align my equations as in the image below? I know \begin{equation} \begin{split} x_1'(t) &= x_1(t)+2 x_2(t) \\ x_2'(t) &= 3 x_1(t) \end{split} ...
5
votes
2answers
55 views

How do I change the font size of the \tag content globally?

Is it possible to set the font size for the \tag{} content from the align environment globally? MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} 1+1=2 \tag{test} ...
5
votes
2answers
117 views

Can I tab inside of align environment?

I currently have this ugly equation: The green alignment is just like I want it. The Red one is what I would like to get, but I don't know how. Here is my MWE: \documentclass[a4paper]{scrartcl} ...