{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)

21
votes
2answers
1k views

Why does \xspace behave differently for parenthesis vs. braces/brackets?

Consider: \documentclass{article} \usepackage{xspace} \begin{document} (something\xspace) [something\xspace] \{something\xspace\} \end{document} Or more to the point: \documentclass{article} \...
34
votes
2answers
6k views

Why does vfill not work inside a beamer column?

I recently tried to set up a quartered page layout in beamer (separate question might follow) and \vfill failed in a column environment. Minimal example: \documentclass{beamer} \begin{document} \...
19
votes
4answers
3k views

No space present after ensuremath

When I insert a short maths section in a sentence, it renders fine with a space each side as expected: ...returned $\mathcal{P}$ from... If I define a command to do the same thing, it also renders ...
6
votes
1answer
217 views

The same height of text in a large document

I’m typesetting a large document that contains a lot of mathematics. The only problem is that the height of text on some pages that ends with a displayed formula is less than (about 3-6mm) the height ...
6
votes
1answer
3k views

How to add more space between list items?

I have a list. Editor says it shall have more space between items. How to achieve such thing?
13
votes
4answers
2k views

Hard whitespace

I am using plainTeX and would like to typeset some (python) code examples. Switching to \tt gets me partway there, but I (obviously) need the whitespace respected. Is there a trick for doing this? The ...
43
votes
2answers
5k views

Macros for common abbreviations

Common abbreviations are surprisingly tricky to format correctly. I'd like some simple macros for them, to be used like so: You should eat more fruit, \eg apples, bananas, oranges, \etc. There are ...
3
votes
1answer
840 views

avoiding white spaces between consecutives minipages

I am using the list environment \begin{itemize}\end{itemize} in pdflatex with several \item inside. I want to make each line from inside the environment "itemize" longer so that the length is 1.25\...
3
votes
1answer
588 views

Change spacing between elements in \newfloat listof

I have created a new float type with the following in my preamble: \floatstyle{plain} \newfloat{myfloat}{thpb}{myfloat}[chapter] \floatname{myfloat}{\bf My Float} Then I use the following to create ...
12
votes
3answers
4k views

Too much whitespace before lists when changing the \parskip length

I have the following in my preamble: \addtolength{\parskip}{\baselineskip} \setlength{\parindent}{0 pt} Now there is too much whitespace before an enumerate list environment, in the example I have ...
12
votes
2answers
2k views

\addvspace can't replace \vspace

I want to replace \vspace with \addvspace in a command. When so doing, I get obtuse "something's wrong--perhaps a missing \item." errors. I'd appreciate an explanation of why this happens and how ...
17
votes
1answer
17k views

amsmath align environment: row spacing

How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \fracs in which both the numerator and the denominator consist of textual phrases, not math ...
13
votes
2answers
6k views

Create empty box sized according to imaginary content

In LaTeX, is it possible to create an empty box that has exactly the dimensions of some content given? Example: \emptybox{abc} would insert an empty box of the size as if "abc" was printed there.
7
votes
5answers
327 views

Typeset a series of characters with equal distances?

for typesetting tables with design of experiments, I have to typeset strings like "+ - + +", - - - +", etc. in a column of a table to represent the so called pattern of the experimental run (sometimes ...
8
votes
2answers
1k views

Spaces behind \textgreater not working as expected

I have the following code: \textit{WMC \textgreater average} But the text looks like this: WMC >average It does not even change if I add even more spaces. So what am I doing wrong?
11
votes
1answer
28k views

Remove/Reduce vertical space between paragraphs for acm_proc_article-sp

I need to use a certain document class (acm_proc_article-sp) that introduces vertical space between paragraphs. I want to remove or at least reduce that space, which I am unable to. Here is a minimal ...
4
votes
1answer
663 views

Theorems and Definitions as quotes

Most standard styles highlight theorems and definitions using italics. Now this is something I really would like to avoid in my thesis (and generally). Unfortunately, if I just remove this "feature", ...
1
vote
1answer
356 views

How to delete space of empty “section number”

