{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
39 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? ...
2
votes
1answer
31 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
134 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
27 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
31 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
42 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
131 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
28 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
28 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
16 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
14 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} ...
6
votes
1answer
534 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
38 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} ...
4
votes
2answers
24 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
239 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
26 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} ...
5
votes
2answers
101 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
36 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
27 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} ...
2
votes
1answer
22 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
35 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} ...
2
votes
2answers
40 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
29 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
23 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 ...
4
votes
3answers
128 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
34 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
0answers
39 views

How do I make the text body go around a tikz picture flushed right?

I would like the text to start at the same height as the picture, but I want the picture to be flushed right. It's not directly associated with the text, but rather more like a visualization tool for ...
0
votes
1answer
25 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
32 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
58 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
156 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
55 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} \\ ...
5
votes
1answer
53 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)$ ...
1
vote
1answer
43 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
25 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
41 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}= ...
2
votes
0answers
37 views

Weird spacing in align environment

Using this MWE: \documentclass{memoir} \usepackage{amsmath} \begin{document} \begin{align} x &= y \end{align} \begin{align} x =& y \end{align} \end{document} I get this (cropped) ...
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
votes
2answers
40 views

splitting and numbering sentences

I have the following code : \usepackage{amsmath, amsthm} \begin{document} \begin{align} \begin{split} Case 1:\\ \text{5 is a square modulo q and 29 is not a square modulo q ...
1
vote
0answers
37 views

Strange behavior when using brackets in aligned environment [duplicate]

At ran into what at this point seems like a bug to me. When using brackets around a term before the first equality in an aligned environment, the enclosed quantity simply disappears from the output. ...
4
votes
1answer
29 views

Trouble with the size of parentheses and spacing in an `align` environment when using the `mleftright` package

I am having some trouble with the mleftright package. For a particular math paper that I am working on, I created a macro that would allow me to write functional notations whose parentheses ...
3
votes
2answers
209 views

Make formulas start at the same point

I would like to list a few formulas which I have done as following: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{enumerate} \item \textbf{Hommes and in 't Veld AR(1) model:} ...
7
votes
2answers
96 views

Cases alignment and displaystyle for all environments

please consider following "minimal" code: \documentclass{article} \usepackage{amsmath}% http://ctan.org/pkg/amsmath \begin{document}\begin{align*} (p's_y)(z)&=(ps_xs_y)(z)=\\ ...
0
votes
2answers
25 views

Center the middle part of a three part equation in align environment

I have an inequality in a align environment: \documentclass[xcolor={dvipsnames}]{beamer} \usetheme{Warsaw} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage[T1]{fontenc} ...
2
votes
1answer
32 views

Change fontsize of an array within an align environment

I am trying to label several lines at once in a very long equation. From this question I have come up with the following minimal example: \documentclass{report} \usepackage[onehalfspacing]{setspace} ...
2
votes
2answers
50 views

Horizontal positioning of vertical arrows between lines in an alignment

I'm trying to get a construction like \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \begin{align*} a &= b \\ &\Downarrow \\ a &= c \end{align*} ...
1
vote
0answers
44 views

Scope or override \pause?

I have some lecture slides with multi-part problems. I would like for the students to be able to see the entire problem laid out, and then fill in the answers step-by-step. This is doable as long as ...
3
votes
2answers
86 views

Somewhat customized “align” environment?

Neither of the two "versions" below gives me what I would like. The first one is somewhat tolerable. However, I would like the two instances of \sum_{(A\,:\,|A|=k)} to be aligned with each other, ...
1
vote
1answer
124 views

Mathematical formula alignment

I am trying to align my formulas and at the end of each formula I want to see number. Since I would like to explain all formulas in my report. However after making following changes, I got so many ...
3
votes
1answer
40 views

Left align three columns in Latex

I have an equation in multiple lines. I want to left-align the equations in three columns. How can I do this in Latex? I am currently using \begin{equation} \begin{aligned} &Column1& ...