{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

3
votes
1answer
41 views

How to put a colon to the left of a set of equations?

Currently I have the following code \begin{equation*} \begin{split} \Omega : \dot x &= \omega(b) \\ p &= \sigma(z) \end{split} \end{equation*} Which generates But I would much ...
1
vote
1answer
29 views

Font Awesome macros not displaying correct symbols in math mode

Just wondering if anyone knows why the symbols from the fontawesome package do not show up correctly here (in the underbrace). For example the Twitter logo works fine when not in the align part, but ...
0
votes
1answer
14 views

Removing a line break following \item before \begin{align*} [duplicate]

I'm trying to remove the line break that occurs when trying to start an equation within a list. This is what I'm trying to do, and the output that occurs: ... \item \begin{align*} ...
1
vote
2answers
40 views

Aligning labelled reactions in mhchem

Okay, i have asked this question a long time ago before, but i never got it solved, so i will try my luck again. I have the following code. \documentclass{report} \usepackage[version=3]{mhchem} ...
2
votes
1answer
33 views

AMS align and its groups

I need a flexible solution to put a fancy frame certain parts of equations inside an ams align environment and I decided to write my own in TikZ following @Marco Daniel's example in How to box two ...
1
vote
1answer
24 views

Aligning equation using images with another equation centred on images

Basically, I have an equation that uses only images as the "variables" so-to-speak; it's just an illustration of image subtraction. So what I would like to do is have this equation (that I have ...
4
votes
1answer
62 views

How to align columns of two separate matrices?

I have two equations involving matrices in an align environment. One of the matrices is wider than the other. How do I align them so that they are equally wide? A minimum working example: ...
1
vote
0answers
41 views

Equations don't show up in the output

I'm working on my final year project using LaTeX. I'm facing a right now where part of my writing doesn't show up on my PDF output. The other writing in this section is ok, but this particular ...
1
vote
1answer
17 views

Working on a poster wanting to put an image and a table side by side

Hi all I am sorry I am new here, still struggle even imputing the question I apologize. What I have is an image and a table inside a mini page of a poster that I want to put side by side but I cannot. ...
2
votes
1answer
23 views

Alignment at the inequality in a system of linear inequalities

I have a system of linear inequalities (in the variables x and y) that I have aligned at the inequality. There is no inter-line spacing. If I had expressions that were x - y < 3, there would have ...
2
votes
1answer
38 views

Fraction Equation problem

I am a new user of LaTeX. I am using amsmath package but keep getting errors with the following: \begin{align} \frac{\partial P}{\partial t} = \mu(N,I)P - mP - \nu \frac{\partial P}{\partial z} + ...
2
votes
1answer
35 views

how to flalign multiline

‎I do not know how to align this. could you help me? this is my attempt: \documentclass{article}‎‎ \usepackage{amsmath} ‎ \begin{document} ‎ \begin{flalign*} ‎‎ \displaystyle \partfunc{e}{‎e‎} ...
5
votes
2answers
160 views

Breaking single equation with multiple alignment

I have a set of equations that have multiple alignments, and one of these equations I want to break since it is long. The following MWE illustrates my current solution to this problem, but it's not ...
3
votes
1answer
37 views

Align matrix on left margin. align* left-aligned?

I have the following problem: I put the command vmatrix inside the align* area. The result is unfortunately centered, but I'd like to have the matrix be left-aligned. Here is the code: ...
1
vote
2answers
54 views

How can I align the two tables?

Why my tables below are not horizontally aligned? My MWE: \documentclass[ignorenonframetext,xcolor={table,svgnames}]{beamer} \usepackage{tikz} \usepackage{amssymb,amsmath} ...
4
votes
2answers
52 views

Improper alignment at equation break

I have the following MWE, showing how the two plus-signs of the second equation are not completely aligned with each other: \documentclass{article} \usepackage{amsmath} \begin{document} ...
6
votes
3answers
116 views

Problem related with aligned

I'm trying to place 3 equations with some dots between them and I don't know why only the first \cdots is right aligned and the others are a mess. This is the code: \begin{equation} \begin{aligned} ...
2
votes
1answer
37 views

Center-left aligned equations

I have multiple equations that I want center-aligned, but starting at the same point, like I see in other people's texts: If I use this code: \begin{align*} \Pr(\mathbb{X}_2 = 0) = ...
1
vote
1answer
30 views

Equation align to '=' in table with cell equation

\begin{center} \begin{tabular}{ ||l|r@{ = }p{4cm}|| } \hline Text & \multicolumn{2}{l||}{Text}\\ \hline ...
4
votes
3answers
132 views

How to align a picture in a 2 lines fancyhdr header

I use fancyhdr to create my header, i have this code: \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{lastpage} \fancyhead[L]{\includegraphics[width=1cm]{logosmall.jpg} \textbf{Title of my ...
4
votes
3answers
205 views

Graphics and brackets not vertically aligned within align environment

I'm trying to include small graphics within an equation setting (they're little diagrams of mathematical knots), using \includegraphics within the \begin{align} environment. The graphics themselves ...
4
votes
2answers
270 views

How do I get a equation to not break the margin?

How do I get this equation to not break the margin? I have tried different things, do I need to used something else then align? \begin{align*} \int_{\R^2} \1_{[-1,1] \times [0,\pi)} (p, \alpha) ...
1
vote
0answers
45 views

LyX Spacing after = sign in \align

My question is the same as this question, but in the context of LyX. The solution for that question was to put the & before = sign. I manually implemented this tweak in LyX, by changing the raw ...
3
votes
5answers
64 views

Align vdots in equation

I want my vdots to fall under the expressions and not at the end as its now. I found solutions online for equations by using &=, but this is not applicable for me because I don't use the equal ...
3
votes
3answers
36 views

Long series alignment

I have three long sums (series) on three lines and want all plus signs be aligned vertivally just like in LaTeX code. \begin{align} x &= 1 \cdot x &+ 0 \cdot x^2 &+ 0 \cdot ...
2
votes
1answer
56 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
28 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
42 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
242 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
80 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
57 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 ...
1
vote
0answers
43 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
290 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\{ ...
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
28 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
53 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} ...
0
votes
0answers
36 views

format for justifying each step in a proof

I'm looking for a way to structure my proofs where I can indicate an application of a previous theorem. Right now I'm writing things like "so and so is true since Theorem 1" or "this is true (Theorem ...
2
votes
1answer
40 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
34 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
136 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
30 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
49 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
146 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
32 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}+ ...