I have renewed the section number so that it doesn't display anything \renewcommand{\thesection}{} now the problem is that LaTeX is still reserving space for the section number although isn't ...
34
votes
2answers
31k views

How can I increase the line spacing in a matrix?

I'm trying to create a pmatrix whose components are rather complicated fractions (Christoffel symbols), and the line spacing is too small making the whole thing a bit cramped and hard to read. Is ...
13
votes
1answer
7k views

Increasing paragraph indentation in KOMA script

The default parindent in KOMA scrartcl is too small for me. I remember reading somewhere that just changing \parindent directly is not wise, since it also affects other things (like itemize etc). And ...
5
votes
2answers
3k views

Vertical spacing with underbrace command

How can I set how much vertical spacing is put between my equation and the curly bracket used in underbrace? As an example, I feel like the following just puts the brace too close to the equation: \...
1
vote
1answer
157 views

Spacing of characters in a mathematical set, displayed inline in paragraph

I have a mathematical set notation that I want to display inline in a paragraph of text. However, when I write this, the output is not very beautiful: $\{ (w_j,\dots,w_{j+n-1}) | 0 \leq j \leq k-1-n\}...
1
vote
1answer
640 views

How to control spaces between objects?

I have a problem with controlling spaces between different object and environment. In my MWE you can see I use quote and \footnote on the one page. Unfortunatelly when I use them lines on adjoining ...
3
votes
1answer
1k views

Is italic + less-space formatting of \subparagraph typographically sensible?

As discussed in Difference between \paragraph and \subparagraph in scrreprt?, my formatting does not make a difference between \paragraph, as the proposed workaround does have no effect, if the option ...
4
votes
2answers
4k views

spacing with wedge and bigwedge with bigger index

