{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
3answers
208 views

why does something disappear in the aligned environment?

I noticed a strange behaviour with the aligned environment: \begin{equation}\label{eq:direct_limit} \begin{aligned} [x] + [y] & := [\eta_{ik}(x) + \eta_{jk}(y)],\\ [x] \cdot r & := [x \cdot ...
3
votes
2answers
89 views

align nested in cases

Code \documentclass[a4paper,twoside,12pt]{book} \usepackage{amstext} \usepackage[utf8]{inputenc} \usepackage{cases} \usepackage{amsmath} \begin{document} ...
4
votes
4answers
515 views

Are there any way to align this equation?

I have a long equation. I used multline and tried \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{multline*} ...
1
vote
1answer
89 views

Force equation number to be right aligned

I'm trying to typeset some basic equations with proper numbering. I simply want a single equation to have a right aligned number in the two column environment that I'm using. I tried three approaches, ...
9
votes
2answers
236 views

Center one equation of many in align?

I have the following align enviroment: \documentclass[12pt]{memoir} \usepackage{amsmath} \begin{document} Here we see \begin{align} \text{cat} &= \text{dog}\\ \text{dog} &= cute ...
3
votes
1answer
83 views

Exam class: aligning outline marks within solution flush right

I would like to get the marks e.g. [1/2] within the solution to appear flush right in the same way as the overall mark for the question. \documentclass[11pt,answers]{exam} \RequirePackage{amssymb, ...
5
votes
2answers
141 views

Simplifying macro for the align* environment for two column equations

The align* environment provides for a two column layout of equations, similar to the eqnarray* environment. \begin{align*} [left side of the first column] &= [first line of the first ...
0
votes
1answer
40 views

Table desturbingly floats into align environment functions

this is my code \begin{align} S(\Theta)&=\ln\left|\nu(\Theta)\right|\label{eq:S_theta}\\ \intertext{where $\nu(\Theta)$ is the determinant of the covariance matrix of the responses, which are ...
3
votes
1answer
70 views

How to remove unncessary whitespaces between two lonely figures on page

Im sure it's an easy question but I cant figure it out and I was searching google for different keywords crossing my mind but couldn't find a relevant post. I have two tables which are positioned on ...
1
vote
1answer
84 views

Putting a number on the right hand side without using the equation or align environment? [closed]

I have a couple of lines which I wish to number and I'm hoping for something like: Text... \alignright{1} or something like that if it exists to produce Text... (1)
3
votes
2answers
107 views

How to draw horizontal line within align and mhchem? [duplicate]

No matter what I do, I can't get the line to position properly. align* always wants to move it. and i can't use \noalignwithin \cee, or perhaps I'm not using it properly (beginner here)? Here's a MWE: ...
9
votes
3answers
121 views

what is the correct way to typeset equations with a leading indicator/marker on each

I am using \begin{align*} to typeset set of equations. I want to say that the first one applies to case of dimension [T] (time), and the second for [L] (length) and the third for [M] (mass). I want ...
6
votes
3answers
192 views

align* not aligning properly with \sqrt

Using this, everything is aligned properly: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} 16x^2&=144&\text{| }&\text{sqrt}\\ 4x&=12&\text{| ...
8
votes
2answers
157 views

Errors when trying to define a custom align environment

I'm currently trying to create a custom environment with its own counter. \documentclass[a4paper,11pt]{report} \usepackage[fleqn]{amsmath} \newcounter{grammarcounter} \newenvironment{grammar}{ ...
3
votes
2answers
64 views

How to align terms in alignat environment (follow-up)

This is follow-up on the similar question. I still cannot figure out where to put ampersands on alignat environments. :( Here is what I generated. To enhace the readability, I want to customize ...
8
votes
4answers
456 views

How to align 'implies that' symbols neatly in equation array

The following is an equation array I have: \begin{eqnarray} \Rightarrow\eta_t &=& \eta_x(\omega \eta-(\varphi_x)_s) + (\varphi_y)_s\notag\\ \Rightarrow\eta_t\,(\varphi_y)_s &=& ...
5
votes
1answer
56 views

align* and wrapping command

For school we have to deliver all math with double lines under the result. I have made a command that makes this easy. It looks like this: \newcommand*{\uul}[1]{ \underline{\underline{#1}} } It ...
7
votes
3answers
274 views

How can I align this equation?

I want to align this equation. I tried \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{fourier} ...
4
votes
4answers
267 views

Breaking and aligning equations

I have the following MWE \documentclass[10pt, a4paper]{article} \usepackage{amsfonts, amsmath, amssymb, amsfonts} \begin{document} \begin{align} \sum_i{ c_i} &= \cos \sin\cos \sin\cos ...
6
votes
1answer
112 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
73 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
376 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
72 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 ...
6
votes
1answer
243 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
156 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
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
62 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
278 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
158 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
65 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
28 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
95 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
97 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
44 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
118 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
178 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
218 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
166 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
95 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
148 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
186 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
87 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
80 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
42 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
112 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
28 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
53 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
104 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 . ...