{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

6
votes
1answer
656 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
180 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}, ...
34
votes
4answers
3k 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
81 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
281 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
177 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
75 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
30 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
110 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
110 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
49 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
124 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
259 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
245 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
181 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
155 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
174 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
199 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
88 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
85 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
49 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} ...
4
votes
3answers
123 views

Aligning a set of equations

I'm currently writing a dissertation using 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 ...
1
vote
1answer
31 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
59 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
111 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
276 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
1k 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
3k 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 ...
6
votes
2answers
107 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
79 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
509 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
104 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
60 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
111 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
1k 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 ...
10
votes
2answers
526 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
238 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
282 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
44 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
234 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
64 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
309 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
64 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
958 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} ...
5
votes
1answer
312 views

Changing the vertical alignment of `multlined` from the mathtools package

Package mathtools provides the vertical alignments top, center, and bottom: \documentclass{report} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \makeatletter ...
3
votes
2answers
100 views

Problem in alignment of equation using \begin{align} and \begin{split}

I was trying to align these equation but they are stretching out of the document. Even though I used \begin{split} it didn't work. I don't know why this is so? \documentclass{article} ...
2
votes
2answers
125 views

How to center align the below subfigure when it stands alone?

I have three subfigures as shown in the MWE below, I want to align the subfigure c in the center below the two upper figures, how to do that? \documentclass{scrartcl} \usepackage{caption} ...
2
votes
2answers
173 views

Align equations inside tabular

How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \& in order to shift equals signs to be one under ...
3
votes
1answer
1k views

Adding pictures to moderncv

I want to add my institution logos to my CV but unfortunately they don't appear in right place. How should I edit the code to make the picture appear right above the city without making the ...