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

Aligned Equation Resizing? (Above or Below \textwidth)

My input: \begin{equation} \begin{aligned}[t] & \min\limits_{\bm{\Delta(P,Q),u}} & & \sum\limits_i u_i, \\ & \text{s.t.} & & (P_{min_k},Q_{min_k}) \leq (P_k,Q_k) \leq ...
0
votes
1answer
34 views

How do I “align” numerator and denominator? [duplicate]

\documentclass{amsart} \begin{document} $\frac{(n+1)!}{(n+1)^{n+1}}$ \end{document} The problem is that I want to make (n+1) on the same line. How do I achieve this?
0
votes
0answers
26 views

Equations (align) with SOUL and CHANGES

Is it also possible to add markups for equations (created with align) by use of soul and changes package? The used Code is: \usepackage{soul} \soulregister\align7 % für highlighten von \align ...
5
votes
2answers
89 views

Table containing multiple equations

Is there an elegant way to summarize multiple equations from different sources in a table? I need to use this in my thesis; the margins I specified match the geometry of my university's draft. I've ...
1
vote
1answer
52 views

multiple subequations same line with reference

I'm trying to write several equations on one line, include a label for each equation, and also be able to view the equation number for each equation. Is this possible? I've seen several related ...
4
votes
1answer
32 views

Only first character of label recognised. Remainder displayed as text

In a particular document, align labels are only recognised as being the first character of the specified label, with the remainder being printed as text. Here is a MWE: \documentclass{article} ...
2
votes
1answer
56 views

Tagging multi line equations

Often I have a chain of equations but later on I only want to refer that the first statement is equal to the last one. There are some options to do that: \begin{align} \label{equation} a ...
5
votes
1answer
78 views

How do I draw a circle around a term in an align* equation?

Here's what my equation looks like; it's in an align* environment: I want to put a circle around $\varepsilon \frac{dL}{d\varepsilon}$ and everything else unchanged. Q: How do I draw a circle ...
1
vote
1answer
24 views

align numbering works strange

My understanding is that align numbering works the same as equation. But in my case, it works very strangely. See my codes as follows: \documentclass[12pt]{article} \usepackage{amsmath,amssymb} ...
0
votes
1answer
37 views

How do I add numbers to all existing align environments in a Lyx document?

I saw a similar post at Automatic equation numbering in LyX but it didn't answer my question, so hopefully someone can help me out. I have one of my key bindings set to: command-sequence math-mode; ...
2
votes
1answer
21 views

Shrink equations in align to fit page width