I have this math code: \[ \bigwedge_{i,j \in \underline{n},\atop { i \neq j,\atop k,l \in \underline{|\sigma|}}} x_{i,k} \neq x_{j,l} \wedge \bigwedge_{i \in \underline{n},\atop k \in \underline{|\...
11
votes
2answers
7k views

Extra space for numbered titles in table of contents

Background A manual with chapters, sections, subsections, and sub-subsections. Using KOMA Script v2. Problem The spacing between the heading title and its number is too close to the number in some ...
19
votes
4answers
674 views

Microtype and quote environment leads to different indent of first line

When the microtype package is loaded a quote environment which starts with punctuation marks is inconsistent "indented". The first line in the following minimal example is unaffected, i.e. at the same ...
21
votes
3answers
11k views

Define pretty sets in LaTeX; esp., how to do the condition-separator?

E.g., I have this set: \{ \alpha \in \Sigma^\omega | \exists^\omega n : \alpha [0,n] \notin \Sigma^* a_1 \Sigma^* a_2 \dotsb a_n \Sigma^* \} Here, I use | as the separator for the condition part. ...
5
votes
2answers
4k views

Vertical space of \includegraphics[height=2cm]

I am trying to place an image on the right of some individual lines of text that do not stretch over the entire \textwidth. The image will go higher than the first line and I have to be able to ...
1
vote
1answer
656 views

Reduce vertical spacing/gap - for \listoftables, \listoftables between heading and first entry

The following MWE demonstrates the large gap between the heading 'List of Tables' and the caption for the first entry in this list. How can the vertical space between the heading and first line of ...
5
votes
2answers
953 views

Removing space before Section in Table of Contents when using Article

How can I remove the vertical spacing before each section in the table of contents from a 'article' documentclass?
2
votes
1answer
1k views

fncychap: vertical space between text and heading too large - shift left heading - improving on fix?

To reduce space between the table of contents heading and the first entry in the table of contents the following solution is used: \addtocontents{toc}{\vskip-40pt The heading to display} However, ...
2
votes
1answer
527 views

Could I change the default column sep of `aligned` from \quad to \qquad globally?

I need your help: to change the default column sep of aligned from \quad to \qquad globally, thanks.
14
votes
1answer
1k views

Italic Correction for Linux Libertine Font

I was looking for a new font for the manuals of my LaTeX packages and found the Linux Libertine most pleasing. However it seems that it doesn't support italic correction (yet). I assume that a font ...
4
votes
2answers
2k views

fncychap package - vertical gap/space between text and heading too large - how to reduce?

The below example shows the table large gap between the top of the table of contents its section heading. How can this gap be reduced? \documentclass{book} \usepackage[Bjornstrup]{fncychap} \begin{...
6
votes
1answer
3k views

Vertical space around theorems

I'm working in a document that has double-spacing (yuck!), and I want to establish some standards in order to make the thing look "presentable". Currently, the only environment that has an automatic ...
5
votes
2answers
1k views

How to increase vertical spacing between entries when using glossaries long style?

I am using the glossaries package with long style. However I don't want the entries to be so tight one to another. Minimal code: \documentclass{book} \usepackage{glossaries} \newglossarystyle{...
2
votes
1answer
2k views

Memoir: no space after section heading

How do I set zero space after a section heading using memoir.cls? If I use the following: \setbeforesubsubsecskip{-\baselineskip} \setaftersubsubsecskip{0pt} I get a run-in heading. This is only ...
8
votes
3answers
848 views

How to do extra spacing when using small caps for abbreviations?

The default letter spacing for small capitals seem optimised for use in headlines and such but a bit too cramped for use in abbreviations. How should I do to get the letter spacing more suitably ...
6
votes
1answer
1k views

How to correctly position biblatex \autocite?

I'm using biblatex 1.2a and \autocite because I don't know if the final format of the book will require inline or superscript citations. Seems the correct usage of \autocite is preceding it by a ...
4
votes
2answers
1k views

Vertical space after title of unnumbered chapters (bibliography/ToC)

The title pretty much says it all: It is possible to add arbitrary vertical space after the title of the ToC or bibliography page within the report document class?
23
votes
3answers
12k views

How to specify a fixed height for all rows in a table?

I have something like this: \newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} \begin{tabular}{| c | C{3cm} | C{4cm} |} Short Text & Short Text & Short Text ...
6
votes
1answer
6k views

Footer spacing in LaTeX

I have a huge footer in my LaTeX-document (a table I need on each page), but the table is too high to be in the document even though I use \addtolength{\footskip}{-30pt} below that size the footer ...
6
votes
1answer
1k views

Ignore Whitespace Within Environment

I'm using the bnf package to format a context-free grammar in one of my documents. I'm finding that any whitespace will be reflected in the output. I would like to keep the whitespace in the code for ...
3
votes
2answers
2k views

Space after closing double quotes in XeLaTeX

I'm writing some non-technical text that I'm trying to typeset using XeLaTeX. For simplicity, I'm keeping the actual text in plain text files which after certain modifications (e.g. escaping %, \ and ...
9
votes
2answers
5k views

Vertical spacing of framed environment

Here is an MWE that shows the problem: \documentclass{article} \usepackage{framed} \setlength{\FrameSep}{3pt} \setlength{\parindent}{0pt} \begin{document} \fbox{Foo} \fbox{Foo} \begin{framed} Foo ...
90
votes
1answer
166k views

How to change the space between the itemize “items” in LaTeX? [duplicate]

Possible Duplicate: Vertical space in lists How to change the space between the itemize "items" in LaTeX so that I can continue to use the "itemize" and "item" tag without needing to redefine ...
9
votes
3answers
285 views

Automatically checking for accidental spaces in macros?

It is easy to forget a \relax or % at the line end of commands in the body of macros. For example, in writing \def\myMacro{ \invokeX \invokeY{} \invokeZ } You must add a space swallower at ...
4
votes
2answers
921 views

Whitespace in memoir titles

I am unhappy about the whitespace before and after my chapters, sections, and subsections etc. Using the memoir class I tried to find out on how to reduce this. For my chapters it says I should use ...
9
votes
1answer
3k views

Extra vertical space between aligned equations in ConTeXt?

In LaTeX, I can use \\[3mm] for example, to put extra vertical space, if I think it will improve the readability of displayed, aligned equations. And in fact I find I do this quite a bit. But what ...