5
votes
2answers
80 views

right bind when using align

I have multiple lines of equations in align environment, some of those are to long and I have to split them. How can I make the second line rightbound? What I do now is: ...
0
votes
1answer
49 views

Beamer: \qed at the end of align*

I finish a proof sketch on beamer slides with a formula, e.g., \begin{align*} P\leq n^{-\alpha} \end{align*} How can I get a qed symbol at the end of this line? Using \qed as well as ...
6
votes
2answers
38 views

Relational Operator spacing problem with alignat

I have not asked a really embarrassing question in a while, so thought it was time :-). I am stumped as to why the spacing around the = on the third line is incorrect: Notes: I realize I am ...
1
vote
1answer
64 views

Putting a number on the right hand side without using the equation or align environment? [closed]

I have a couple of lines which I wish to number and I'm hoping for something like: Text... \alignright{1} or something like that if it exists to produce Text... (1)
3
votes
2answers
45 views

How to align terms in alignat environment (follow-up)

This is follow-up on the similar question. I still cannot figure out where to put ampersands on alignat environments. :( Here is what I generated. To enhace the readability, I want to customize ...
4
votes
3answers
64 views

How can I make a single-aligned row under two double-aligned rows in an equation?

I have an equation that I would like to align like this (the x is actually \times): A = BBBBB CCCCCCC x DDDDD = EEEEEEE FFFFF I have tried the align environment, align with nested ...
3
votes
3answers
128 views

How do I horizontally align equations with graphical calculus?

I have a graphical proof in category theory that I wrote with TikZ and the align environment (Thanks to Henri's answer in this question). The diagrams on each line have a recurring feature, a vertical ...
4
votes
2answers
59 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
1
vote
1answer
24 views

Incorrect alignment when using aligned

I'm trying to TeX some nice equations but there is a strange behaviour when I use an aligned-environment in an align*-environment. I think one little example makes my problem clear: \begin{align*} ...
7
votes
2answers
870 views

How to align terms in alignat environment

These are my math equations. To enhance readability, I'd like the third column to be aligned around the + sign; that is, I wish to place some horizontal blank in front of $n\mathbf{A}_0$ (not ...
5
votes
1answer
108 views

System of equation, left aligned and two lines numbered

I really don't find how to create the system I am looking for, so I am asking for a little help! I want : At least two columns aligned to the left; The system name and a big brace on the left; Some ...
4
votes
1answer
183 views

Aligning vertically centered and horizontally left text of cells in table

My minimum working example : \documentclass[11pt,a4paper]{article} \usepackage[francais]{babel} %\usepackage[latin1]{inputenc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
5
votes
3answers
141 views

Why do these aligned equations pop to the right?

\documentclass[a4paper]{article} \usepackage{mathtools} \usepackage{amssymb,amsmath} \usepackage{mathtools}%voor Aboxed \usepackage{bm} \begin{document} \begin{align*} \overrightarrow{a_{G'_1}} = ...
0
votes
2answers
77 views

Decrease the space between formula and text, and the formula position of align environment

Please see the picture first. My two questions are described in the picture. As known to us, when we use "\begin{align}", it will appear at the next line automatically. Could I just move it just be ...
9
votes
4answers
121 views

Aligning mathematical inequalities

I want to align the following at the inequality signs, however it becomes very ugly: \begin{alignat*}{2} ...
2
votes
0answers
111 views

How can I implement an '&' inside a \left( \right) environment? [duplicate]

I've been running into a strange issue. I'm doing some derivations in LaTeX document, and am using the align environment to do so. Some derivations require multi-line brackets, for which I try to use ...
3
votes
1answer
66 views

How to numbering each row in an array environment that is used within an align environment

I am trying to typeset a multiple line optimization problem in LaTeX. I have had a lot of difficulty using the align and alignat environments to get things to align properly. I recently managed to ...
8
votes
3answers
134 views

Aligning elements in set

How can I create a set with aligned elements? Example: I tried using align but it does not align as nicely as in the example. \begin{align*} &P = \set{ &A &\rightarrow &a | ...
7
votes
2answers
69 views

Whitespace around characters

I need to wrap some of the characters with whitespace so that the terms align correctly $\begin{align*} x = 1 + 2 + 3 + 4 + \cdots + n \\ x = n + (n-1) + (n-2) + (n-3)+\cdots+ 1\\ \cline{1-2} 2x = ...
5
votes
3answers
118 views

alignat inside align enviroment?

Why can't I nest an alignat environment in an align environment? \begin{equation} \label{eq:115} \left\{ \begin{aligned} \begin{alignat*}{2} ...
8
votes
2answers
101 views

How to align only some equations in an align environment?

Here's what I got: \begin{align*} P[E_{m}] &= P[m] + P[2m] + P[3m] + \dots \\ &= \frac{1}{\varsigma(s)} \langle m^{-s} + (2m)^{-s} + (3m)^{-s} + \dots \rangle \\ &= \frac{1}{\varsigma(s)} ...
4
votes
2answers
129 views

How to make this equations aligned

I have an equation as below, I want text1 and text2, text3 are aligned as well. \begin{equation} \begin{aligned} A &= B \quad \text{text1}\\ C &= \begin{cases} 1 & ...
1
vote
1answer
97 views

Centering column in alignat environment?

How do I center the contents of each cell in the middle column? I am approximating it with \phantom, but there's got to be a better way. \begin{alignat*}{3} ...
4
votes
0answers
37 views

I want to align two consecutive align environments [duplicate]

Here is what I have: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} &f(x) = y \\ &f(g(x)) = g(y) \\ &15 \end{align*} Here is some text commenting on the ...
2
votes
1answer
106 views

$$, \[ \] and equation environment alignment

I'm using scrreprt class and I'm having troubles with different behavior of $$ and \[ \]-written equations and equation environment. The problem is that alignment is not the same: $$ equations are ...
0
votes
0answers
22 views

In-line comments in align? [duplicate]

Is there a way to insert comments at the end of a line, within a block of TeX? For example, something like the following $$\begin{align} &(B \cap A) = (C \cap A) \\ 'given &(B \cap A) ...
5
votes
2answers
72 views

Aligned Environment Not Aligning a Single Operator

So, I'm typesetting a solution to a Quiz I gave, and the aligned environment (inside of my equation environment) is giving me an incorrect alignment on only one of my operators. Here's the batch of ...
5
votes
2answers
71 views

Align: one line centered and the next right-justified

Consider the following code: \documentclass{amsart} \usepackage{amsthm, amssymb, amsfonts} \begin{align*} F_{X^2}(x) = P(X^2 \leq x) = P(X \leq \sqrt{x}) = F_{X}(\sqrt{x}) = \sqrt{x} \\ ...
14
votes
1answer
221 views

align* environment left-aligned with LuaTeX and RTL math direction

When using LuaLaTeX, with the math direction set right-to-left, the contents of an align* environment is left-aligned instead of centered. Why does this happens? How can I fix it? ...
4
votes
3answers
420 views

Left-align all equations in a block

align environment without any explicit alignments points (given by &) right justifies the equations in the block. They can be left justified by putting & at the beginning of each equation. Is ...
5
votes
2answers
133 views

Left-justified equations with left tags (so it looks like an enumeration)

I want to make a math enivornment (preferably a customized align/flalign environment) with left-justified/left-aligned equations (as it is possible with the flalign environment) and left-aligned tags ...
4
votes
1answer
43 views

Centre justifying equations in align environment

Apologies if this has been asked before, but I couldn't find it after searching in a few places. I'm currently working with arrays of equations like the following: \begin{align} ...
2
votes
0answers
539 views

center align 2x2 plot of subfigures [duplicate]

I've got a 2x2 plot of subfigures that is too wide to fit within the margins of a page. Latex left aligns it and the right hand side goes off the page. I would like to center align the whole thing ...
4
votes
2answers
166 views

How to align equation items below their =

How is it possible to sort equations align with their = like this: a*b*c = d*e*f g*h = i*j k = l*m*n o*p*q = r I've seen it before but I don't know how to find that!
9
votes
1answer
131 views

How can I align the terms of this equation nicely?

I have the following alignat segment: \begin{alignat*}{3} \text{max}_{\underline{\lambda}} \text{min}_{\underline{x}} \quad & \underline{c}^T \underline{x} + \underline{\lambda}^T(\underline{d} ...
4
votes
1answer
59 views

Alignment in math environment

Consider the following piece of code \documentclass[twocolumn]{article} \usepackage{amsmath} \begin{document} \begin{align*} A_i &= B_i + C_i\\ &= D_i + E_i+F_i + G_i + H_i\\ &= I_i + ...
3
votes
3answers
167 views

Free cell alignment in a table

I want to use the package tabu which I've heard is the latest and greatest package for creating tables to generate a table that looks like this: ------------------------------------- |A | ...
5
votes
1answer
80 views

Where is this whitespace coming from in align*?

I am trying to align 2 simple equations using the align* environment: \begin{align*} \phi(\gedge{\tilde{v}_{i_1}}{\tilde{u}_i}) & = \phi(\gedge{\tilde{v}_{i_2}}{\tilde{u}_i}) & = \gedge{v}{u} ...
3
votes
1answer
160 views

Align all equal signs in the document

Is there a way to align all the equal signs in all equations all over the document? I write a theses (scrbook) and like all equal signs to line up. At least in a chapter if not possible for the whole ...
1
vote
1answer
2k views

Subequations and align environment

I am trying to use subequations with a complicated alignment. The alignment in the MWE is not satisfactory. I am seeking for a solution where I can specify lrc such as in array, but subequations ...
1
vote
1answer
115 views

Only one equation number with math-vfill-tombstone symbol

Maybe what I want is sinful, but let me explain: I use aligned* environments, because I usually don't need equation numbers. When I need one, I use \addtocounter{equation}{1}\tag{\theequation} from ...
0
votes
1answer
173 views

Collectively aligning multiple align environments [duplicate]

I am using amsmath, and I want to be able to break a mathematical derivation into multiple align environments while maintaining their collective alignment. In particular, I would like to horizontally ...
3
votes
1answer
78 views

Aligned equation which can break through pages [duplicate]

I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page. Q: Is there a way to ...
4
votes
1answer
3k views

Using the flush left align environment flalign

When using the flalign, I either get LHS and the = on te far left and the RHS on the far right. \begin{flalign} x & = & 1 \end{flalign} Or I the equation centers itself when I try ...
7
votes
1answer
93 views

Formula label outside of formula

I want to label a block of equations like that: The "AB" should not inflict the central alignment of the formula. I saw it a lot, but do not succeed on my own. Do I need to build boxes? I used the ...
2
votes
1answer
204 views

Exhaustive Information about text alignment in Tabular

The purpose of this question is colleting the exhaustive information about text alignment in tabular environment and it's derivatives. As base, let us use the possibilities of Microsot Word's tools. ...
6
votes
2answers
3k views

Aligning using flushleft and flushright

I am trying to create one column to the left side by side with another column to the right. The column to the left is labeled "Examples of like terms:" and the column to the right is labeled "Examples ...
3
votes
1answer
172 views

Multiline equation with cases

I am trying to get a system of equations, that will have cases only on some of the equations. I made this: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{mathtools} ...
8
votes
2answers
69 views

Horizontal alignment across nested aligned

Is there a way to left align the first 2 rows with the last one? \documentclass{article} \usepackage{amsmath} \begin{equation*} \left\{{\begin{aligned} &\left.{\begin{aligned} &A+B=X\\ ...
6
votes
3answers
174 views

How to align 'parts' of these equations?

I have a set of equations given by the following code: \begin{equation} \label{eqn:eraserStart} \max \, d \end{equation} \begin{equation} a_t \in \{0,1\} \, \forall t \in T \end{equation} ...