2
votes
4answers
65 views

multi-column row in align environment

I would like to be able to use multicolumn inside an align environment, much like we can do in a tabular environment MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} ...
1
vote
1answer
106 views

Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
2
votes
3answers
92 views

why is this equation not left aligned?

I wonder why all the multilines of the equation are not left aligned? I tried to use align instead but the equation got too long and I could not manage to break it. ...
3
votes
2answers
56 views

Alignment inside the \align enviroment-horizontally and vertically

Is it possible to make both expressions for omega's aligned with one another and do the same for the coefficients a,b,r and d,c,t? I tried to align them manually by using center but it does not work. ...
2
votes
1answer
28 views

I want to left-align the following equation. I don't want that to be centred [duplicate]

\documentclass[10pt]{article} \usepackage{amsmath} \begin{document} \begin{equation*} \epsilon(\lambda_1,...,\lambda_n)=sgn\prod_{\substack{r=s}}(\lambda_s-\lambda_r). \end{equation*} \end{document} ...
4
votes
2answers
48 views

centered text/equations inside align environment

is there a way to insert a centered line of text or mathematics inside an align-environment? For example, in the code below, I'd like to have the \vdots between the equations above and below ...
5
votes
3answers
99 views

Two text lines in `flalign` environment

I want to achieve what the picture shows below. Basically, I want those two very long text lines to split into two lines shown below. My major problem is that if I keep the text in one line in ...
4
votes
3answers
114 views

Horizontal alignment of equation and text

I want to make a list of Quantum Mechanics formula like the format of the following picture. But I am confused about how to make the equations align to the left while the text to the right. Usually, ...
1
vote
1answer
66 views

Centering images

I made my images in Ipe. But there are some not centered: But, there are others centered: I use the same code for both (just changing, of course, the files names): \begin{center} ...
3
votes
2answers
41 views

Mini-alignment of a single equation?

So I have this problem, whereupon I would like to do some 'mini-alignment'. I have googled for ways to do this, but I get results based on aligning whole equations. Here is my current output: What ...
1
vote
1answer
45 views

How to correctly align bibitems

I am using the thebibliography environment. In addition I use custom labels, which are different in length. How do I align my bibitems correctly, so that all bib entries vertically start at the ...
6
votes
1answer
106 views

Aligning and centering a lstlisting with two columns on a page

Consider the following code taken from here to produce a fancy listing : % PACKAGES \documentclass[11pt,a4paper]{book} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} ...
17
votes
2answers
433 views

Stacked symbol doesn't align properly. Why?

A modified equals sign used represent use of L'Hopital's Rule isn't aligning well with other equals signs. How would I fix that? I'd prefer to do so without manually fiddling with spaces, if possible. ...
3
votes
2answers
86 views

Second align within first align environment with equation numbers

Is it possible to align the for statements here, without dropping the equation numbers? \hfill and && mess up the placement of the equation numbers for me. Edit: Picture of what I get ...
5
votes
2answers
99 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
65 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
60 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
84 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
65 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
72 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
158 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
80 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
29 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
2k 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
212 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 ...
5
votes
1answer
270 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
144 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
103 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
139 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
113 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
84 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
137 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
72 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
144 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
104 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
142 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
129 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
38 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
121 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
23 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
84 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
87 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
244 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? ...
6
votes
3answers
687 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
158 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
61 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
541 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
185 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
139 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
61 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 + ...