{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
58 views

Left align problems

I have no idea how to ask a question in here as I tried pasting my latex document in (it is only short) to demonstrate my issue but it does not look like anything else here and I don't want to piss ...
2
votes
1answer
31 views

Aligned equation environment with number at bottom that allows for page breaking

I'm looking for a better way of using aligned equations in my documents that allows for pagebreaks and numbers only the bottom equation like this: Although, I would prefer to be able to have the same ...
1
vote
1answer
46 views

Beamer: Uncovering lines in the align environment

I have been referencing this question Uncover lines of an align environment with beamer, but I am having additional trouble that none of the comments or answers seem to \begin{frame} Let $i\neq j$. ...
4
votes
1answer
257 views

Latest xparse/amsmath update doesn't work well in align

The following minimal example doesn't compile when the optional argument to \macro is used: \documentclass{article} \usepackage{xparse,amsmath} \NewDocumentCommand{\macro}{o}{A\IfValueT{#1}{(#1)}}% ...
1
vote
0answers
17 views

Change label in align environment [duplicate]

In LaTeX, I'm using the documentclass report with different chapters. Now, when using the align environment for listing formulas with labels, i get labels like (2.1), (2.2), ..., the first number ...
2
votes
1answer
105 views

How to itemize equation

I am using beamer for making slides. In one of my slides, equations appear in bullets. I would like the equations to be aligned. Since these appear in different bullets, I can't use the align option. ...
1
vote
1answer
59 views

Box part of equation in align environment

I want to box, as an answer, an equation of the align* environment. Not sure how to do it. \begin{align*} (1+2i)z_2&=-11(2-i)\\ z_2&=\dfrac{11(i-2)}{1+2i}\\ z_2&=11i \end{align*} I have ...
1
vote
3answers
44 views

I want to put a matrix equation next to a system of equations

Hi everyone I am trying to put the matrix equations on the same row space as the system of equations. I am not sure how I tried to put a third align* to put the two together but it does not seem to ...
0
votes
0answers
13 views

How to use table in right way in ltex using IEEE conference [duplicate]

I have a problem with this code snippet: \begin{table}[!h] \caption{Top three primes accounted by 97\% that support \texttt{DHE\char`_EXPORT}} % title of Table \centering % used for centering table \...
2
votes
1answer
64 views

Shrink equations horizontally to fit surrounding tcolorbox, compatible with align* commands

I'd like to put frames around equations in my beamer slides. For this purpose, I use the package tcolorbox. I use the macro \fiteq{} that I found somewhere else on this site to shrink overlong ...
6
votes
3answers
292 views

How to align all equalities?

I am a newbie here and I got stuck in the following situation. Let me type the portion first \documentclass{article} \begin{document} \begin{eqnarray*} f_2(u_iu_{i+1})&=&\left\{ \begin{...
1
vote
1answer
41 views

Make column widths of multiple matrix columns equal

I have some gauss matrices in an align* environment, like this: \documentclass{article} \usepackage{amsmath} \usepackage{gauss} \newcommand{\BAR}{% \hspace{-\arraycolsep}% \strut\vrule % the ...
3
votes
1answer
33 views

\tag is repeating equation number

I am trying to label and number one line in align* environment using \tag{\theequation} and it is just repeating the same equation number. It uses the previous equation number for all subsequent \tag.
2
votes
1answer
54 views

Spacing: Align vs. Equation

Can anybody explain where the extra spacing comes from when using an align instead of a equation? And does anybody know how to remove it? \documentclass{article} \usepackage{amsmath} \usepackage{...
2
votes
1answer
41 views

Text alignment in the table

I have increased the height of the rows in the table, and now I have a question how to make the text (УТВЕРЖДЕНО, РАЗРАБОТАНО, СОГЛАСОВАНО) in these rows in the center of the rows? \documentclass{...
2
votes
1answer
38 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...
5
votes
4answers
138 views

How can I define a number parameter for this own align environment?

I'm "trying to change the "0.5" as needed. It would be perfect if this command could have an default value of 0.5. Unfortunately it seems to be very difficult to create a new environment with the "...
1
vote
1answer
31 views

How to left align the \dcase to make a straight margin with text

I am using dcase to express my equation. However, the equation looks align in center of page. I want to move the equation in the left side of the page. Note that, my text has one space at the ...
1
vote
1answer
34 views

Right align equations relative to maximum length of equation-number

Please have a look at this minimal example ... \documentclass{article} \usepackage{amsmath} \numberwithin{equation}{section} \usepackage{showframe} % only for demo \begin{document} \section{section ...
2
votes
1answer
51 views

flush multiline equation to the right

How do I flush the two equations to the right? And keep the eqution number centered between the two lines? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
3
votes
3answers
162 views

amsmath aligned environment: correct positioning of equation number on the last line with tbtags

tl;dr How to place the equation number on the last line of an {aligned}[t] environment? (Similar questions have been asked in Equation number in aligned environment after last line and How can I ...
2
votes
1answer
29 views

How to center elements of different sizes

I would like to display some matrix things \begin{frame} \begin{align*} \left( \begin{array}{c} y_1 \\ y_2 \\ \vdots \\ y_T \\ \end{array} \...
3
votes
1answer
34 views

Single multi-line equation with comments on rows

I can't find a way to write a multi-line equation, which I would later refer to as on single equation, and write comments on some of rows. The thing I want is pretty much like here: Multi-row text ...
0
votes
1answer
18 views

Problem with breaking line in align mode [duplicate]

Here is the issue and here is the code. \begin{align*} \left ( \frac{1+\sqrt{3}}{2\sqrt{2}}+ i \frac{\sqrt{3}-1}{2\sqrt{2}} \right )^{72} &= \left [ \left ( \frac{1}{2}\cdot \frac{\sqrt{2}}{2}+ \...
1
vote
1answer
17 views

start align number by one

I have an align list of equations, but it's starting by number 2 cause I have another align list in another frame, so how can I force it to start by number 1? \documentclass[11pt]{beamer} \begin{...
6
votes
1answer
542 views

Reproducing Gauss' famous proof

The following appears in a text (in the context of generalizing Gauss' famous proof): I would like to reproduce this, but I cannot figure out how to get the alignment down. I thought of trying to ...
4
votes
1answer
39 views

Align text in enumerate environment

From the code below, I wanted to be able to align the text in the enumerate environment like this: Thanks for your help. Here is the code that I have so far: \documentclass{book} \usepackage{...
4
votes
2answers
30 views

Alignment of Quantifier

\begin{document} \begin{equation} \begin{split} \sum_{s \in S_i} x_s &= 1 \quad \forall S_i \in P \\ x_s &\leq \sum_{(s,t) \in R: t \in S_j} x_t \quad \forall S_i \in P, \ \forall ...
7
votes
1answer
240 views

Why don't these functions align perfectly with uniform spacing?

Thanks for the help. I don't see why the functions aren't aligning perfectly with uniform spacing. \documentclass[11pt]{article} \begin{document} \DeclareMathOperator{\csch}{csch} \...
0
votes
1answer
31 views

Error using amsmath aligned in multicolumn table

I have a table with some data. At the bottom, I would like to include two sets of aligned equations. I can do this as follows: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{...
5
votes
2answers
110 views

Create a blank space the same size as text, equations etc

I would like to create a space in my document the same size (height and width) of a certain set of text. (For context, it will compile the TEXT when I want solutions and SPACE when I only want the ...
3
votes
1answer
43 views

Arrow to constant in align environment using tikz

this question is building of the elegant solution posted here, offered by Bernard. I wanted to get an alternate solution using tikz. Here is the code with my failed attempt (commented out) trying to ...
2
votes
2answers
28 views

text in align-environment

Is there a way to coordinate the space here? \documentclass[a4paper, 12pt, oneside, titlepage]{scrbook} \usepackage{amsmath} \usepackage{amssymb} \usepackage{colortbl} \begin{document} \begin{...
2
votes
1answer
23 views

Problem with the space in align-environment

May someone help me? Why is there such a great space between the equal sign and the rest of the equation? I hope you see what I mean...Is there a way to shorten this? And may I also make a greater ...
1
vote
1answer
38 views

Arrow to constant in align environment

I wanted to know how I can point to a variable in the align environment so the I can get an output that looks like this: Here is the code that I have so far: \documentclass{book} \usepackage{...
2
votes
2answers
54 views

How to specify Align separator with & in LyX?

I need to add & just before = in the aligned environment in LyX to specify the deliminator. So How to specify the deliminator with & in the aligned environment with LyX?
1
vote
1answer
31 views

Tabularx Misplaced \noalign but used to work before?

My table used to work before and all of a sudden I am having an error that says I misplaced \noalign when I changed some inputs into my tables. Would someone please help me take a look at the code ...
2
votes
1answer
25 views

problem with align* and labels

I have this code: \begin{align*} \label{eq:svc2} \stackrel{min}{\omega,b,\xi,\rho} \-\hspace{20pt} & \frac{1}{2} \omega^T\omega - \nu \rho + \frac{1}{l} \sum_{i=1}^{l}{\xi_i} \\ \text{subject to}...
4
votes
3answers
134 views

Alignment of multiple equations and their comments

I need to center-align a series of equations and then align their comments (which are themselves to be right-justified (except not all of them!). I'm slightly overwhelmed by the numerous options ...
3
votes
2answers
35 views

How can I align an equation with the & placed inside an \underbrace?

I have an aligned equation that looks like: \begin{align*} 1 &+ 1\\ 120 &+ 120 \end{align*} I would like to add an underbrace to one of the lines, but keep the alignment. However, when I ...
0
votes
1answer
26 views

How can I change only the text margins to be inside the equation and section numbers?

How can I change only the text margins to be inside the equation and section numbers? Something Like this
2
votes
1answer
40 views

Equation Alignment with Hierarchical Left Alignment

I was able to produce this set of left-aligned equations with aligned indenting to emphasize hierarchy: with this code: \begin{align} x &= y + z \\ &\mathrel{\phantom{=}} y = a + b\\ ...
1
vote
1answer
73 views

error using lstlisting inside minipage inside align*

I am trying to use a lstlisting environment inside a minipage, inside an align* (fromo amsmath)... However, lualatex throws an error. This is the minimum working examp \documentclass{article} \...
1
vote
2answers
161 views

Align Equations with the equals sign

I am trying to align two equations, however they are not aligning at the equals sign but at the comma at the end of the equation. How can I change this? \begin{align} A_{ij}^y= \begin{cases} ...
0
votes
3answers
78 views

Obtaining left aligned equation [duplicate]

How can I align this equation to the left? \begin{equation} \beta_1=(n_{20}+n_{02}) \\ \beta_2={(n_{20}-n_{02})^2}+4{n_{11}}^2 \\ \beta_3={(n_{30}-3n_{12})^2}+{(3n_{21}-n_{03})^2} \\ \beta_4={(n_{30}+...
5
votes
1answer
62 views

Enumerated list with custom label, containing aligned math equations

How do I write 4°? When I use align* or any other environment the equations become centered and I want all of them to be in a fine line just like on the picture. Here is what I tried: $(i)$ $\Delta^...
1
vote
1answer
47 views

Aligning a table vertically and horizontally

I need to place a table in the centre of a page, here is the code for the table which just centres the table horizontally, but not vertically. \documentclass[12pt,a4paper,titlepage]{article} \...
2
votes
1answer
28 views

Set default multiline environment to align

In LyX, when I press Ctrl-Enter, I get eqnarray, which is generally deprecated. Is there a way to change the function of the Ctrl-Enter behavior to align?
3
votes
2answers
44 views

Aligning two columns in one equation!

Consider the following \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{align} X_{n}=\begin{cases} X_{n}^{I}= t_{1}\nu_{1}^{n}+r_{1}\...
2
votes
1answer
33 views

Wrapping an equation around a list

Is it possible to apply a single centered equation # to a list? I'm using aligned wrapped with equation in the first list but 1) it requires a fair amount of manual spacing to make it look right and 2)...