{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
1answer
29 views

landscape to portrait

I'm working on landscape and I want only one page in portrait. How can I do that? My workfile: \documentclass[17pt,landscape,a4]{extarticle} \usepackage[utf8]{inputenc} \usepackage{animate} ...
1
vote
3answers
35 views

Right align a caption with an image

So, I am doing an outline where, as you go down the subdivisions, the left margin pushes progressively to the right, yet all the text stays flush on the right hand side. For aesthetic reasons, I keep ...
1
vote
3answers
28 views

Problem with alignment

I currently have \textbf{Theorem 4: } $\mathrm{E}[XY]=\mathrm{E}[X]\mathrm{E}[Y]$ \begin{flalign*} \textbf{Proof: } \mathrm{E}[XY]&=\sum_j\sum_i (x_i y_j)\mathrm{P} ...
0
votes
2answers
34 views

Aligning Multiline Matrix Equations

I need to align two equations, one of which spans two lines. I've tried the solution here, but this isn't for matrix equations, and it doesn't seem to work with these. My minimized code is: ...
1
vote
1answer
43 views

Special alignment

Can anyone tell me how you can I do such alignment in an efficient way? I tried several things within the array but I didn't find the way.
3
votes
1answer
41 views

How to manually make a line of words begin at a given position?

\documentclass[12pt,a4paper]{article} \title{Title} \author{Author} \begin{document} \maketitle \noindent $\bullet$ Address: somewhere somewhere ... \end{document} Putting sufficiently many ...
4
votes
1answer
85 views

Fancy header and footer including images with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
0
votes
0answers
22 views

How to translate an array of equations with the use of align to the use of array? [duplicate]

Translation between eqnarray and align is known: How to write an array of equations without using eqnarray? How about the translation between: align and array? Although the use of ...
5
votes
5answers
203 views

How do I align equations?

I need to align the following equations: The numbers, <,> signs and theta symbol are aligned as desired. But, the words on left are not. I tried this: \begin{flalign*} \textit{Angle}: ...
3
votes
2answers
80 views

Alignment in an align environment using “\hspace*{2em}”

I am making a multiple-choice test. For some problems, the choices are nicely displayed in the tabbing environment. For some problems, since the choices display quotients, I don't think the tabbing ...
3
votes
3answers
28 views

toprule and bottomrule next to align within table - errors & spacing problems

The following table gives 2 errors: \documentclass{report} \usepackage[intlimits]{amsmath} \usepackage{floatflt} \usepackage{caption} \usepackage{listliketab} \usepackage{tabularx} ...
-1
votes
1answer
70 views

Using “align” instead of “array” in an array of equations

I want to produce big parenthesis like this: Left brace including several lines in eqnarray How do I do this with align instead of array? I do not want to use eqnarray though. Thanks.
2
votes
1answer
40 views

How to write an array of equations without using eqnarray?

I heard that it is recommended to use align or array. But how should I do so to replace the use of eqnarray? Thank you very much.
3
votes
2answers
35 views

several maps and images in a column like shape

I would like to have 4 maps in a row and some images of it below. The best I came with is \begin{align}\label{sumary isomorphisms} (\textrm{Im} H, [,]) \rightarrow \mathfrak{su}(2) \rightarrow & ...
2
votes
1answer
20 views

Alignat not working properly

Consider this minimal example : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{alignat}{2} &\frac{1}{2} log(\langle d_x, d_x \rangle + ...
3
votes
2answers
25 views

Align arrow using its midpoint

I am displaying arrows between three equations. I am using align to line up the "lesser than"-sign, but I would like the arrows to be lined up as well. And, well, they are, but they are lined up at ...
1
vote
2answers
63 views

Problem with align*

I want to create the following: So I wrote this code: \begin{align*} n & = & 3: S_3={\{1,2,3}\}\\ \textnormal{Subsets} & : & \phi,{\{1}\}, {\{2}\}, {\{3}\}, {\{1,3}\}\\ n & = ...
4
votes
3answers
49 views

Tabs in cases environment in an equation

I would like to have a few tabs in a cases environment so that the "for"s and the "u"s in my example (and in the best case the "j"s as well) are on one line, respectively. I tried different ...
0
votes
1answer
23 views

Align issue: Either missing } or paragraph ended before \align complete. Help?

Let $X_1,X_2,\ldots,X_m$ be independent standard normal random variables. Then \\ \begin{align} \textbf{E}(X_{1}^2+X_{2}^2+\ldots+X_{m}^2)^n &= ...
2
votes
0answers
33 views

What could make align use so much spacing?

Apologies in advance for not creating a compiling example, but when trying to duplicate just the related code to an empty .tex project, the phenomena does not appear. I have the following code: When ...
2
votes
0answers
21 views

Using `\displaybreak` in `\split` environment

I want to use \displaybreak in \split environment. I tried to use it locally and just before the \begin{equation}...\begin{split} block, but they both didn't work. As far as I searched, there is no ...
4
votes
0answers
47 views

Insert logo in \cventry for modercv (classic style)

I'm using moderncv for my CV. I tweaked with moderncvstyleclassic.sty quite a bit and I'm almost there in terms of the result I want. There's just 1 last thing I cannot solve: I would like to add a ...
3
votes
2answers
28 views

Equation inside Intertext{{} under falign{} environment

Can i use $ Equation $ inside and outside \intertext{} under flalign environment. Because of these two lines my all equations got justified to left. Please help in this regard. Before adding it is ...
3
votes
0answers
29 views

Difference between equation and align using tex4ht

I'm trying to produce an html copy of my book, which is written in LaTeX using tex4ht. Things are going better than I expected. But in some places I use the equation environment and in others align. ...
3
votes
2answers
39 views

Aligning multiple lines in long equations and arranging the line breaks in `\align` environment

I have the following code sample: \begin{align} \pi^{(1)}_{i j} \enspace & = \enspace -\frac{1}{4}\eta^{\lambda \sigma} \left( \eta^{\mu \alpha}\eta^{\nu \beta} + \eta^{\mu \beta}\eta^{\nu ...
5
votes
1answer
40 views

Align \sim with \overset{}{}

I am trying to align the \sim (i.e. ~) symbols but I cannot get it to work. The problem arises because the first \sim has text on top of it. This is the two versions of code that I tried out, with ...
1
vote
1answer
28 views

Using \\ in environments inside the \begin{tabularx}

I have the following code: \begin{table}[h] \begin{tabularx}{0.75\textwidth}{ m{4cm} X } & \textbf{Derivations} \\ $v=v_0+at$ & line 1\hrule \\ ...
1
vote
0answers
30 views

Make some letters or numbers at the right hand side of document

To shift letters or digits to the right hand side of the document, I use \hfill but when a sentence used up the line, the \hfill will move whatever you want to appear on the right to the next line and ...
0
votes
0answers
25 views

aligned equation block error [duplicate]

Trying to create aligned equation block , seems that i've problems using inside with \left[\right]... \begin{equation} \begin{aligned} ...
1
vote
0answers
40 views

Align decimal point & proportional font

I have found a couple of solutions how to align row of numbers in table environments for example here and here. From a philosophical point of view can I use these solutions with proportional fonts ? ...
0
votes
1answer
26 views

center align equation in ‎\documentclass[11pt,twoside,fleqn]{book}‎

I used the ‎\documentclass[11pt,twoside,fleqn]{book}‎ for set formulas left, but I want to put formulas to center in some cases like original type without [fleqn]. What command do I use? ...
2
votes
1answer
43 views

How to get a large division symbol?

I'm using: \documentclass[journal,transmag]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \usepackage{breqn} \begin{document} \begin{align} something&\left(\sum_{n}\right.\nonumber\\ ...
1
vote
1answer
29 views

place colorbar in subfloat array

I have created a subfloat array that is showing different heatmaps that I generated using matlab. This works very well until I want to include a colorbar I generated with tikz. I know that my ...
3
votes
1answer
43 views

How to draw these figures in the same line

There are the figures and its code: \documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows, ...
11
votes
4answers
1k views

Can I get $$…$$ to behave like \[…\]?

Is it possible to modify LaTeX so that good old $$...$$ behaves like \[...\] (and by this I mean that it should be synonymous to it). If yes: Dear LaTeX3 developer, please integrate this into LaTeX3! ...
0
votes
1answer
43 views

How can I adjust these draws in the same horizontal line?

How the circuits are: I tried to use \begin{circuitikz}[american voltages, baseline=(current bounding box.base)] instead of \begin{circuitikz}[american voltages, baseline=(current bounding ...
3
votes
1answer
29 views

Unknown error with align

What is wrong with this align? I get error message when I compile it. Below is the code: \documentclass{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
41 views

Individual equations in multiple columns with individual numbering

I have a number of short equations and I want to show them in two columns. Essentially: A = B (1) || C = D (2) E = F (3) || G = H (4) I first tried the flalign environment (I would prefer this ...
2
votes
0answers
41 views

Aligning The Title, Autor, and Date in the header of a Beamer Poster

I am using the beamer package and I have a title set at the top of the page, but I want to left align the title. So far I have this for the title portion: \documentclass[final]{beamer} ...
2
votes
4answers
114 views

How to align one equation with another multline equation

I have two equations: The first equation needs to be broken up over two lines (e.g., with multline) so that the rest of the equation is right aligned on the second line. I would like to have the ...
5
votes
2answers
123 views

What is the difference between align and equation environment when I only want to display one line of equation?

I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment ...
3
votes
1answer
38 views

Align-like environment in a column of array

I have an array in which one of the columns is a polynomial, and I would like to align the terms of the polynomial for each row of the array. My hack is to use \phantoms all over the place, but is ...
3
votes
1answer
50 views

\begin{align} not working as expected

In this small snippet of code, I'm doing quick derivation to arrive at an equation to be used later in the analysis: $ |\vec{F}|=q|\vec{v}||\vec{B}|sin(\theta)\\ m\frac{v^2}{r}=qvB\\ ...
0
votes
0answers
12 views

Align environment produces double footnotes [duplicate]

I would like to add a footnote in the align environment. Unfortunately this produces the footnotes twice: \begin{align*} \footnote{Hey ho!} \end{align*}
2
votes
1answer
84 views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
2
votes
2answers
42 views

How to underline in math mode with ampersand anchor?

When I use the ampersand & in align for positioning I loose the underline function. Is there a (simple) way of underlining the last math line completely? ...
0
votes
1answer
25 views

Parenthesis Size in a multiline equation

How can I use \left(.... \right) which automatically adjust size of parenthesis with it's inside content, in a multiline equation in \begin{align} and \begin{equation} environment.
2
votes
1answer
32 views

Why does & fail to align things properly, here?

\begin{align*} f(x) &= a x^2+b x +c & g(x) &= d x^3 \\ f'(x) &= 2 a x +b & g'(x) &= 3 d x^2 \end{align*} gives the four equal signs are aligned But ...
2
votes
1answer
22 views

How to left align sub-equations in which some sub-equations are split across multiple lines (with their own alignment)

I have a set of four sub-equations, which I each want numbered and left-aligned. The second and third of these sub-equations are too long for one line so I am using the split environment to manually ...
4
votes
2answers
29 views

Change size of font of subscript of underbrace in align environment

I would like to have a bigger subscript S under the underbrace in the following equation and appreciate your help. \begin{align} K&=\frac{E}{(1+i)^r}\cdot \underbrace{\left ...