3
votes
2answers
137 views

tips to make best estimate on aligning

Hey so I keep on using \ \ {text} to make sure all my equations are aligned. Is there any good ways to do this beside using the spacing systems? Like I had to print my project two times because ...
6
votes
2answers
175 views

Align the n's in the equation

In the following code, how do I align the n's? Here is the MWE: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align} n \propto exp(-U/kT) \notag \\ \Rightarrow \quad n ...
4
votes
1answer
48 views

How to make equations the same size

When I write an equation using the simple \[ and \], it comes out to the correct size, with the fractions bulging above and below the lines and the parentheses surrounding them. But when I use the ...
2
votes
2answers
70 views

Latex Alignment

So I got help for my LaTeX problem. I am in need of a little more help to get this example to look perfect. I want to perfectly align everything in the words section of each of my equations. I would ...
2
votes
1answer
50 views

Problem with align*, having & inside \dfrac arguments

To center align two equations, I need to place the & inside a \dfrac argument (I am using AMS LaTeX) but if do that, I get an error message and the code does not compile. The only alternative way ...
4
votes
2answers
40 views

Left-align a split equation

I am trying to left-justify a split equation. I would like to have the first line left-justified, and have a hanging indent on the second line. I used flalign successfully for other equations that ...
1
vote
2answers
58 views

big equation in flalign

I am trying to use a big equation inside flalign. The biggest chunk is the third line and I couldn't figure out how to something akin to \shoveright in this third equation, as I want is ending on the ...
3
votes
2answers
40 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 ...
3
votes
1answer
56 views

\bigl( \bigr) in inline mode and in align environment

The following, I believe, is a strange behavior of \bigl(<math content>\bigr) in inline math mode and in the align environment. Consider the following MWE: ...
0
votes
1answer
43 views

Add vertical space in aligned environment and explanation of the unequal space between two gather/align environments

I want to leave some space between the aligned environments and some below the texts in the environments so to have a nicer output. How can I do that? \documentclass[12pt]{article} ...
5
votes
1answer
100 views

Why does \begin{align} &&&\cr \end{align} give “Missing number”?

Consider the following MWE: \documentclass{article} \usepackage{amsmath,bbm} \begin{document} \begin{align} &&&\cr \end{align} \end{document} It generates both the "Missing number, ...
7
votes
4answers
129 views

Multiple alignments within align environment

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align} \dot{x}_2 = \dot{x}_{2,0}&+\frac{\partial f_2(x_1)}{\partial x_1} \bigg|_{x_1=x_{1,0}} ...
1
vote
2answers
122 views

Remove extra vertical space in amsmath's align environment [duplicate]

If I use \begin{align*}...\end{align*} and out of it I write a text then there is a big vertical space between the text and the mentioned environment. Why is there that space? And how can I erase it? ...
2
votes
1answer
89 views

latex typesetting multiline alignment with flalign

I'm trying to align the second line equation below the integral in the first line. How do I go about doing that? I have used \right. commands to be able to move onto the next lines. I didn't have to ...
7
votes
1answer
114 views

Left aligning equations without align character

I realise that this has been asked many times before, but no answers I've found seem to provide a solution to my question. I'd like to left align all text in an align block, in: ...
1
vote
0answers
25 views

How can I make braket's \Set work with align* and htlatex/tex4ht

I have the following test.tex file: \documentclass{article} \usepackage{tex4ht} \usepackage{amsmath} \usepackage{braket} \begin{document} \begin{align*} \Set{|} \end{align*} \end{document} When I ...
0
votes
1answer
39 views

How can I get htlatex to work with amsmath's align and cleveref?

I have a document test.tex: \documentclass{article} \usepackage{amsmath} \usepackage{etoolbox} \AtEndPreamble{\usepackage{cleveref}} \begin{document} \begin{align} . \end{align} \end{document} It ...
2
votes
1answer
48 views

\tag{} causes line break in align environment. how to prevent?

while using the leqno and fleqn options of amsmath package tags tend to cause line-breaks: MWE: \documentclass{article} \usepackage[leqno, fleqn]{amsmath} \usepackage{mhchem} \begin{document} ...
6
votes
2answers
55 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 ...
8
votes
1answer
201 views

How do I rescale an align environment on a beamer slide?

I'm trying to resize an equation on a beamer slide to make it larger. However, the usual approach of using \scalebox doesn't seem to work: \begin{frame} \scalebox{2}{ \begin{align} x &= y\\ y ...
1
vote
1answer
76 views

Force equation number to be right aligned

I'm trying to typeset some basic equations with proper numbering. I simply want a single equation to have a right aligned number in the two column environment that I'm using. I tried three approaches, ...
9
votes
2answers
211 views

Center one equation of many in align?

I have the following align enviroment: \documentclass[12pt]{memoir} \usepackage{amsmath} \begin{document} Here we see \begin{align} \text{cat} &= \text{dog}\\ \text{dog} &= cute ...
6
votes
3answers
186 views

align* not aligning properly with \sqrt

Using this, everything is aligned properly: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} 16x^2&=144&\text{| }&\text{sqrt}\\ 4x&=12&\text{| ...
6
votes
1answer
101 views

How can I split and align this series of equations?

I know this is an issue that comes up frequently, but I keep running into issues using all the suggested examples (breqn, amsmath; split, align, etc). Here's what I have: ...
4
votes
3answers
71 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 ...
4
votes
1answer
176 views

Using \left( & \right) around amsmath's align delimiter (“&”)

I want to align equations (using the align environment from the amsmath package) inside matching \left( and \right) commands. For example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} ...
4
votes
2answers
197 views

