# Tagged Questions

35 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{bmatrix} -1 & 0 & -1 \end{bmatrix} ...
95 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 ...
87 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 ...
99 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} ...
45 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 ...
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 ...
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 ...
78 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)
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 ...
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 ...
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 ...
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 ...
320 views

### left position math formula

I try to write down the following 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{( ...
184 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 ...
82 views

I wish to get a more typical alignment (I hope this obvious) than what I am getting with the following code: ... 3answers 338 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. ... 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} ... 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 ... 2answers 82 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 ... 2answers 343 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 ... 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 ... 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}} = ... 2answers 91 views ### Spacing and alignment in equations I didn't find a solution about how to add units to equations. I have my code $$\eta = \frac{\Phi}{P} [lm \cdot W^{-1}] \label{eq:mv}$$ which is centered by ... 2answers 98 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 ... 4answers 135 views ### Aligning mathematical inequalities I want to align the following at the inequality signs, however it becomes very ugly: \begin{alignat*}{2} ... 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 ... 1answer 546 views ### Vertical alignment of dots in equation Consider the following example: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{alignat*}{6} 1 && 2 && ... 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 ... 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} ... 1answer 488 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 ... 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} ... 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, ... 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 ... 1answer 424 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: ... 3answers 134 views ### alignat inside align enviroment? Why can't I nest an alignat environment in an align environment? \label{eq:115} \left\{ \begin{aligned} \begin{alignat*}{2} ... 1answer 118 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 ...
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 ...
157 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? ...
627 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 ...
119 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 ...
150 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 ...
88 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 =$ ...
92 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 ...
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!
120 views

### Help with left align?

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

### Multiline equation with specific indentation style

I have a multiline equation of the following type: $$\begin{split} f(x,y) & =a\\ & =b\\ & +c\\ & +d. \end{split}$$ But the output I would like to have is ...
455 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} ...