{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

5
votes
2answers
186 views

equation labels inside a nested align and aligned environment

I'd like to have several equations aligned pair-wise in, essentially, two columns, but with individual labels for each equation and/or for each line (where one line displays two equations). I have ...
4
votes
2answers
800 views

Equation: How to create nested/multiple cases in LaTeX to align the qualifiers

I am having trouble with a particular equation as the cases are nested within a case. It would also be cool if I could align the qualifiers. I tried to post an image of the equation but I could not ...
5
votes
3answers
103 views

Aligning Summations Over Differing Numbers of Sets

I'm trying to align a set of constraints for a linear program formulation. The issue I'm having is that some of the summations are over two (or more) sets, while others are only over one. This makes ...
2
votes
2answers
118 views

mathtools: tagging with words and a number in align

How does one tag an equation with both words and numbers? \documentclass{article} \usepackage{mathtools} \newenvironment{Dequation} {% ...
5
votes
4answers
133 views

Large formula in align

I have a large formula in align: \begin{align*} log \mathcal{L}(\alpha,\beta,\mu,\delta| l_1,...,l_n)&=\\\sum_{i=1}^n \left( log \left(\frac{\sqrt{\alpha^2-\beta^2}}{2\alpha \delta K_1 ...
2
votes
0answers
539 views

center align 2x2 plot of subfigures [duplicate]

I've got a 2x2 plot of subfigures that is too wide to fit within the margins of a page. Latex left aligns it and the right hand side goes off the page. I would like to center align the whole thing ...
4
votes
2answers
166 views

How to align equation items below their =

How is it possible to sort equations align with their = like this: a*b*c = d*e*f g*h = i*j k = l*m*n o*p*q = r I've seen it before but I don't know how to find that!
2
votes
2answers
409 views

Break Large Equation Between Parenthesis Using Multline

I have a very large equation that I need to write in multiple lines, but multiline is not working between parenthesis. This is my LaTeX code: \begin{multline} e^{-y \lambda_n} \left( ...
3
votes
1answer
129 views

Align multiline RHS

I have the following MWE: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align} L_W&=\frac{L}{W} & \text{words per line}&=\frac{\text{bytes per ...
8
votes
2answers
186 views

How to align multiple symbols for a long equation?

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
9
votes
1answer
131 views

How can I align the terms of this equation nicely?

I have the following alignat segment: \begin{alignat*}{3} \text{max}_{\underline{\lambda}} \text{min}_{\underline{x}} \quad & \underline{c}^T \underline{x} + \underline{\lambda}^T(\underline{d} ...
2
votes
2answers
753 views

Too much white space when using the align-environment

Consider the following example: \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \begin{align} \prod a+bm && \text{is a square in} && \mathbb{R}\\ ...
1
vote
1answer
3k views

What is “! paragraph ended before \align was complete”?

The following is the piece of code that was working right before I made a few small minor changes. \begin{align} \langle \prod_{i=1}^{n} \delta_i ^{n_i} y^{m_i}_i \rangle = \sum _ {a_{i=1...n} = ...
0
votes
2answers
103 views

Begin Align - Text Gaps

I have a quick question about blocks of the following type: \begin{align*} CODE HERE \end{align*} After any one of these blocks I always get this huge gap. In the uncompiled document I have one ...
3
votes
1answer
118 views

Vertical alignment of text around a symbol in table

Is there a way to organize the vertical alignment in table around a particular symbol. For example in the below code \begin{table} \begin{center} \begin{tabular}{ *{1}{c}} a = b + c \\ a + ...
4
votes
1answer
59 views

Alignment in math environment

Consider the following piece of code \documentclass[twocolumn]{article} \usepackage{amsmath} \begin{document} \begin{align*} A_i &= B_i + C_i\\ &= D_i + E_i+F_i + G_i + H_i\\ &= I_i + ...
3
votes
1answer
85 views

\intertext doesn't play nice with \paragraph

I have the following test case: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \section{Test} \paragraph{Group A:} \begin{align*} E &= mc^2\\ E ...
2
votes
1answer
169 views

Aligning equations

This is very similar to a lot of other questions but I haven't found one that EXACTLY replicates the problem I'm having. I have the following: \begin{align*} &\text{minimize} &R_k + ...
3
votes
3answers
167 views

Free cell alignment in a table

I want to use the package tabu which I've heard is the latest and greatest package for creating tables to generate a table that looks like this: ------------------------------------- |A | ...
5
votes
1answer
80 views

Where is this whitespace coming from in align*?

I am trying to align 2 simple equations using the align* environment: \begin{align*} \phi(\gedge{\tilde{v}_{i_1}}{\tilde{u}_i}) & = \phi(\gedge{\tilde{v}_{i_2}}{\tilde{u}_i}) & = \gedge{v}{u} ...
1
vote
1answer
120 views

Missing $ Error in aligned equations

I think here's the problematic code The series expansion of $e^z$ is given by \[ e^z = \displaystyle \sum^{\infty}_{n=0} \dfrac{z^n}{n!}\] Then we can write the given function as \begin*{align} ...
10
votes
1answer
301 views

align also ylabels in a TikZ matrix

I am aligning many pgfplots with the TikZ \matrix. The axes are automatically aligned correctly. How can I also align the ylabels automatically (because I am changing plotted data very often)? ...
3
votes
1answer
158 views

Align all equal signs in the document

Is there a way to align all the equal signs in all equations all over the document? I write a theses (scrbook) and like all equal signs to line up. At least in a chapter if not possible for the whole ...
1
vote
2answers
136 views

Missing } when using \begin{align*}

I have scoured my code and tried it out without the alignment. There is nothing i can see wrong with the code, but when I try to use align or eqnarray, I always get some error message. Here's the code ...
5
votes
2answers
134 views

Conditional linebreak in align environment

I have a large document to typeset in two different page formats. Some of the equation lines are too long in the small format so I wanted to break some equation lines conditioned on whether the macro ...
5
votes
2answers
1k views

align inside of tabular

Today I failed using an align-environment inside of a tabular-environment. Consider the following example: \documentclass[12pt]{scrbook} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
8
votes
2answers
153 views

Delimitershortfall in align environment

Can you explain why the \delimitershortfall cannot be modified inside a align environment? This is a MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
1
vote
1answer
2k views

Subequations and align environment

I am trying to use subequations with a complicated alignment. The alignment in the MWE is not satisfactory. I am seeking for a solution where I can specify lrc such as in array, but subequations ...
4
votes
2answers
156 views

Alignment with brackets

I am having problem in the align environment when I have brackets. Here is my example. \begin{align} A& = B~~~&+c~~-D\\ E& = F&+G-H \end{align} However, a similar problem I have ...
1
vote
1answer
114 views

Only one equation number with math-vfill-tombstone symbol

Maybe what I want is sinful, but let me explain: I use aligned* environments, because I usually don't need equation numbers. When I need one, I use \addtocounter{equation}{1}\tag{\theequation} from ...
0
votes
1answer
172 views

Collectively aligning multiple align environments [duplicate]

I am using amsmath, and I want to be able to break a mathematical derivation into multiple align environments while maintaining their collective alignment. In particular, I would like to horizontally ...
2
votes
3answers
119 views

How to align equations

I am trying to write a set of equations similar to some found in a book I am reading. Below is how the book has formatted the equations: and here is what I have so far: How can I align my ...
1
vote
1answer
353 views

Align values in bmatrix

Is it possible to renew the bmatrix environment to have alignment? I would like the following vectors to show aligned: \begin{bmatrix} -0.505 & \\ -0.141 & \\ 0.144 & \\ 0.839 & ...
3
votes
1answer
84 views

amsmath's intertext and labeling

I have an align environement with intertext: \usepackage{amsmath,mathtools} \begin{align*} x&=f(z)\cos\alpha\\ y&=f(z)\sin\alpha \shortintertext{with} f(z)&=\ldots \end{align*} However ...
1
vote
1answer
318 views

Equation align two column to one column with page width

I was trying to format the following expression using align. However, I need it in two column. Of all the equations, one is a long expression and Hence I added \rlap. The problem is the lengthy ...
2
votes
1answer
143 views

Argument of \text@ has an extra } \end{align*}

Good day, I am using the following code: \documentclass[]{report} \usepackage{amsmath} \usepackage{graphicx} \usepackage{breqn} \usepackage{hyperref} \usepackage{amstext} \hypersetup{linktocpage} ...
4
votes
1answer
180 views

Align summation symbols inside an align environment

I have the following piece of code: \documentclass[]{article} \usepackage{amssymb} \usepackage{mathtools} \usepackage{amsfonts} \begin{document} \begin{align*} A &= ...
3
votes
1answer
78 views

Aligned equation which can break through pages [duplicate]

I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page. Q: Is there a way to ...
4
votes
1answer
3k views

Using the flush left align environment flalign

When using the flalign, I either get LHS and the = on te far left and the RHS on the far right. \begin{flalign} x & = & 1 \end{flalign} Or I the equation centers itself when I try ...
1
vote
2answers
86 views

Unable to split a long equation

I want this equation to break into different lines at each of the line breaks indicated below. f = c_{A1}x_{A1}+c_{A2}x_{A2}+c_{A3}x_{A3}+c_{B1}x_{B1}+c_{B2}x_{B2}+c_{B3}x_{B3} \\ + ...
2
votes
2answers
69 views

multi-alignments, any better solutions?

Please see my questions in the codes: \documentclass{article} \usepackage{amsmath,amsthm,mathtools} \begin{document} I am not sure align at the equal sign is a good idea, it looks weird to me. ...
2
votes
1answer
185 views

Problem with ntheorem, align and \qedhere

I would like to use the align environment inside a proof with ntheorem, but I have trouble with \qedhere. I was guided by this (http://tex.stackexchange.com/a/2280/30325) code, and replaced \[ by ...
0
votes
1answer
93 views

How do I include a .pdf_tex file in the align environment?

I am writing a math document which contains several pictures. My pictures are .pdf_tex files from Inkscape, and usually \begin{figure} \centering \input{<name>.pdf_tex} \end{figure} is fine ...
7
votes
1answer
92 views

Formula label outside of formula

I want to label a block of equations like that: The "AB" should not inflict the central alignment of the formula. I saw it a lot, but do not succeed on my own. Do I need to build boxes? I used the ...
2
votes
1answer
77 views

“align” inside “table” because of table caption - how to do pagebreak?

I have a table: \begin{table} \begin{align} \nonumber b_{1} & = 0,200 & \beta_{1} & = z \\ \nonumber b_{2} & = 0,022 ...
2
votes
1answer
203 views

Exhaustive Information about text alignment in Tabular

The purpose of this question is colleting the exhaustive information about text alignment in tabular environment and it's derivatives. As base, let us use the possibilities of Microsot Word's tools. ...
3
votes
2answers
125 views

Numbering of displayed math without using the equation environment

I know about align and equation environments, and tend to use them most of the time, but sometimes I like to have more flexibility within an array of equations, like better control on justification ...
6
votes
2answers
3k views

Aligning using flushleft and flushright

I am trying to create one column to the left side by side with another column to the right. The column to the left is labeled "Examples of like terms:" and the column to the right is labeled "Examples ...
1
vote
0answers
36 views

Aligning equation with another equation after text [duplicate]

I was just wondering, if it was possible to align equations if there are text between them ? I mean, if you have several equations right after each other you can use the \begin{align} command with ...
4
votes
1answer
126 views

Aligning a split up equation not at equal sign

I currently have the following equation: \begin{align} \begin{split} \left| \Psi \left( t \right) \right\rangle _{I}^{3}&=-\frac{1}{{{\hbar}^{2}}}\int_{0}^{t}{\hat{H}_{1}^{I}\left( t' ...