How to reduce the size of fractions typed in align environment?

When digit fractions align environment, this goes with a size \displaystyle. But I want the size is like the one shown in a paragraph. I tried with \scriptstyle but I get letters too small and the ...
3
votes
2answers
77 views

Aligning several \begin{align} blocks in LaTeX [duplicate]

Just a quick question regarding aligning equations in LaTeX. Basically, this is a snippet of my source code: \begin{align*} dU&=\partial Q - \partial W \\ \partial Q &= dU + \partial W ...
5
votes
1answer
212 views

Changing the vertical alignment of `multlined` from the mathtools package

Package mathtools provides the vertical alignments top, center, and bottom: \documentclass{report} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \makeatletter ...
10
votes
4answers
219 views

How to vertically align each comma in the following 2 identical sequences?

The following output seems to be difficult to look up an item in the upper sequence with its corresponding item in the lower sequence as the commas are not vertically aligned. ...
3
votes
3answers
78 views

Aligning the right hand side of multiline equations

I would like to align the RHS of the multiline equations and assign equation number for whole as one. \begin{multline*} \frac{\partial P(y_{i}\succ0)} {\partial z_{ij}}=\tfrac ...
4
votes
2answers
146 views

equations inside matrix/array — aligning on charater

Suppose I have a system of equations I'd like to present as a vector. Using amsmath, something like \begin{equation} \begin{pmatrix} (2)(2)+(-1)(-3) \\ (4)(2)+(3)(-3) \end{pmatrix} \end{equation} ...
5
votes
3answers
130 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
178 views

Glossaries in Align Environment

Using glossaries commands in align environment seems to screw up the tag alignment. How can I use gls{...} commands in align environments without the tag position being altered? Consider the ...
6
votes
1answer
106 views

Long formula in align environment

Usually, if I have a very long formula, I will use two lines in the align environment and \qquad to space things out nicely. For example, \begin{align*} % First line \rho\left(\frac{\partial ...
14
votes
1answer
238 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? ...
1
vote
1answer
167 views

Increasing margin of left side tag/number in amsmath align enviroment

I asked this on the lyx user list but haven't got an answer (http://marc.info/?l=lyx-users&m=137891444218650&w=2). I would like to include text lines in align environment using 'leqno' option ...
7
votes
2answers
316 views

Equation number with an apostrophe

I am writing two equations in an align environment: \begin{align} x^2+y^2=z^2, \\ x^2=7, \end{align} I would like the first equation to be labelled with e.g. (1.1) and the second equation to be ...
4
votes
2answers
2k views

How to put the QED symbol of a proof at the right place inside align?

When a proof ends with a formula in equation or equation* environment, putting \qedhere after the equation would cause the QED symbol to appear in the right place. I.e. at the end of the line in which ...
4
votes
2answers
105 views

Text to the right of piecewise equation

I have the following piecewise functions: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} K(u) &= \begin{cases} \frac{1}{2} & -1 \leq u \leq 1 \\ 0 & ...
4
votes
2answers
1k views

Equation: How to create nested/multiple cases in LaTeX to align the qualifiers

I am having trouble with a particular equation as the cases are nested within a case. It would also be cool if I could align the qualifiers. I tried to post an image of the equation but I could not ...
5
votes
3answers
116 views

Aligning Summations Over Differing Numbers of Sets

I'm trying to align a set of constraints for a linear program formulation. The issue I'm having is that some of the summations are over two (or more) sets, while others are only over one. This makes ...
2
votes
2answers
617 views

Break Large Equation Between Parenthesis Using Multline

I have a very large equation that I need to write in multiple lines, but multiline is not working between parenthesis. This is my LaTeX code: \begin{multline} e^{-y \lambda_n} \left( ...
3
votes
1answer
152 views

Align multiline RHS

I have the following MWE: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align} L_W&=\frac{L}{W} & \text{words per line}&=\frac{\text{bytes per ...
8
votes
2answers
189 views

How to align multiple symbols for a long equation?

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
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 + ...
8
votes
2answers
183 views

Delimitershortfall in align environment

Can you explain why the \delimitershortfall cannot be modified inside a align environment? This is a MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
1
vote
1answer
3k 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 ...
0
votes
1answer
205 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
97 views

amsmath's intertext and labeling

I have an align environement with intertext: \usepackage{amsmath,mathtools} \begin{align*} x&=f(z)\cos\alpha\\ y&=f(z)\sin\alpha \shortintertext{with} f(z)&=\ldots \end{align*} However ...