{spacing} is about both horizontal and vertical white space, e.g. space between letters or words, or space between paragraphs. For adjusting the space between the lines of a document, use {line-spacing} or -- if your question is specifically about the package of the same name -- {setspace}.

learn more… | top users | synonyms (2)

4
votes
2answers
141 views

LyX is leaving a big gap between paragraphs in the place where float (figure) should be

I just want to ask about why is LyX leaving a big gap between paragraphs surrounding a figure?. Not all paragraphs, but only between those paragraphs where I inserted a float (figure). The figure is ...
0
votes
0answers
36 views

Reduce vertical space between large table and text located above to fit in the same page

I need to fit one portion of text and threeparttable (fixed position in the manuscript) underneath, on a single page but I am not being able to. The table is large and would only fit in one page. One ...
1
vote
1answer
91 views

Space and Position in Cover Letter Title

I attached my code for my cover letter of one job, and the picture of compiled pdf below. Can anyone help me accomplish the following things: How to make my Name show on the left with certain nice ...
3
votes
3answers
86 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)) \ ...
0
votes
0answers
36 views

Missing space after “ø” \o [duplicate]

I am writing a German text with some Scandinavian names which include characters like ø. In one case the ø is at the end of the word and the following whitespace is ignored. MWE: ...
3
votes
1answer
67 views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
2
votes
1answer
45 views

Something like \hfill with pstricks and XeTeX

I have a line of text in a pspicture environment and I need to distribute the words in a way like \hfill could do. Here is an image of what I want: I currently have this minimal example ...
5
votes
2answers
77 views

Extra space in command created

Consider the following answer given by @egreg which can be found at http://tex.stackexchange.com/a/111043/10898 Why is an extra 6.799999pt space created when you issue a command like ...
4
votes
0answers
67 views

Wrong vertical alignment using mdframed with tight margins

When using the mdframed environment with absolutely tight margins (all set 0pt), there is too much negative vertical space of split md-frames that are placed at the top of a page. To illustrate this, ...
7
votes
2answers
104 views

Unwanted vertical separation between tcolorboxes

I am trying to make printer labels for the spine of ring binders. The text is designed to be printed on label paper sheets with A4 format, having top and bottom margins of 26.5mm and left/right ...
1
vote
1answer
39 views

Upright text in math mode for chemical elements [duplicate]

I have a line as follows: \documentclass[a4paper]{article} \usepackage{siunitx} \begin{document} {$d_{(O_{1}-Zn/Mg)}(\SI{}{\angstrom})$ \end{document} showing: I don't want the letters to be ...
1
vote
1answer
56 views

Too much vertical space after long section title using titlesec

I'm using titlesec to change the style of my section titles. Sometimes, when the title is long, but just short enough to fit on one line, some extra vertical spaces is add. The following MWE ...
1
vote
1answer
36 views

Fix the value of the vertical space before/after \Large

Is there any way to fix the value of the vertical space before and after {\Large ...} to be 1.0em? Sometimes I use {\Large ...} just after or before a theorem and the theorem spacing requirements seem ...
2
votes
1answer
69 views

Reducing space between first and last name in casual moderncv template

I'm converting my resume into the moderncv casual template. I came across a couple examples of this template in action that I quite liked. However, when I started using it, I noticed the space between ...
6
votes
1answer
41 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
4
votes
1answer
53 views

equal column spacing in longtable

Does anyone know how to get equal spacing between columns in longtable? My code is attached below. Thanks. Franz \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} ...
0
votes
0answers
57 views

Page-specific \nomlabelwidth in nomenclature

In order to keep symbols and descriptions in a nomenclature with the nomencl package vertically aligned, \nomlabelwidth has to be set to the maximal symbol width. This has effect on the whole ...
5
votes
2answers
62 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
2
votes
1answer
62 views

Double vertical spacing : how to fix this?

Consider the following : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{lipsum} \usepackage{tikz} \usetikzlibrary{shadows} ...
6
votes
2answers
133 views

phantom wrapper of a word around a shorter one

It would be very handy for me if I could write something like: \phantomwrapper{long word or text that fits in one line}{shorter text} and the phantomwrapper would create just the amount of ...
7
votes
2answers
176 views

How much space is a line, vertically?

How much space is a line, vertically ? E.g. something like "1.5em" ?
4
votes
1answer
41 views

Remove whitespace after item in description

how can I remove the whitespace after the item in the description? Example: this code: \begin{description} \item[First]\footnote{Here goes the footnote} lorem ipsum ... \item[Second], which is my ...
5
votes
1answer
74 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
7
votes
1answer
72 views

Removing blank space above bibliography items

How do I properly remove the space above bibliography inserted without the respective caption? Please see the screenshot below with the inconsistent spaces being delimited by red lines. Two-column ...
3
votes
1answer
45 views

Indentation of list in a theorem environment

Typically, the body in a theorem environment begins on the same line as the heading. If the text begins with a list, the first line looks a little funny due to the indentation before the label. I'm ...
0
votes
0answers
41 views

Spacing between superscript and left parenthesis

