Tagged Questions
2
votes
1answer
35 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
47 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
56 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
51 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 ...
6
votes
2answers
92 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}
...
3
votes
3answers
74 views
\addtolength{\leftskip}{2em} does not apply to equations in the paragraph
I have a paragraph which should be emphasized using left and right skips. Thereby I recognized that it simply ignores equations in this paragraph. Is this reasonable?
\documentclass{article}
...
3
votes
1answer
59 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
65 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, ...
2
votes
1answer
116 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}
...
4
votes
1answer
109 views
Add \par only if last paragraph did not end with displayed math
Background:
I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
2
votes
1answer
62 views
Equal spacing between equations on a page
I am writing a short quiz for my students in LaTeX, however I am having trouble with the spacing. The two equations I have are:
$\int sin^3(x)cos^{\frac{3}{2}}(x)dx$
\vspace{20pc}
$\int ...
1
vote
1answer
79 views
Latex: Equal spacing between equations on a page [duplicate]
I am writing a short quiz for my students in latex, however I am having trouble with the spacing. The two equations I have are:
$\int sin^3(x)cos^{\frac{3}{2}}(x)dx$
\vspace{20pc}
$\int ...
4
votes
1answer
84 views
How to remove unnecessary space after flalign* environment
I was wondering whether it would be possible to remove some unnecessary space after flalign* environment. I tried using \belowdisplayskip, but to no avail.
Below is the sample input.
...
3
votes
1answer
64 views
Alignment spacing for negatives - Why am I unable to properly align my equations?
Although I searched the Web and indeed found an answer here, I still seem unable to address my issue of aligning two rows in my step-by-step process for solving a very basic equation. Just in case it ...
4
votes
1answer
50 views
How can I move an equation without affecting the label?
I am having an issue with the automatic LaTeX equation and label formatting on one of my longer equations (see results below).
Minimum Working Example
\documentclass[11pt]{article}
...
0
votes
1answer
94 views
Spacing in multiline equations
Please help me to figure out how to produce with that:
I have the following code:
$$ gcd(0,0) = 0 $$
$$ gcd(u,v) = gcd(v,u) $$
$$ gcd(u,v) = gcd(-u,v) $$
$$ gcd(u,0) = |u| $$
$$
2^{x^3} = ...
1
vote
2answers
104 views
How to display formulas?
I am using the following format for all
\begin{math}
newP = p + vt + 0.5a(t square)
\end{math}
How do I
from left justified to centrally justified
leave one blank line before and after the ...
15
votes
2answers
230 views
How to remove an unwanted white space at the last end of a horizontal curly brace?
You can see there is an unwanted white space at the last term below.
\documentclass[border=12pt]{standalone}
\usepackage{amsmath}
\begin{document}
$
...
4
votes
1answer
43 views
How do I hang another, right-aligned line in a cases environment?
I've seen these questions, but in my case the equation content is too long to add the text description at the end and it overflows into the margin.
\[
d_i(g_n,\ldots,g_0) =
\begin{cases}
...
5
votes
2answers
158 views
How to get align or similar equation environment to use the whole line instead of centering around the equality sign
I'm creating a Beamer presentation in which a line in the equation environment should fill the whole screen and should not only be centered arround the equality sign. I think this looks nicer and is ...
3
votes
2answers
125 views
Wrapping text within align
I am writing Flashcards for the upcomming finals.
To describe the equations I use the align* environment like this:
\begin{align*}
x_+ &: \text{ Molenbruch von Enzymen, bei denen ...
7
votes
3answers
137 views
Space before right bracket
I have created this formula using mathptmx as font
\begin{equation}
BER = Q\left(\sqrt{\dfrac{2E_{b}^{\text{RX}}}{N_{0}}}\right)
\end{equation}
getting the above result:
I'm not totally ...
11
votes
1answer
116 views
Extra space added after equation when it is coloured
For some reason space is added after my equation when I colour it. This does not happen if the colour is added to text.
Is there a simple way to prevent this from happening, like a global setting (I ...
2
votes
0answers
31 views
Setting vertical space for displayed formula [duplicate]
Possible Duplicate:
How to globally change the spacing around equations?
In a paragraph such as:
start text \[ ... \] end text
How do you adjust the vertical gap between the text and the ...
3
votes
1answer
54 views
Reducing sign interspace in slightly too wide equations
Some equations are sometimes slightly too wide. One way is to manually add \! commands wherever it seems relevant in the equation. Is there an automatic alternative to:
x\!=\!y\!+\!z
7
votes
1answer
101 views
How do I suppress the whitespace above an equation block at the page top?
How do I suppress the whitespace above the equation block at the page top ?
It is added to the top margin, and I don't want that to happen.
I know that \abovedisplayshortskip controls this for the ...
1
vote
2answers
101 views
Spacing of consecutive equation versus a single gather
I know the spacing produced by the following two approaches is slightly different. So my question is which one should I choose? Is it about personal preference?
With 3 consecutive equation ...
0
votes
1answer
46 views
How do I set the margins of a centered math expression? [duplicate]
Possible Duplicate:
How to globally change the spacing around equations?
For example,
this is a paragraph
\[ \frac{1}{2} \]
this is a paragraph
as result, I want something like
this is ...
7
votes
1answer
318 views
Vertical spacing before and after equation environment: empty line or not?
The vertical spacing in front of and behind the amsmath equation environment is different whether I insert a blank line or not (im using KOMA-Script with parskip=half if this is important). I'd like ...
7
votes
2answers
823 views
How to globally change the spacing around equations?
How could I go about setting the 'above' and 'below' vspaces around the equation environment?
If the same could be done for the subequations or gather environments, this would be a bonus.
4
votes
3answers
919 views
Increase spacing after minipage
Hello i am using a line of code to draw 2 equations next to eachother using \minipage{}:
\begin{minipage}{0.5\textwidth}
\small
\begin{equation}\label{e3}
\begin{split}
\frac{\mathrm d x'}{\mathrm d ...
1
vote
1answer
140 views
Automating the usage of \vspace{\abovedisplayshortskip} and \vspace{\abovedisplayskip}
I'm trying to replicate the space above the equation environment. Currently, I have to manually alternate between
\vspace{\abovedisplayskip}
and
\vspace{\abovedisplayshortskip}
depending on the ...
3
votes
1answer
365 views
LaTeX - How do I prevent extra whitespace when an equation falls at top of page
I am a newbie to LaTeX, so if this question is simple to answer please forgive me.
I wish to keep the content in my document flush with the top margin. However, when an equation falls at the top of ...
1
vote
1answer
119 views
Floating lines in align environment
I'm using the align environment to align some equations, and I would like to insert some comments between them. The problem is that I'm using & to align the equals, and because my comments don't ...
5
votes
1answer
215 views
How to prevent additional vertical space around tall inline equations
I've got a Figure caption with a couple of short inline equations in it, one of which being $\psi_\text{pseudo}$, and because of the subscript + descender, LaTeX inserts additional space between this ...
6
votes
1answer
538 views
Vertical spacing between equations and text
I'm running into an issue where if I add \nomenclature{$a$}{A}% after an equation it adds extra space. I have many equations and half of them require the \nomenclature command, however, those that ...
5
votes
1answer
512 views
Change vertical space between numbered formula in LyX
I have inserted serveral (20) Numbered formulas directly behind eachother in LyX 2.0.3. If I export these formulas to the final version in PDF, there is a large vertical space between the formulas.
...
3
votes
2answers
222 views
Equation Spacing in AMSART
I'm having some small amount of inconsistency with my equation spacing when using the amsart class.
I have the following:
Paragraph 1 text here.
\begin{equation}
F_n = F_{n - 1} + F_{n - 2}
...
5
votes
1answer
1k views
Adjust space between displayed equation and the following text
I often have displayed equations in the middle of a paragraph, so that the following text of the equation does not start on a new line but follows with a space.
In such situations, I would like to ...
9
votes
1answer
144 views
Spacing issue for newenvironment wrapper of equation environment
If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin.
Example code:
...
6
votes
2answers
395 views
Excess vertical space in mdframed ending with display math environment
When the mdframed environment ends with an align there is excess vertical spacing at the bottom. I would like to adjust the MyBoxedEnvironment environment such that the vertical space at the bottom ...
6
votes
3answers
580 views
Why doesn't lineno number a paragraph when it is followed by an “align” equation environment without a space?
lineno skips the line numbering in this case:
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{lineno}
\linenumbers
\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing ...
2
votes
2answers
1k views
Equation: Using \left brackets inserts unwanted space [duplicate]
Possible Duplicate:
Spacing around \left and \right
I'm having some problems with writing down an equation in LaTeX. It's only a minor issue regarding appearance, but I'm kind of a ...
3
votes
1answer
1k views
Different spacing around equation and align
In my document, I use align and equation, depending on the length of the equation. They are spaced differently, as you can see on the picture below.
I read that comments in the empty lines would ...
9
votes
2answers
803 views
Compact collapsing of equations and paragraphs
I want to duplicate the compact look of G. K. Batchelor's fluid dynamics book. Where a paragraph terminates such that the mathematical expression can collapse up into the vertical space of the ...
3
votes
2answers
487 views
Amsmath, spacing, left alignment
It was recommended that I include amsmath package to use \tag{} (which works). When I do this however, it somehow changes my predefined spacing; I would like everything to be left aligned, no left ...
2
votes
1answer
326 views
Align Environment and Spacing [duplicate]
Possible Duplicate:
Blank lines in align environment
When I put a blank line between a line of text and the align environment, it will add two blank lines instead. It seems that the align ...
4
votes
5answers
1k views
How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?)
If I have a document like this:
\documentclass[landscape, 12pt]{report}
\usepackage[landscape]{geometry}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amssymb, ...
6
votes
3answers
8k views
How can I decrease spaces between equations?
\documentclass[12pt,a4paper]{mwrep}
\renewcommand\baselinestretch{1.5}
\begin{document}
\chapter{Test}
Text text text text text text text text text text
\begin{equation}
1 + 2 + 3 = 6
...
1
vote
2answers
1k views
Narrower columns in align environment
How to set the column width in the align environment.
I've got a align environment to demonstrate how to do division by hand so the columns always contain only one number, but the columns are much ...