I read several similar questions, but none was on align environment. Here is my example. \documentclass{article} \usepackage{amsfonts} \usepackage{amsmath} \begin{document} \noindent where $B(a, ...
2
votes
1answer
30 views

Aligning equations, splitted in an enumeration

I have a problem regarding alignment for my equations. This dummy program shows the problem: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{enumerate} \item First do this ...
1
vote
3answers
158 views

Aligned equations in a colored box

I would like to put a set of aligned equations into a colored box. After a quick search on tex.stackexchange, I have found the following solution to put (apparently) one equation in a color box : ...
1
vote
2answers
51 views

Box around equations in align environment and no indentation

I have the following code and I want to do two things to it.First, I want to have the output maximally on the left, that is I do not want any indentation of the stuff in the align environment, I want ...
3
votes
2answers
33 views

Table cells are out of line / sync with each other, itemize

I'm trying to have a tabular section that has bullet points next to it. There might be a better way to go about this, but currently it seems as though the cells are out of sync (though this might be ...
2
votes
1answer
32 views

Align multiple line footnote text

I am trying to align the footnote text to the right of the number but I cannot get it working. I tried with both codes mentioned in the following answer: How can I align a multiple-line footnote text ...
2
votes
1answer
41 views

Remove italic within align inside a theorem-like environment [duplicate]

Is there any way to remove the italic from the words bits in the code below? That is, change the \text output to represent the normal font when an align is used inside a theorem-like environment. ...
3
votes
0answers
18 views

Cannot wrap align and align* [duplicate]

I am used to using \newenvironment to wrap an environment: \newenvironment{wrappedequation} {Look out for the equation! \begin{equation}} {\end{equation} Phew, it's over.} This ...
1
vote
2answers
44 views

Resolving this aligning problem?

\documentclass{amsart} \begin{document} \begin{align*} \nabla \varphi (r, \theta) &= \nabla f(x, y)\cdot Dg(r, \theta)\\ &= \nabla f(r\cos \theta, r\sin \theta)\cdot Dg(r, \theta)\\ &= ...
1
vote
2answers
65 views

Align left and right in an enumerate part

I'm new and I don't know a lot of things about latex. I don't want to align the equals but I want to align left the equation and right the description Thanks in advance.
2
votes
0answers
34 views

Possible bug? \setbeamercovered{invisible} vs. transparent within align* environment

I'm having some troubles typesetting my equations. I want to be able to uncover them one line at a time, while keeping everything that is on the slide transparent until they are uncovered. Besides ...
3
votes
0answers
47 views

Beamer columns misaligned vertically

I'm trying to pu my beamer TOC on two columns and I have this problem. When I divide my page in two equal columns, the left column is vertically misaligned. \begin{frame}[plain] \frametitle{Le ...
3
votes
2answers
42 views

How to remove the unwanted vertical space?

I'm using Exam class to create solutions, but the flaign* environment does not align my equation with the \part. How do I make them align? \documentclass[a4paper, twoside, 12pt]{exam} ...
3
votes
2answers
38 views

Inserting Text inside Equation

I'm trying to insert text inside an equation in a way not properly covered by the amsmath documentation. These solutions cover inserting text between equations, and I'm trying to insert it in the ...
4
votes
2answers
78 views

Compile error with redefined bmatrix and align environment

I just spent a couple of hours finding the reason for compiling errors in the last example in here: \documentclass[a4paper,draft=true, headsepline=on, twoside , 11pt, ]{scrbook} ...
1
vote
1answer
50 views

Left brace in align environoment [duplicate]

I would like to have a left brace around equations in the align environment. How can I do this? (I would like to use this environment because I would like to number each individual equation to be ...
2
votes
1answer
36 views

Horizontal alignment in multicols

I was working with math equations in multicols, but the equations don't seem to align (i.e. (a), (c) and (e) do not horizontally align). Is there any easy workaround for this? ...
2
votes
1answer
20 views

align*-environment aligns parts of equation to the right with multiple ampersands

This following example aligns the last part of the equation to the right and I don't know why. What I would expected to see instead is that the last parts of both lines start directly to the right of ...
6
votes
2answers
79 views

Slight misalignment using hphantom equals sign in align

I am attempting to align the integral signs precisely, whilst still retaining the correct spacing around the equals signs. Why doesn't the following code get it exactly right? \begin{align} & ...
1
vote
2answers
52 views

How can I typeset this optimisation problem?

I need to reproduce the following equation: I've tried the following: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{aligned} & \text{minimize} ...
3
votes
1answer
61 views

How to align picture to top left corner?

someone can tell me, why the picture isn't align to the left top corner? I want move it to place where is blue box: \section{Grafika i pakiet \texttt{wrapfig}} \begin{wrapfigure}[4]{L}[0pt]{0pt} ...
4
votes
1answer
56 views

chemmacros reaction environment align

Take the following example \documentclass{article} \usepackage{chemmacros} \begin{document} \begin{reactions*} NH3 + H2O &<=> NH4+ + OH-\\ Fe^3+ + 3 OH- &-> Fe(OH)3\\ 2 Fe(OH)3 ...
3
votes
2answers
50 views

Symbol to the right of equation

I want the contradiction symbol to the right of the equation without moving the equations to the left. I've written \begin{align*} u(2-t, 1, 3-t) & > (2,1,3) \\ 1 ...
2
votes
1answer
34 views

Aligning equation pairs at equivalence sign

How do I align the following so all the \Leftrightarrows are aligned under each other like so: So far I have the following \begin{align} \frac{\partial f_A (x)}{\partial x_1} & = w_1 - ...
1
vote
1answer
34 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
46 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
35 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
65 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
49 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
45 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
141 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
23 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
219 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
100 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
43 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} ...
0
votes
1answer
91 views

Using “align” instead of “array” in an array of equations [duplicate]

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
51 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
44 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
27 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
33 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 ...