3
votes
1answer
60 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 ...
3
votes
2answers
67 views

Equation incl. number on the same line as theorem environment

I have this: \begin{lemma} \begin{equation} L_b \circ L_a = L_{L_b(a)} \circ L_b. \end{equation} \end{lemma} and I would like the equation to be on the same line as the lemma, with a number ...
1
vote
3answers
87 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 ...
9
votes
1answer
123 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 ...
2
votes
1answer
52 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 ...
2
votes
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), ...
6
votes
3answers
138 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 ...
0
votes
0answers
43 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} ...
13
votes
1answer
125 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 ...
7
votes
2answers
247 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 ...
3
votes
3answers
139 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 ...
5
votes
2answers
310 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 ...
3
votes
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 ...
0
votes
1answer
81 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 ...
1
vote
0answers
44 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 ...
12
votes
3answers
310 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. ...
0
votes
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 ...
2
votes
2answers
381 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 ...
1
vote
0answers
62 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 ...
1
vote
1answer
197 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 ...
28
votes
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} \begin{equation} RA_U \left ( new ...
4
votes
2answers
89 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
92 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 ...
1
vote
1answer
95 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 ...
2
votes
0answers
43 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 ...
8
votes
1answer
144 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, ...
4
votes
1answer
85 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}$} + ...
4
votes
3answers
178 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 ...
7
votes
1answer
870 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 ...
1
vote
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{equation} \begin{array}{rcl} \left(\Lambda_1 \Lambda_2\right)^T G \left(\Lambda_1 ...
2
votes
1answer
51 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 ...
11
votes
1answer
113 views

Aligning two fractions in the split environment

I have two equations: \begin{equation} \begin{split} d_1 & =\frac{aaaaaaaaaa}{b}\\ d_2 & =\frac{aaaaaa}{b} \end{split} \end{equation} I want the fraction lines to ...
2
votes
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?
7
votes
1answer
96 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 \begin{equation} ...
2
votes
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}\\ ...
7
votes
3answers
149 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, ...
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
694 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 ...
7
votes
1answer
118 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 ...
5
votes
1answer
142 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 ...
2
votes
3answers
123 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 ...
7
votes
2answers
104 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 ...
5
votes
1answer
178 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. ...
5
votes
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 ...
1
vote
2answers
291 views

Spacing between a special character and text

Why do I get output like this ? Why is the alignment varying if I embed the special characters like lambda and eta ? code sample 1: \begin{gather} \label{eq:Highest spatial frequency} \frac{2 ...
7
votes
2answers
1k views

Equations and defining equation variables

I have a main equation that should be numbered and now I want to define the variables of the equations which may contain another set of equations. For example please have a look; code: \begin{align} ...
4
votes
1answer
2k views

Adding tabs between two parts of one equation

I need to add a tab between after the semicolon in the equation shown below: \begin{equation} Thr = 4\sigma_n;\sigma_n = median \left(\frac{|x|}{0.6745}\right) \end{equation} How can I do this?
2
votes
2answers
114 views

The multi-line equation with explanation is too wide

The original question provides a good answer for how to add explanations to the multi-line equations. However, my problem is that the explanations have too long space to the corresponding equations, ...
3
votes
1answer
894 views

Spacing between equation and text inconsistent due to large equations

I've read through answers to similar question but I still have the same problem. Essentially, I have some large equations and they are in the form \documentclass{article} \usepackage{amsmath} ...