# Tagged Questions

0answers
27 views

### Increasing vertical space after equation in paragraph with short previous line?

The problem I'm aware that LaTeX the spacing around equations in a paragraph differs depending on how long the line of the paragraph immediately preceding the equation is. When the preceding line is ...
1answer
72 views

### Adjusting the width of a displaymath environment

I want to adjust the width of an displaymath environment whose contents (a tikzcd diagram rather than an actual equation) are too wide to fit in the margins. The obvious thing to do is to use the ...
1answer
85 views

### Is there any possibility of decreasing extra space before the equation when line nearly breaks in the following?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{amsmath} \begin{document} Preliminary Theorem 1.1.2. If $(\lambda_1,...,\lambda_n)$, $(\mu_1,...,\mu_n)$, and $(k_1,...,k_n)$ ...
3answers
84 views

### How can I split this equation?

Does anyone know how to split this equation in two lines? \begin{equation*} \iint_S \eta = \iint_S \left[F(x(u,v), y(u,v), z(u,v)) \ \frac{\partial(x,y)}{\partial(u,v)} + G(x(u,v), y(u,v), z(u,v)) \ ...
3answers
302 views

### Why is the equation not centered?

I have tried for over one hour now, in vain, on centering one equation. Why in the world is the equation not centered - i.e., so much margin on the left?? Here is my code: ...
1answer
64 views

### The text-equation space in two equations is extremely different; even though I left no blank lines

I am introducing this text and equation: Con la energía del punto cero pasa una cosa muy similar: utilizando la ecuación \ref{E_ZPE}, y sustituyendo las tres frecuencias $\nu _{i}$ experimentales ...
2answers
72 views

### Equation incl. number on the same line as theorem environment

I have this: \begin{lemma} $$L_b \circ L_a = L_{L_b(a)} \circ L_b.$$ \end{lemma} and I would like the equation to be on the same line as the lemma, with a number ...
3answers
102 views

### Spacing problem between equation and surrounding text

I want to insert formula in text and I used equation as shown: \documentclass{article} \usepackage{amsmath} \begin{document} So, $\rho : G \rightarrow GL(n,\mathbb{F})$ is representation if and ...
1answer
129 views

### Equation alignment

I'm a little new at this so bear with me. What I intend to get is this: I used the following code to obtain it: \begin{flalign*} \quad f(x) &= e^{x} - x - 1 ...
1answer
56 views

### Automatically add a vertical spacing in formula numbering [duplicate]

I have a document with several equations that fit the text width, so the tag is below the equation in those long formulas. I don't want to use splitting enviroments but in some cases, specially in ...
0answers
82 views

### Identical space around  and the amsmath environments set to a personnal value

I wish to have the same spaces around the brackets $...$ as the space around the environments align and equation (above and below, short or not) from amsmath, ideally (I set \parskip=1ex), ...
3answers
170 views

### Horizontal spacing after cases bracket in equation

How can I add a little horizontal spacing after the cases bracket, at the depicted position, so that 1 and 0 move to the right (the given screenshot looks okayish, but I'm using a different font where ...
0answers
48 views

### Irrelevant spacing for equations

I have some problem with spacing. In the right column there are so many irrelevant space before and after my equations, and also after my picture. \documentclass{article} ...
1answer
128 views

### How can we detect that we are right after display math mode? (for vertical spacing)

I need a "\smartmedskip" feature/macro in plain TeX which is in usual identical to \medskip, however, if we are right after display math mode, then it should be just "disabled", i.e. it should then ...
2answers
352 views

### Align equations with conditions

I am using the following equation with boundary conditions, I would like to position the equation centrally aligned and would like to keep the boundary condition to the right. But the equation is a ...
3answers
147 views

### Fit equations as same size of the text fonts

An inline equation is written with the sentence appears, It can be noticed the line spacing has been locally increased for that particular sentence containing the variable E. How to shrink the ...
2answers
447 views

### Unit spacing with siunitx in an equation

I'm just starting to get to grips with the siunitx package, but I've noticed that there seems to be some issues with regards to unit notation spacing in an equation. With siunitx it is possible to ...
0answers
62 views

### Eqnarray vs align environments [duplicate]

I keep reading that \begin{align} is preferred to \begin{eqnarray}. Unfortunately, I can't get align to justify rcl. I'll change between align and eqnarray, and the rightmost column is right ...
1answer
90 views

### Changing vertical spacing between equations

I'd like to reduce vertical spacing between dmath equations. I don't know how spacing works here. I tried changing line spacing with setspace but to no effect. This is meant to be a formula sheet with ...
0answers
51 views

### Starting a theorem or a proof with an equation and vertical spacing

Is it bad practice to begin the statement of a theorem or of a proof with an equation? If it is acceptable, what is your opinion on the resulting spacing in the three cases, in the code below? In the ...
3answers
346 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. ...
0answers
34 views

### Is there a way to compact equations? [duplicate]

I know you can compact titles using: \usepackage[compact]{titlesec} \titlespacing{\section}{0pt}{0pt}{0pt} I want to do something similar with equations, I have a lot of whitespace below and ...
2answers
526 views

### Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
0answers
73 views

### Extra spacing before an equation when line nearly breaks

I am having difficulty with producing an MWE, but let me describe the issue. I have a large document with tons of equations and run into issues with spacing. Most of the time it is fine, everything ...
1answer
232 views

### how to change spacing between align environments and equation environments?

I am using align and environment for various equations. There is some space that comes before and after the equations that I would like to minimize. Is there a single command that could be used to ...
6answers
2k views

### How to make an equation more compact?

I have an equation that wastes a lot of space around the union symbol: \documentclass{article} \usepackage[cmex10]{amsmath} \usepackage{amssymb} \begin{document} RA_U \left ( new ...
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 $$\eta = \frac{\Phi}{P} [lm \cdot W^{-1}] \label{eq:mv}$$ which is centered by ...
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 ...
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 ...
0answers
45 views

### How to modify horizontal spacing between equation elements globally, or for a single equation? [duplicate]

I've noticed that by default, the horizontal spacing between equation elements is pretty tight, and that I can use commands for horizontal spacing between elements in an equation. Still, I don't ...
1answer
150 views

### How to increase the vertical space surrounding mathematical equations?

How can I, in a systematic way, increase the vertical space surrounding mathematical equations? \documentclass{article} \RequirePackage[ansinew]{inputenc} \usepackage{amsmath} \begin{document} Ah, ...
1answer
86 views

### Spacing within equation

I've got the following equation: \begin{align*} y_{i} &= f(x_{i}) + \epsilon_{i} \nonumber \\ &\approx \underbrace{f(x_{0})}_\text{=$\beta_{0}$} + ...
3answers
195 views

### First column of multicol lower than the rest

Using the multicol package, I get a layout like this: I would like all columns to be aligned properly. I have tried using tables and arrays, but they won't allow my equations to be numbered. (I need ...
1answer
906 views

### Different space between \align and \equation

Why produce the align and the equation environment different space between the text. And what can I do, that it have the same? \documentclass{article} \usepackage{amsmath} \begin{document} Long ...
1answer
61 views

### Question about the underbrace in combination with the array

I'm trying to use the \underbrace option, and I kind of managed to make it work with the following code: \begin{array}{rcl} \left(\Lambda_1 \Lambda_2\right)^T G \left(\Lambda_1 ...
1answer
53 views

### How to set the equation no with quad space to equation

How to set the equation no with quad space to equation content (centered) like below Sample Text Sample Text Sample Text (1.1) A + b = 20 Sample Text Can anyone suggest how to ...
1answer
115 views

### Aligning two fractions in the split environment

I have two equations: $$\begin{split} d_1 & =\frac{aaaaaaaaaa}{b}\\ d_2 & =\frac{aaaaaa}{b} \end{split}$$ I want the fraction lines to ...
0answers
34 views

### How can I reduce spacing between parenthesis [duplicate]

How can I reduce space between parenthesis? For example: How can I reduce the space marked by the red?
1answer
101 views

### Equation-Environment creates unequally large white space

Consider the following example: \documentclass{article} \begin{document} Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida ...
2answers
1k views

### Too much white space when using the align-environment

Consider the following example: \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} \begin{align} \prod a+bm && \text{is a square in} && \mathbb{R}\\ ...
3answers
151 views

### Correctly typesetting a relation

I'm trying to typeset a relation. The following should read "< equals {...}", just in the same sense as one would use "x = {...}". \documentclass{article} \begin{document} \$< = \{(x, y), (y, ...
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} ...
3answers
833 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 ...
1answer
124 views

### Globally changing math line spacing

In multiline formulas, I often find myself inserting extra vertical space (\\[...]) between lines (especially when there are many superscripts and subscripts). I guess a certain amount of manual ...
1answer
151 views

### fleqn option and long text lines

When the fleqn option is used, the vertical spacing before an equation placed right after a "long" text line (exactly \linewidth I would say) is improperly set up. See below: From the mathmode user ...
3answers
126 views

### Formatting an equation

\begin{align} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 = \frac{1}{2} \left(1-\epsilon ^2\right) \left( -\frac{S \epsilon \sin\tau }{\sqrt{\lambda }} -\frac{\text{g2} S^2 ...
2answers
115 views

### Wrong vertical space in theorem environment closed by an equation

It happens that LaTeX, to fill a page vertically, adds extra spaces around equation environments (and other vertical spaces). Now suppose I have a theorem environment (using amsthm) which ends with an ...
1answer
193 views

### Edit space for overbraces in equation

I would like to use \overbraces and \underbraces in my equation. However, when I make the text for \overbraces too long, the \overbrace doesn't contain the correct part. ...
1answer
1k views

### \hfill-like spacing in math mode without using align

In question 83509, a way of getting \hfill-like behaviour in the align environment is described, but for my purposes, I need one that works in the equation environment. (I want to display some ...