I'm wondering why Latex adds an extra space between a superscript and the left parenthesis as in this case \documentclass{article} \usepackage{amsmath} \let\originalleft\left \let\originalright\right ...
1
vote
2answers
34 views

A problem with `amsthm` and positive `\parskip`

I want my paragraphs to be separated by some whitespace and not indented. However, there is way too big a space between end of a theorem and begin of a proof (an MWE follows). What are my options to ...
5
votes
1answer
114 views

Reducing chapter and section spacing for scrbook

I'm using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...
1
vote
2answers
42 views

How to change spacing between caption numbering and text?

Like in an IEEE paper, after the figure caption numbering, there are two letters spacing: Fig. 1. Bla bla Not like Fig. 1. Bla bla I would like to have the former.
7
votes
1answer
221 views

Libertine fonts: spaces in PDF files

I am having trouble with the "libertine" font package using TexLive 2014. A PDF file generated will display properly, including interword spaces, but when I save from Acrobat to some other format ...
8
votes
4answers
140 views

How to reduce the space between the hat of overset and the symbol?

I would like to place the \rightharpoonup on r and get them closer. I had tried the \overset and \Rvector package. But the spacing of the former is too much. And the latter performs bad when placing ...
4
votes
1answer
50 views

Arbitrary positioning in math mode without size restriction

In the MWE below, are all general methods, of achieving arbitrarily shifting of symbols up or down or left or right in math mode, represented? If yes, that is the answer. If no, what good methods are ...
3
votes
1answer
96 views

Given a 3x4 table of images, how do I make all the images the same size and remove vertical space so the table looks seamless?

I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the ...
4
votes
3answers
76 views

How to reduce a gap between the enumeration and the context from above it?

\documentclass[xcolor=x11names,compress]{beamer} \usepackage{graphicx} \usepackage{tikz} \usepackage{enumitem} I have a following code \textbf{Definition 1.1} A {\it{design}} is a pair ...
6
votes
1answer
71 views

ragged2e breaks soul package \textbf{} spacing

If you compile the XeLaTeX below you will see the output is not-as-expected for the bold part of the text i.e. it is: underline underline boldboldbold In other words the spacing of the bold elements ...
3
votes
1answer
92 views

Spaces in files names in \input or \includegraphics

I'm going crazy... I have a file I want to include which path is C:\Users\Matthieu\Documents\Folder withOneSpace\myFile.tex. (As you can see with the \, I'm on windows actually) I tried the ...
6
votes
3answers
306 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: ...
3
votes
1answer
38 views

Centering List of X and Following with Text

With the tocloft package, I can add text under the title of a "List of Z" at the beginning of a latex document: \renewcommand{\cftafterZtitle}{\par\noindent \textnormal{Z} \hfill \textnormal{PAGE}} ...
6
votes
1answer
47 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
2
votes
3answers
132 views

Sane spacing after min max

The default definitions of \min and \max insert basically no space after them, which looks really awful when stating optimisation problems, etc., in display equations. I could not figure out any way ...
3
votes
1answer
59 views

Footnote moves up by one \par

What is the problem with this minimal example: \documentclass{report} \usepackage{zref-abspage} \makeatletter \newcounter{footdir@label} \newtoks\footdir@toks \newcommand*{\footdir@temp}[3]{% ...
0
votes
0answers
56 views

How can I add in the missing space when the first use of an acronym is plural?

I'm using the glossaries package and defining my acronyms like this: \newacronym{led}{LED}{Light Emitting Diode} I'm then using the acronyms in my document with either \gls{led} or \glspl{led} ...
4
votes
1answer
65 views

Reducing Vertical Margin List of Equations

I am trying to add a List of Equations to my dissertation that matches the style of the list of tables and list of figures. I am very close but am hung up on the last step. How can I reduce the ...
2
votes
0answers
45 views

Multicol and Itemize

I am using the multicol package with itemize. On the left of my two columns, each bullet point is 2 lines long, and on the right side, each bullet point is one line long. Right now, my output is ...
2
votes
3answers
97 views

How to prevent a page break before an itemize or enumerate list? (continued)

My question is essentially the same as How to prevent a page break before an itemize list?. First, I don't undestand how the proposed solution (\par\nobreak\@afterheading) works. Why doesn't just ...
4
votes
1answer
89 views

Table caption spacing in dissertation

Style requirements for a dissertation require a single-spaced caption but with a double space between the table number and caption like so: Table 1. Table caption goes here, and is single ...
4
votes
1answer
40 views

spacing problem for more than three algorithms in one page

I use algorithm and algpseudocode package. Problem is, when I tried to start the fourth procedure\function, the fourth one starts in the middle of the next page instead of right below to the third ...
3
votes
2answers
87 views

Correct spacing when using aligned in cases

I have problems getting the spacing right when using aligned in a cases environment. The following illustrates my problem: \documentclass{article} \usepackage{amsmath} \begin{document} $$ ...
2
votes
0answers
34 views

Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
5
votes
2answers
147 views

Enumerate: only indent numbers

I want to make the enumerate environment look like this: 1. First item [...] [first item continued] 2. Second item [...] That is, the text should look like normal body text except with ...