2
votes
1answer
17 views

Alignment margin note with mark in equation in pages

It's my problem, I am not writing margin note in \equation and \align. It's an error. But it's working in text. My aim, margin note with equation must be aligned. ...
3
votes
1answer
34 views

misplaced & in equation using non-ams format

the following code works with ams environment, however I am trying to use it using aip conference template found here: http://scitation.aip.org/content/aip/proceeding/aipcp/info/authors and it is ...
1
vote
1answer
36 views

How can I align horizontally matrices of different dimensions?

I'm wondering how can I align two different matrices horizontally. They are: [-1 0 +1] And: [-1 0 +1].T This is my code: \begin{equation} \begin{bmatrix} -1 & 0 & -1 \end{bmatrix} ...
5
votes
2answers
97 views

How can I DeclareMathOperator* with spacing after it, preserving the alignment?

In the context of optimization problems, I'm using \usepackage{amsmath} \DeclareMathOperator*{\minimize}{\text{minimize}} \DeclareMathOperator*{\subjto}{\text{subject to}} to declare some operators ...
4
votes
2answers
88 views

Align split equation to the margins

How to align a two-lined equation such that the first line left aligns with the surrounding text and the second line right aligns with the surrounding text? Example (where the pipes denote the left ...
2
votes
2answers
100 views

Center equation ignoring condition/remark

Really basic question, probably already answered but couldn't find anything. I have this code: \documentclass[a4paper]{scrreprt} \usepackage{fontspec} \usepackage{amsmath} \begin{document} ...
3
votes
1answer
47 views

How to align terms in alignat: too much spaces and too few

Please, help me this code has too much spaces and too few, how can I fix it? \begin{subequations} \begin{alignat}{2} \forall i \in[m] && \sum \limits_{e \in N_{out(s_{i})}} y(i,e) - \sum ...
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 ...
4
votes
3answers
81 views

Concerning the equation mode

I am listing a bunch of itens that are left-aligned (actually, I am using the \hspace command); then, for one of them, I need to do a definition by cases, so i'm using the equation mode and, inside ...
1
vote
1answer
79 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
62 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 ...
6
votes
2answers
78 views

Tabbing/horizontal placement with labeled equations

I have a string of equations, each with a label that I would like to format nicely. I want the equation labels to be at the same horizontal position and the start of the equation to be at the same ...
3
votes
1answer
64 views

Placing an object at the end of the line

I'm new in LaTeX and I'm currently faced with a problem of placing an object at the end of the line. E.g. {equation} (1.1) I wish to place (1.1) at the end of the line, and I've searched around ...
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 ...
7
votes
4answers
324 views

left position math formula

I try to write down the following equation: \begin{equation} \begin{flalign*} \left \| \vec{r}_1 - \vec{r}_2 \right \| = \\ \sqrt{( r_{1,x}-r_{2,x} )^2 + ( r_{1,y} - r_{2,y} )^2 } = \\ \sqrt{( ...
7
votes
1answer
192 views

Center over-long equations between both margins

I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy ...
3
votes
3answers
84 views

Fixing alignment in equations

I wish to get a more typical alignment (I hope this obvious) than what I am getting with the following code: \[ ...
12
votes
3answers
344 views

Displaymath environment that can align equations and squeezes math

I have a long equation to align. Without squeezing the math, it is just barely longer than \textwidth. However, the align environment doesn't squeeze the math at all, which results in a badbox. ...
3
votes
1answer
97 views

How to align an equation horizontally in qtree, centering one character of my equation?

I have the following code for my qtree: \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \makeatletter \usepackage{qtree} \makeatother \usepackage{babel} ...
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
2answers
85 views

Left-aligned, inline-ish equations

I'm attempting to create a template for writing up Physics problems sets. A lot of these problem sets can involve short, simple calculations. For example: I attempt to typeset this calculation with ...
3
votes
2answers
357 views

Phantom equals sign in aligned equation [duplicate]

When typing out long equations, I like to split everything up into separate lines and start each one off with an equals sign. How do I hide the first equals sign while keeping the layout exactly the ...
8
votes
2answers
206 views

Multiple equations with a large “{” in front: alignment and labelling

I'm trying to get the equation shown in the picture. But i only manage to get the following coding. Can anyone help me to label it with numbering like the picture? I tried with \begin{eqnarray} or ...
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}} = ...
4
votes
2answers
92 views

Spacing and alignment in equations

I didn't find a solution about how to add units to equations. I have my code \begin{equation} \eta = \frac{\Phi}{P} [lm \cdot W^{-1}] \label{eq:mv} \end{equation} which is centered by ...
0
votes
2answers
101 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
136 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 ...
8
votes
1answer
573 views

Vertical alignment of dots in equation

Consider the following example: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{alignat*}{6} 1 && 2 && ...
17
votes
3answers
1k views

Alignment of multiple variables in a linear system

I am trying to lay out a few linear equations, but with the different variables aligned in columns like this: x + y = 1 } x = 0 y + 2z = 1 } y = 1 x + z = 0 } z = 0 (with ...
2
votes
1answer
46 views

Horizontal spacing between lines in split enviroment

I have a math expression that looks like this \documentclass[a4paper,12pt,amsmath,amssymb]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage[T1]{fontenc} \usepackage{tgtermes} ...
0
votes
1answer
511 views

Alignment with IEEEeqnarray

Let's say I wish to use IEEEeqnarray to typeset an equation like the following: Obviously I can do this by manually inserting lots of spacing commands, but I would prefer to be able to do this by ...
1
vote
2answers
83 views

Align equations: What is wrong here?

\begin{align*} \text{Mean: }\\ E[Y] & = f(y) \cdot 0 + \sum_{y=1}^{\infty} f(y)\cdot y\\ & = [p_i + (1-p_i)e^{-\lambda_i}] \cdot 0 + \sum_{y=1}^{\infty} ...
1
vote
1answer
96 views

Very wide equation ruins consecutive side edges

I've just created a set of equations in matrix form which looks fine. It also seems to fit in the space of my document, but in the following space after the equation, the side edge is suddenly gone, ...
0
votes
0answers
32 views

Remove extra space to the left of aligned environment [duplicate]

To typeset a collection of equations with alignment, I am using align* from amsmath. Some of these equations have right-hand sides that have multiple lines that should be indented. So far I am using ...
10
votes
1answer
438 views

Correct alignment of multiple-line inequality

I want to display a set of inequalities to look like the code below this is the lower bound ≤ this is the thing to be bounded ≤ this is the upper bound My attempt to do this is the following: ...
5
votes
3answers
135 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} ...
2
votes
1answer
119 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 ...
5
votes
2answers
81 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 ...
6
votes
2answers
158 views

