{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

1
vote
2answers
23 views

Spacing problem with aligned nested in an align environement

This minimal example \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} A &\leq \begin{aligned}[t] &\int \text{first part of a long expression} \...
2
votes
3answers
51 views

Creating several sets of laterally aligned equations

I'm just getting started into understanding TeX and the workings of it. However I am trying to write up something and I am very unsure about what to do. I have no idea where to start with this, any ...
3
votes
1answer
33 views

several multlined equation alignment

I am writing something for a journal that requires two column page... space for equations is really small and some of my equation are fairly large. When using the class of the journal equations do ...
3
votes
1answer
26 views

Some errors on “dcases” environment in “align”

Before start, I gave some newcommands below. \newcommand{\eqal}[1]{\begin{align}#1\end{align}} \newcommand{\case}[1]{\begin{dcases*}#1\end{dcases*}} The code below works very well. \begin{document}...
2
votes
1answer
103 views

Table formatting like MS office

Hi I'm trying to create a table like this picture: But when I try this code: \documentclass[3p,onecolumn]{elsarticle} \usepackage[labelfont=bf,singlelinecheck=false]{caption} \usepackage{...
2
votes
2answers
48 views

column vector without using \bmatrix?

How can I write a colomn vector like following without using \bmatrix? (no \usepackage{amsmath}) Thanks a lot!
3
votes
2answers
34 views

Bracket around some (not all) lines in an equation

I want to put a bracket around some lines of an equation and add some text to it. It should look like this: so the : of the texts should be aligned as well as the =. I tried this code: \begin{...
1
vote
2answers
44 views

Would it be possible to reduce vertical space between the highlighted assertions by preserving the 'flalign environment'?

NOTE:--- I can reduce the vertical space by using \phantom in the eqnarray environment, but, if I use it, an unnecessary horizontal space occurs between the symbol of equality and the mathematical ...
3
votes
2answers
109 views

How could I reduce the 'vertical space' between the two highlighted statements?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \usepackage{amsmath} \usepackage{IEEEtrantools} \begin{document} \vspace{-1em} \begin{flalign*} \times a^{m}\times ...
2
votes
2answers
54 views

how to align 2nd column in align environment?

This: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} s_yp&=s_zp && \Longleftrightarrow\\ S_yp &= S_zp &...
1
vote
2answers
46 views

The most simple way to split equations, left align them and have a space between them?

I have four equations which I want to split, align and make sure there is a space between the equations. \begin{align*} \sum^\infty_{i=1} (3t_{2i-1}+t_{2i})9^{-i} \\ =\sum^\infty_{i=1} (3t_{...
2
votes
2answers
34 views

How to manage indentation in math mode?

I have a problem, maybe with indentation but I don´t sure. This the code: \documentclass[12pt]{article} \usepackage[letterpaper]{geometry} \geometry{top=1.5cm, bottom=2.5cm, hmargin=3cm} \...
6
votes
1answer
44 views

How should I format an overbrace straddling a place where I want to align vertcially?

\begin{align} \int \arctan x \, dx & = \overbrace{\int u\,dx = xu - \int x\,du}^ \text{integration by parts} \\[10pt] & \phantom{{} = \int u\,dx} = x\arctan x - \int x\left( \frac{dx}{1+...
1
vote
2answers
18 views

Alignment problem using align environement and \phantom

The following code \documentclass[]{article} \usepackage{amsmath} \begin{document} \begin{align*} A &\leq B \cdot C \cdot \int D \\& \phantom{{} \leq B \cdot {}} C \cdot \int D ...
1
vote
4answers
260 views

How can I simplify this equation?

I want to write the following word equation in Latex: I have the following codes: \begin{align} \mathbf {P_{t} &= \sum_{j=1}^{\rho } \left ( I - G_{0} \right )^{-1} \left [ ...
2
votes
2answers
32 views

Problem using enumerate with align

I'm having a little bit of trouble with using enumerate and align. I'm trying to get this: But it is not working for me.
6
votes
2answers
82 views

What does amsmath do to \@currentlabel?

Can someone explain what amsmath does to \@currentlabel in the align environments? Better yet: if I want to write what would be expected to be the \@currentlabel together with some other information ...
2
votes
0answers
66 views

LaTeX: question on align, pause and beamer

I want to know how to make the command "pause" work in beamer along with the align environment. Pause works nicely in equation and eqnarray environments, however. A sample code is given below. I ...
1
vote
1answer
48 views

Itemized within align

I have the following MWE \documentclass[12]{article} \usepackage{amsthm,amssymb,amsfonts,amscd} \begin{document} \begin{subequations} \begin{align} \text{\textbullet} && \eta_i & = \...
2
votes
2answers
34 views

align with long equations

I have a very long align* with lots of \intertext. Some of the equations are really long, like this: What is the most sensible way to typeset this? So far I have always used the following: &= \...
2
votes
0answers
23 views

Align environment without newline [duplicate]

Is it possible to use the align environment while suppressing the auto \newline? I have a problem with the following command: \begin{lemma} \begin{align*} a+b &= c \\\ &=d \...
6
votes
2answers
74 views

Block of equations with only some being subequations and cleveref

I recently asked a question regarding the numbering of a block of equations within an align environment of which only some should be numbered as subequations; in my case I had three equations that I ...
0
votes
0answers
10 views

Multiple subequations and equations in a single align environment [duplicate]

I have three equations in an align environment which I'd like to be numbered as follows: (1a), (1b), (2) [The numbers are just indicative; I don't want them to be exactly 1 and 2] With subequations I ...
4
votes
1answer
23 views

Get full stop after align tag

Say I am typing the following: \begin{align*} f(x) &= absuc \tag{First tag} \\ &= abshgi \tag{Second tag}. \end{align*} This outputs the following: However, I am trying to find a ...
5
votes
2answers
56 views

Why does a line break before align environment create extra space, while itemize does not?

As you can see in the example below, the itemize environment is the same whether or not there is a line break before the \begin{itemize}. However, the align environment has significantly more space if ...
3
votes
1answer
28 views

Spacing and Page Break Issues for long equations. The aligned and align* dilemma

Basically, for one long string of equations, I need to be able to have it continue over multiple pages. I also need there to be a regular new paragraph space between the Title of the page and the ...
1
vote
2answers
48 views

Aligning a portion of text in a table cell

Is it possible to a align a certain portion of text in a table cell without changing the justification of the entire table? For example aligning the text that follows after (e = ). If someone already ...
2
votes
2answers
61 views

Multline A group of equations

I have two equations. I use gather (or align) environment. one of the equations are too long and I want to multline them in that environment. How can I do it? and, How I can leftside these equations ?...
-1
votes
1answer
32 views

How can I insert text inside the aligned environment?

I often need to insert text and breaks in between equations but it's too cumbersome to type aligned again from beginning. What can I do to insert text inside the aligned environment ? Also, is there ...
4
votes
4answers
75 views

Aligning Maths in a Table Column

Is there a way to align this column on t_p? \begin{center} \begin{tabular}{cl} $t_p \le -2\; ^\circ\mathrm{C},$ & frost is expected \\ $-2\; ^\circ\mathrm{C} \le\, ...
1
vote
0answers
31 views

Beamer: Defining a new align environment to pieacewise uncover/alert each equation

For the following example, I need to use align environment and uncover/alert each equation. The conventional way is shown below \documentclass{beamer} \usepackage{amsmath,mathtools} \begin{document} ...
2
votes
2answers
111 views

How to align two equations vertically without horizontal space?

Please have a look at the following MWE: \documentclass{scrartcl} \usepackage{amsmath,amstext,amssymb} \begin{document} \begin{align} \cdots\text{ABB}&\bigg|\text{BAABB}&\bigg|\text{AAABB}&...
2
votes
4answers
127 views

Two equations in align environment with bracket in between

How can I type such an equation into a LaTeX align environment, with a bracket between the two lines of the equation?
4
votes
1answer
95 views

Combine split and align environment

The split environment allows you to give one number to two equations, as in \begin{equation} \begin{split} a&=1+2+3+4\\ b&=5+6+7+8 \end{split} \end{equation} which gives Note that the ...
2
votes
2answers
53 views

Aligning labels inside cases environment

I have the following code, where I have multiple cases and all need to be labelled. I tried using subnumcases, however I wanted some freedom in labelling (the $k^{th}$ case must be labelled C.k etc), ...
1
vote
1answer
35 views

Disabling automatic dissimilarity coding in texshade

The package texshade provides an environment to typeset nucleotide and aminoacid alignments. This otherwise great package has a default setting, which I would like to turn off: By default, texshade ...
0
votes
0answers
11 views

flalign is not aligning equations to the left [duplicate]

I'm trying to align my equations to the left, for this I'm using $\begin{flalign*}$, but as you see, below the matrices the equations are not being aligned, how can I fix this? This is the result I ...
2
votes
3answers
41 views

Aligning system of equilibrium equations

I would like to align equations on the right side to this imaginary red line (to the left). Also, it would be really nice to have just one number of the equation (just like in equation environment) ...
5
votes
1answer
98 views

how to align a two column box

I would like to ask you to share your idea with me regarding to align the following text inside the box. Thank you in advance \pagenumbering{gobble} \noindent\fbox{% \parbox{\textwidth}{% \...
3
votes
2answers
80 views

How to put box around a single equation in align environment?

I want to put a box around one of my equations in aligned environment. I am looking to do something similar to Attractive Boxed Equations, but the code only caters for individual equations. Here is ...
5
votes
1answer
69 views

How to align two sets of equation separated by some text in a beamer slide?

I want to align the two set of equations on same slide. I found a similar post How to align a set of multiline equations but there the equations do not involve text as in this case Here is my MWE \...
1
vote
4answers
167 views

How to align equations with integrals and “subject to” equations

I have a long expression (maximization problem) which I force down to the next line using //. I also have two functions ("subject to") which I want to place underneath. I use & to make the ...
1
vote
0answers
30 views

Error while compiling \align*

I have written the following code : \section{Quantum Harmonic Oscillator} The quantum harmonic oscillator is the analogue of harmonic oscillator in classical mechanics scaled down to the quantum ...
3
votes
1answer
40 views

How to keep some equal signs aligned in flushed right equations

\begin{align*} 2\sin2\theta+1=0\\ \sin2\theta=-\dfrac{1}{2}\\ \alpha&=\sin^{-1}\left(\dfrac{1}{2}\right)\\ &=\dfrac{\pi}{6}\\ 2\theta=\pi+\alpha,2\pi-\alpha,3\pi+\alpha,4\...
4
votes
1answer
36 views

Abbreviations for align

I know from the Technical notes on the amsmath package that it is not possible to introduce direct abbreviations like \newcommand{\bal}{\begin{align}} % doesn't work \newcommand{\eal}{\end{align}} %...
4
votes
1answer
108 views

Adding letter to align number

To adding a letter to the equation number, I have used the following code \newcounter{defcounter} \setcounter{defcounter}{0} \newenvironment{eee}[1]{% \addtocounter{equation}{-1} \refstepcounter{...
2
votes
1answer
49 views

Labels with subequations [duplicate]

I would like to align the equation like this but instead have the label (40.a) and (40.b) for the last two lines. I don't know how to do this with subequations because of the \times\left{ that should ...
1
vote
1answer
28 views

Table caption not left aligned in revtex

I am currently writing an APS article and use: \documentclass[% reprint, amsmath,amssymb, aps,nofootinbib, ]{revtex4-1} % \usepackage{graphicx} \usepackage{dcolumn} \usepackage{bm} \...
4
votes
1answer
54 views

Mysterious blank space appears in text when align evironment followed by figure environment

When using an align environment and subsequently a figure environment in Latex code in the resulting pdf appears suddenly a blank space where in code the figure environment resides. Why does this ...
1
vote
1answer
39 views

Beamer two column overlay display aligned equations right column first then left

I am trying to setup an overlay for a frame where I would like to display the list of equations inside aligned env inside the right column first, followed by list of equations inside aligned env ...