Questions tagged [align]

{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.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

Footnote within Intertext does not show (Align)

i am trying to finish up a Paper i am writing and used align with intertext in between, which made my footnote disappear. I tried using \footnotemark and \footnotetext after {align*}, this makes the ...
1
vote
1answer
23 views

Align equations with others in a nested aligned environment

I am trying to align the following set of equations \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{align*} [J_i,J_j] &= i\hbar\epsilon_{...
3
votes
2answers
66 views

Aligning equations both left and right in same display

I am looking for an elegant way to achieve the following display, in which consecutive lines in math-mode have opposite justifications: I was able to do so using the following hack \documentclass[...
3
votes
2answers
92 views

Align inside enumerate

Is it possible to align \items content inside enumerateenvironment? My expected output is: Which I got manually, (adjusting with \hspace) These answers: Aligning formulas inside enumerate Equations ...
5
votes
3answers
176 views

Proper nested align? Or split in align?

Say I have a short line and a split long line, both of which I wish to left-justify, while also aligning the long line at the equals sign. The following code... \documentclass[oneside,a4paper]{article}...
1
vote
0answers
22 views

Table with images - align text to image [duplicate]

I am trying to include images in a table. It is working fine so far, but I want the top of the image to align with the text. Right now the image is 'too high' in relation to the text. Is there an easy ...
0
votes
2answers
32 views

Configuration of section numbering and section heading

I am using the article class (and I have to). How could I use the command \section{<heading>} in such a way to produce the specific configuration as seen in the attached figure below? \...
0
votes
0answers
28 views

A modification in an environment

I wanna type some lengthy formulae. It's clear that using align would be a good option. When latex complies with a lengthy formula, it puts all of the equations on a page. Since there are some texts ...
1
vote
1answer
30 views

Problem aligning simple equal Signs

I'm very new to Latex but for most problems, I have no problem finding an answer, on this pretty simple one I've been stuck for over an hour and don't seem to find a good solution. I have 4 different ...
0
votes
2answers
27 views

Splitting on two rows equation enclosed in square brackets inside align environment

I've the following equation: \begin{align} \left[ 1 - \frac{m \, t}{\sigma \, \sqrt{n}} + \frac{1}{2} \frac{m^2 \, t^2}{\sigma^2 \, n} + \frac{m \, t}{\sigma \, \sqrt{n}} - \frac{m^2 \, t^2}{\sigma^2 ...
1
vote
1answer
51 views

Better way to write the minimum cost covering formula

I'm trying to reproduce the model for the minimum cost covering that follows: I managed to do this: \documentclass[10pt,a4paper]{article} \usepackage{amssymb} \usepackage{amsmath} \begin{document} ...
0
votes
0answers
44 views

Is there a better way to align the parts of this proof?

Is there a better way to align the parts of this proof. \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \begin{document} Notice that \begin{align*} (...
0
votes
1answer
30 views

Replacing bullet in begin enumerate with this picture

I have already seen other threads regarding this issue, but I am using an alternative approach to do the task. I am able to replace the bullet in the \begin{enumerate} with some pictures, as we will ...
0
votes
0answers
27 views

Align Showing Decimals

taking a shot at writing my own document class right now. But my align is showing up like this: instead of how it is usually looks, with just a (1) and not (1.1). Below is a test class where there's ...
3
votes
2answers
23 views

Text align around symbol using tabular

I want to align the word "vejledere" in the center between the & symbols. I have the following code for the table: \begin{table}[h] \centering \begin{tabular}{rcl} Matematik ...
1
vote
2answers
36 views

How to Automatically Align the Second Letter of an Acronym with a "Floating" Symbol on the Line Above

Consider the MWE: \documentclass{book} \usepackage{xcolor} \newcommand{\myred}[1]{\textcolor{red}{#1}} \begin{document} \LARGE \noindent \textbf{(10)} * \\[-2pt] \textbf{A.B.C.} \vspace{15pt} \...
1
vote
0answers
18 views

Align environment starts new page [duplicate]

When I have equations within the align environment and there is no enough space on the page, the LaTeX starts a new page so that all equations are on the same page. This leaves (sometimes a huge) ...
3
votes
0answers
39 views

Align unnumbered equations when converting latex to html

I am trying to create an ebook from a tex file using the tex4ebook command. I have numbered and unnumbered equations using align. I am able to align equations using pic-align in the .cfg file, but ...
0
votes
0answers
14 views

VsCode markdown: how to add align as a direct math environment?

Basically, I am using vscode for my latex notes due to its snippets, and I would like to have a live preview with markdown. The idea is to take live notes in markdown and then copy and paste them into ...
1
vote
4answers
44 views

Spacing of align environment inside subfigure

I like to enclose two subfigures, which I use to display align environments side by side in a framebox. However, this leads to ugly padding at the top of the box. A earlier post (Where does the space ...
0
votes
0answers
21 views

Keep inlineequation counter fixed during overlays

In this page Labelled in-line equation, a labelled in-line equation was defined. I want to know how to fix its counter if it appeared inside other math environments like align for example. Here is a ...
3
votes
2answers
62 views

Chapter Title Does Not Align With Text Width

I am trying to modify my chapter titles so that in the case of a long title, it remains aligned with the text width. I have tried commands like \newline, but this conflicts with the use of hyperref. I ...
3
votes
2answers
43 views

Problem using alignat with 2 &&'s

I am having trouble aligning the second block in my example below... \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{alignat}{2}\nonumber \frac{\partial ...
3
votes
2answers
42 views

How to place brace on the right of a subset of aligned equations?

This question is essentially an extension of this question about how to place right braces around cases. I want to have three equations, all aligned, but I want only the latter two of the equations to ...
2
votes
2answers
84 views

Two align environments are not centered

I am having trouble centering the entries within two align environments w.r.t =. I tried the solutions suggested in this post. The problem still persists. The following code is borrowed from the same ...
4
votes
3answers
143 views

How to make a newline in a align environment?

I have a formula like: \begin{align}\frac { \partial f } { \partial l } \Big| _ { ( x _ { 0 } , y _ { 0 },z_{0} ) } &= f _ { x } ( x _ { 0 } , y _ { 0 },z_0 ) \cos  \alpha + f _ { y } ( x _ { 0 } ,...
2
votes
2answers
32 views

Eqnarray mutiple equals in each line

I'd like to produce the following array of aligned equations: \begin{eqnarray*} \operatorname{Cov}\left(u^{\prime} X, v^{\prime} Y\right) &=& u^{\prime} \Sigma_{xy} v &=& \alpha^{\...
1
vote
1answer
83 views

How to split and align equations in subequation mode with fractions

How to split this system of equations? \begin{subequations} \begin{align} u_0&=\frac{c_{1,1} (c_{1,0}^4 (I_{0,1}-2 (I_{-1,0}-I_{-1,1}+I_{0,0}))+c_{1,0}^2 (c_{0,0}^2 (2 I_{-1,1}+I_{0,1})-c_{1,1}...
0
votes
1answer
40 views

Align text using tab

I can't get the text to align for REQ1.2, I'm trying to start at 3cm from the left. I'm using the following command: \newcommand{\newRequirement}[3]{ % Params: Number, MoSCoW, Description \...
4
votes
1answer
58 views

Mixing multlined and align

I’m trying to have a first equation split on two lines, first one being left aligned, second one right aligned, equation number centered for those two lines, and then a second (numbered) equation that ...
0
votes
0answers
18 views

How to tag equations behind curl brace [duplicate]

I want to put my equations behind a curly brace and number each of them. This is my code: ( \dfrac and \pfrac are self-defined commands and they have nothing to do width my question.) Here are my ...
2
votes
3answers
176 views

Align 2 lines horizontally starting from a dash symbol , with the first previous one without subscript and the second previous one with subscript

I try to align horizontally 2 lines after 2 words, the first one not containing a subscript in text (see below with "WL") and the second one with a subscript (see GC_{sp}). I used for this ...
3
votes
3answers
70 views

How to have multiple align points

How can I achieve multiple align points as illustrated in the picture? The corresponding latex code: \begin{align*} \int_{}^{} \sin\left(x\right) \sin\left(x\right) \mathrm{d}x =&-\sin\...
2
votes
2answers
31 views

Why last colunm right aligned in align environment

My code is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{setspace} \begin{document} \section{Introduction} \begin{spacing}{0} \begin{align*} \texttt{0}\quad&...
4
votes
2answers
232 views

Error using \ifdefined\HCode with TeX4ht, but it works in LuaTeX

I now use the breqn package in LuaTeX mode only. Not in TeX4ht mode since it does not work there and is not needed. So I load breqn only when not in TeX4ht mode and use \ifdefined\HCode to make sure ...
4
votes
3answers
290 views

Numbering in subequation and align environments

I use the subequations and align environments as follows: \begin{subequations} \begin{align} \sum_{a \in \delta^+_G(v)} f^k_a - \sum_{a \in \delta^-_G(v)} f^k_a &= d^k_v, & \forall v \...
1
vote
1answer
52 views

Indent all equations in a document

I'm currently writing my notes on a LaTex book, and I've decided to use this template. Additionally, I'm compiling with LuaTex since I have some Feynman diagrams with tikz. I like to write my ...
2
votes
3answers
271 views

How can I align this equation well?

I try formulate some lambda expression in lambda calculus. It is similar to a code, but I have to use align environment because it contains math symbols. I wonder how I can formulate its structures ...
3
votes
1answer
41 views

How can I align the arrows in a fraction with the arrows of non-fraction equations?

I was wondering how to align the arrows \to and \xrightarrow in the numerator and denominator of the fraction with the arrows \xrightarrow of the other equations? Thanks. \begin{align*} \frac{ e \...
2
votes
3answers
56 views

Align fraction expanded parts

I want to make it easier to see how a fraction has been expanded. I used \hfill to separate the expanded parts, but the "1s" are not in the center anymore. How can I achieve this? &= \...
2
votes
1answer
35 views

Fitting a very long equation in the page under brackers

I have been trying to fit a very long equation that has curly brackets. So far it is not fitting the page: Here is the code below: \begin{equation} \begin{aligned} V_{j}\left ( s,q,z \...
0
votes
1answer
33 views

Decrease whitespace in align environment

I have the following in an align environment \begin{align*} {2 + 2 - 1}\choose{2 - 1} &=& {2 + 2 - 1}\choose{2} \\ {3}\choose{1} &=& {3}\choose{2} \\ 3 &=& 3 \end{align*} but ...
2
votes
1answer
30 views

subequations - alignment of split environment

I want my equations to be aligned to the left by the leftmost letter, not by =. The following code aligns the equations by =. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{...
1
vote
1answer
29 views

Left align two and three columns with each other using align* or flalign*

Problem: Trying to align multiple rows and columns where the number of values differ for each row. Minimal Working Example (MWE): \documentclass{article} \usepackage{amsmath} \begin{document} \begin{...
1
vote
1answer
24 views

Aligned environment: How to align equations in the 'left column' and align conditions/words in the 'right column'?

I have a list of boundary conditions which I would like to display using aligned environment. Here is the code so far: \begin{equation} \left.\begin{aligned} x&=y &\text{in...},\\\ x'&=y' ...
1
vote
1answer
65 views

Aligning columns with respect to plus/minus and X symbol

I would like the data in the columns to be centered/aligned with respect to plus/minus and X symbols. Here is the code, I have used. Can someone please help me with it. \begin{table}[b!] \begin{center}...
1
vote
1answer
25 views

How to prevent align environnement from stretching delimiters

Given \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align*} &x_4 &= 102/-24 = -51/12 \\ &x_3 &= -48x_3 -24x_4 = -42 \\ & &= -48x_3 ...
1
vote
3answers
52 views

Splitting a Minimization Equation into More than 2 Lines

I'm working with a particularly hairy minimization problem that I would like to split into at least three lines. Here's some sample code so you can follow me. \documentclass{article} \usepackage[long]...
0
votes
1answer
42 views

Does tex support `\begin{align}`?

The \tag syntax works well with jupyter notebook \begin{align} a &= b+1 \\ &= c+2 \tag{3-2} \end{align} However, it causes error with overleaf LaTeX Error: Environment align undefined. Does ...
2
votes
2answers
38 views

Aligning multiple functions across multiple lines

I am developing a LaTeX document that includes several math formulas. In this document, I'd like to print a list of six limit equations formatted in two rows with three equations each. For each "...

1
2 3 4 5
69