How to match left alignment of equations in math mode outside and inside an array?

My code is shown below, every equation is left aligned, my problem is that the equations inside the array enviroment seem to be indented. How can I align all the equations to the same vertical line? ...
5
votes
3answers
636 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 ...
2
votes
1answer
120 views

How to center Display equations on ClassicalThesis

While using ClassicalThesis package with scrbook document, I noticed that the display equations defined with \[...\] aren't centered in the page as with scrbook without the ClassicalThesis package and ...
5
votes
2answers
151 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 ...
3
votes
2answers
89 views

Lining up equations with words

I want to align the following assignment statements w.r.t the = sign as follows: \begin{itemize} \item $Wd =$ We are eating the fish. \item $Ct =$ Your Claws tore through my shirt! \item $Dhw =$ ...
5
votes
1answer
95 views

Horizontal alignment of long equations

I hope that the following question is not a duplicate but I could not find a definite answer. I'm trying to obtain the the same result as Formula (1) in the picture next, but I feel that my approach ...
4
votes
2answers
182 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!
5
votes
3answers
120 views

Help with left align?

I was trying to left align this equation by using code $$\begin{equation} \begin{aligned} E_\theta(L(\delta_1(X)) &=& E_\theta[(1-\frac{b}{a+X^2}) X-\theta]^2\nonnumber\\ ...
5
votes
1answer
83 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} ...
6
votes
3answers
828 views

Multiline equation with specific indentation style

I have a multiline equation of the following type: \begin{equation} \begin{split} f(x,y) & =a\\ & =b\\ & +c\\ & +d. \end{split} \end{equation} But the output I would like to have is ...
2
votes
1answer
461 views

Writing conditional equations with braces in sphinx

I want to write conditional statement with one-sided curly brackets in Sphinx as shown below: In Latex, the best I could do is given below: \[ x = \begin{cases} \begin{split} ...