# Tagged Questions

33 views

### equation in enumerate environment to long

I have kind of a long math term in an enumerate environment. The problem is, it is too long, so it doesn't fit on the right side of the paper. Is there any opportunity to move it more to the left? As ...
52 views

### ConTeXt: Flushed right formula numbers in cases environment

I would like to have the formula numbers of the cases environment flushed on the right of the page like for regular formulas (not at a fixed distant from the cases like it is by default with ...
138 views

### Aligning polynomials rightshifted by x

I am trying to align some generating functions, to give a visual indication of how they represent recurrences. When I try to do this the natural-seeming way with aligned, it puts an obnoxiously large ...
39 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} ...
131 views

### Alignment in a piecewise function

I would like to have the following two equalities displayed with the = aligned. I use the following code. The = are not aligned, and 2.5pt is typeset before the = in each line! Also, there is an ...
99 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 ...
83 views

### How to properly format a proof/explanation with multiple points of alignment?

This answered question addresses how to properly align/format a proof, allowing one to add text commentary alongside equations without ruining the alignment of the equations; however, it only seems ...
38 views

### Is it possible to make odd-numbered columns have implicitly a prefix {}?

Prefix {} is implicitly inserted for even-numbered columns of alignedat (and alignat). As a result, + (or -, etc) becomes a binary operator. The section "Left aligned" below \begin{alignedat}[t]{3} ...
124 views

### Is there a better and compact way to represent the expansion of products of polynomials?

Objective: to show the expansion process as readable as possible so we don't run the risk of misreading the coefficients of the corresponding terms of the expanded, long expressions. ...
57 views

### What is the correct way to properly align a split equation with continued parts prefixed with a binary operator?

Consider the following result with 2 methods. Don't hesitate to propose better ones if any. The question is: What is the correct way to properly align a split equation in which binary operator ...
92 views

### Paragraph mode inside a math equation or reuse array-columns

My problem is that I want to reuse the spacing in a certain math equation like: \begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l} ... & := & ... \\[4mm] & =: & ...
152 views

### Large equation goes out of margin, want to centre it? [duplicate]

I have a large equation \begin{document} \begin{gather} W = \frac{1}{2\mu_0}(\frac{\Psi'^2 \pi^2}{b^2} \sum_{m,n} a_{mn}^2 n^2 (ab/4) + \frac{\Psi'^2 \pi^2}{a^2} \sum_{m,n} a_{mn}^2 m^2 (ab/4) + ...
75 views

### How can I center this formula?

Here is my code: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
436 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. ...
59 views

### Getting a weird output using \alignat (picture and code included)

When I run the following code \begin{alignat}{2} \text{min} & \sum_{t\in T}\sum_{v\in V}\sum_{(i,j)\in W_{v}}(c_{ijv}-u_{i}- v{j})x_{ijvt}+\sum_{j\in J}\sum_{t\in T}M_{jt}s_{jt} \\ ...
80 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 ...
369 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. ...
355 views

### How to make the equations at the center

(I'm using LyX). When I'm writing multiline equations, with \aligned the align of the equations is right, how can I make it to be center? For example: Here how it looks when I writing at math ...
126 views

### Flushright square mark

I write the codes below to get a square as if to say q.e.d. $$equation$$\textbox{\hfill\square} Text\textbox{\hfill\square} I want the square at the right extreme of the same line. I succeed only ...
209 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 ...
694 views

### Strange default exponent positioning?

Why is this red exponent so far away from the right parenthesis? To my eye it is too far away. \documentclass{article} \usepackage{xcolor} \begin{document} ...
159 views

### Square roots not on same height

This part C\frac{1}{\sqrt{G}}\sqrt{\rho} doesn't seem to be on the same height as this part \sqrt{b}\sqrt{l} when compiled. What am I doing wrong? \begin{flalign*} ...
94 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 ...
106 views

### Proof package: lines too short

The proof package's \infer command automatically sizes the lines it draws. However, it isn't always right (pdflatex output): The line is too short on the left. Is this a package ...
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 ...
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 | ...
687 views

### Left-aligned display math mode

How could one achieve, as primitively as possible, left-aligned display math so that \abovedisplayshortskip would still work as intended? It is my understanding that one can achieve left-alignment ...
240 views

### Horizontal alignment argument for 'subscript' of \underbrace

The picture below shows what I'm able to produce, but what I'd really like is to have the "coefficient" text aligned to the right (meaning that the tip of the \underbrace points to the 't') and the ...
484 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: ...
143 views

### How to make this equations aligned

I have an equation as below, I want text1 and text2, text3 are aligned as well. \begin{aligned} A &= B \quad \text{text1}\\ C &= \begin{cases} 1 & ...
168 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? ...
141 views

### Align sequence with curly bracket and half row shift

Can anybody tell me how to rewrite these equations: There are curly brackets and half row shift and I don't know how to write it in align (eqnarray) environment.
2k views

### How to align text to the right in math mode?

I have a table of formulas, some have a description next to them, I want the equations to appear left flush and the text between parentheses right flush. I was writing it in the following way. ...
141 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} ...
125 views

1k views

### Multiline formula with each column left-aligned

I am using LyX and I want a multiline and multicolumn display formula with each column aligned to the left. But when I add a formula and add columns, some are aligned to the right and some are ...
768 views

### Alignment in algorithmic environment

I don't like how there is often a slight misalignment between assignment statements in an algorithmic environment. For example, the first version of the algorithm given below looks strange to me. I ...
906 views

### One-line equation with two columns

I try to write an equation with two similar formulas, i.e. $$\qquad A_1 = B + C \qquad A_2 = D + E \qquad$$ Of course, instead of \qquads I want to use something like ...
235 views

### How can I do this without the cases?

How can I do this without the cases? \$\begin{cases} \dfrac{\partial u(x,y)}{\partial x}=2x=\dfrac{\partial v(x,y)}{\partial y} \\ \dfrac{\partial u(x,y)}{\partial y}=-2y=- \dfrac{\partial ...