Tagged Questions

{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

2
votes
1answer
46 views

Align environment creates extra vertical space

I'm typing a very large document (a thesis) and at some point align environment produces abnormally large vertical space before and after equation. I double-checked that it is neither in the beginning ...
3
votes
2answers
41 views

How can I stop the numbering of equations in the align command

With this code I have numbering of equations: \begin{align} U_{2} = - u_{2}(h) + x_{2},\label{eqn:foca1}\\ Y_{2} = x_{2} + T,\label{eqn:focb1}\\ u_{1}(h) + T \geq u_{1}(h^*) ...
7
votes
1answer
96 views

Box some equations inside align

I'm trying to make something like this: But I have just can't figure out how. I have tried with empheq and tikz, but I can't get it to work with only some boxes inside align. I have also tried with ...
0
votes
2answers
70 views

Sum alignment in equations

What is the best way to align equal signs and sum symbols in the following MWE? \documentclass[a4paper]{report} \usepackage{amsmath} \begin{document} \begin{equation} \begin{alignedat}{4} y_\text{L} ...
2
votes
2answers
76 views

Multiple align points and multiple equations

I have 2 equations, both have to be numbered and aligned. Equations' numbers should be vertically centered. But equations are long and have to be broken into 2 or 3 lines each. It would be great to ...
2
votes
2answers
99 views

Align equilibrium arrows with mhchem

I have the following code made with the mhchem package: \begin{align} \ce{CH3COOH + NaOH <=> CH3COONa + H2O} \\ \ce{H2O <=> H^{+}_{(aq)} + OH^{-}_{(aq)}} \end{align} Which ...
2
votes
2answers
45 views

Aligning Multiple Columns in an Equation

I have the following equation: \documentclass[a4paper,oneside]{scrbook} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{aligned} X & = A * A * \Big( A * A * A * A ...
0
votes
1answer
42 views

Problem with \begin{document} and alignment? [closed]

I'm a noob in Latex. After watching some videos on Utube I tried to type up some maths on Latex. Btw I'm using the latest version on my Mac. The default preambles are already there so I started with ...
5
votes
1answer
106 views

Equation alignment creating unwanted space

I am defining some text in a align, but no matter how i place the & symbol to create the alignment i get a space between the first chars. \begin{align*} H_0:& \text{Something.}\\ H_1:& ...
2
votes
1answer
74 views

aligning the equal signs without numbering each line in latex

Suppose I have something like, $\therefore$ we have the following: \begin{align} 2x + 7 &= 5x + 8 \\[0.1in] &= 2x - 7 \\[0.1in] &= 4 \\[0.1in] \end{align} I randomly made equations up ...
1
vote
1answer
59 views

Left align or right align the header

If I want to L-Align the contact info in the (right) header block. How can one align the contents in a header ? Package: \ProvidesFile{jobapp} \special{papersize=8.5in,11in} ...
3
votes
1answer
56 views

How to fit long equation in single column?

I am writing a two column document. I am trying to fit following equation in one column. I read following thread and tried to fit my equation to the given solution but it didn't work Aligned ...
3
votes
2answers
48 views

Is it possible to use align inside a array environment?

I am preparing a class and I ran into this problem... Is it possible to use align inside a array environment? I was thinking of putting 4 equations as the elements of a matrix. But the first element ...
1
vote
2answers
59 views

How to properly align a set of very long equations [duplicate]

I do have a term and would like to show several steps of a derivation, just like here: \documentclass{IEEEtran} \usepackage{amsmath} \begin{document} \begin{align} thisIsATerm \\ &= ...
5
votes
1answer
86 views

Align-environment: Align on the left side

Why doesn't the following code align the two equations in the middle? It does only if I remove the alignment on the left. \begin{align*} &ABC &= ABC - AB\\ &ABCD &= ABC - ...
2
votes
3answers
65 views

Names of items aligning out of frame in Beamer

MWE: \documentclass{beamer} \begin{document} \begin{frame}{meh...} \begin{itemize} \item[Hello] World \item[Hey! Hello?] D'oh! \end{itemize} \end{frame} \end{document} The names of ...
0
votes
1answer
50 views

Labelling aligned equations with text

I have an align environment in which the equations are numbered on the left. Can I add notes on the right (e.g. to explain where each equation comes from)?
2
votes
4answers
77 views

multi-column row in align environment

I would like to be able to use multicolumn inside an align environment, much like we can do in a tabular environment MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} ...
4
votes
3answers
52 views

Align environment with blank left side in the first line

Is it possible to use the align environment (or something similar) to typeset something like the following (nonesense) example with correct spacing? |a - c| < |a - b| + |b - c| What I want: ...
0
votes
1answer
31 views

left alignment of formulas

I am going to write some equation in an appendix for my report. I just want to set my equation in this part to the left. I used the following code, but it doesn't work. \begin{flalign*} ...
2
votes
1answer
74 views

How to insert an un-aligned equation inside an aligned equation block?

Here is a block of LaTeX that contains an un-aligned equation between 2 aligned equation blocks. \begin{gather*} \begin{align*} a &= b (c + d)&\\ &= bc + bd& ...
4
votes
1answer
36 views

Doublespacing a Formula Displays

I am trying to achieve what is written in here: Equations and Double Spacing However, my "larger" displayed equations and aligned environments still seem to have added space above. ...
2
votes
2answers
60 views

aligning to the left

The following is the script I used. \begin{align*} (a,b):=\{x:a\prec x\prec b\}\\ (a,b]:=\{x:a\prec x\preceq b\}\cdots\text{if $b$ is the largest element of $X$} \end{align*} But, I want the ...
2
votes
2answers
69 views

Enumerating the align environment

Consider the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \setcounter{equation}{42} \begin{align} a & = b + c \label{label1} \\ ...
6
votes
2answers
37 views

unable to label a line in \align* environment with tag being a matrix

I try to do this \begin{align*} \label{labelname}\tag{$\begin{smallmatrix}0\\1\end{smallmatrix}$}a=b\\ c=d \end{align*} But it does not allow me to add the label and pops up an error message saying ...
1
vote
1answer
114 views

Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
3
votes
2answers
65 views

Numbering and aligning an equation with multiple columns

I search a way to align an equation with multiple columns where the following criteria should be met: The equation tag should be in the last line The equal signs should be centered and aligned ...
2
votes
1answer
29 views

different alignment on some lines of an align* envirnoment

I would like to typeset a set of equations, where a bunch of them a short (fit on one line) and one of them is long. I would like it to look something like the output of the following: ...
4
votes
3answers
128 views

Align in Substack

\sum_{\substack{n=1\\n\neq i}}^N Using \substack to add multiple lines as subscripts of a sum does not make them aligned on the equal / not equal symbol. I found some answers to this problem, like ...
0
votes
0answers
21 views

equation numbering in align without parentheses [duplicate]

How can I number equation without parentheses in tags? In other word when I type: \begin{align} my formul \end{align} see in pdf: my formul .1
2
votes
1answer
37 views

Use of parenthesis/curly bracket in split environment: Error for curly bracket on opposite sides of \\ [duplicate]

Any help is most appreciated. Thanks! \documentclass{article} \usepackage{amsmath} \usepackage{mathtool} \begin{document} \begin{align} \begin{split} & v \cdot \left\{ Ax + b \\ & Cx - d ...
2
votes
3answers
116 views

why is this equation not left aligned?

I wonder why all the multilines of the equation are not left aligned? I tried to use align instead but the equation got too long and I could not manage to break it. ...
9
votes
2answers
204 views

how can I align limits at “lim”?

I am trying to align several limit expressions at varying x-values. It seems that align treats the "limit" portion together with its subscript as an entire object, then aligns these limits, which ...
3
votes
2answers
67 views

Alignment inside the \align enviroment-horizontally and vertically

Is it possible to make both expressions for omega's aligned with one another and do the same for the coefficients a,b,r and d,c,t? I tried to align them manually by using center but it does not work. ...
5
votes
2answers
107 views

How may I align the equal signs of a multline equation and another equation that follows it?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{amsmath} \begin{document} \begin{multline*} \epsilon(r_1,...,r_n)\\= sgn\prod_{\substack{1 \leq i<j \leq ...
5
votes
3answers
94 views

How to align contents within table cells vertically?

Sorry for opening up another thread when there are so many already, but I can't find the correct solution to this right now. I would like to align the contents of the third column (the parts put in ...
6
votes
2answers
142 views

Align equations over multiple sections

Is there a way to make the math mode "align" work over multiple sections? Here is the code example: section*{Polynomials} Do the following polynomial devisions \begin{align} &(x^7 - x^4 - 21x^2 + ...
4
votes
1answer
69 views

Two Minipages, two times itemize - how to correct alignment

I wanted to use a minipage to reduce the size of my itemize list \documentclass{article} \begin{document} \begin{figure}[!htbp] \begin{minipage}[b]{0.4\textwidth} \begin{itemize} \item ...
2
votes
1answer
32 views

I want to left-align the following equation. I don't want that to be centred [duplicate]

\documentclass[10pt]{article} \usepackage{amsmath} \begin{document} \begin{equation*} \epsilon(\lambda_1,...,\lambda_n)=sgn\prod_{\substack{r=s}}(\lambda_s-\lambda_r). \end{equation*} \end{document} ...
0
votes
0answers
16 views

Multiline equations within parentheses [duplicate]

I have two equations which need to be broken into multiple lines. One of the equations has a coeficiente factored out, so that it is of the form X = A(...very long...). The other does not. The ...
7
votes
2answers
198 views

How to split text within align

The text is too long and would like to split it in two: Any help please! \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} \textit{K}^{k,r}_{j}& : \text{The ...
2
votes
1answer
84 views

Split numbered equation over multiple pages

I am writing long equations and each equation has to jump to a new page. I'm using \begin{equation} \begin{split} ............ \end{split} \end{equation} I've looked , but the only way I found , ...
2
votes
1answer
44 views

Equation Alignment!

I am having a hard time doing this format. Does anyone know how to do this? It will be a big help if anyone does. Thank you so much. This is what I did: \documentclass{article} \begin{document} ...
4
votes
2answers
103 views

centered text/equations inside align environment

is there a way to insert a centered line of text or mathematics inside an align-environment? For example, in the code below, I'd like to have the \vdots between the equations above and below ...
3
votes
2answers
63 views

Master label and sublabels for an equation with multiple lines?

Is it possible to label an optimization problem with a master label, as well as to label each line with a sublabel? For example, I want to label the optimization problem as (AP), but I also want to ...
1
vote
1answer
90 views

alignment problem with multicolumn in table (with dcolumn)

According to this question One header for all subtables: Correct arranging of Columns I am creating a table. Everything works fine except of two things: 1) When I use multicolumn over multiple columns ...
0
votes
0answers
49 views

\newenvironment does not work

I have created a new environment using this commands: \newenvironment{eqs} {\begin{subequations}\begin{align}} {\end{align}\end{subequations} } I would like to combine subequations and ...
3
votes
1answer
61 views

How can I get aligned equations not to be spoiled by an item?

Is it possible to use itemize between align? For instance one wants to list some equations with previous explanations following an item, but one wants the explanations not to break the align ...
5
votes
0answers
48 views

alignment problem with bold (negative) numbers

I am trying to create a table containing a correlation matrix. I marked the significant numbers bold and insignificant are just normal. Anyhow, all boldifyed numbers are aligned differently than the ...
4
votes
2answers
91 views

Alignment Problem in Table environment

Regarding to the following question Problem with subcaptions in subtables I created the following. There appears three problems: in the header starting from "Mean" to "Max." The alignment seems not to ...