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

2
votes
3answers
2k views

overfull vbox with beamercolorbox

In a latex-beamer document, I am using a custom headline template. It produces a headline only when in a section. Here is a stripped down version: \documentclass{beamer} \usepackage{times} % gets rid ...
2
votes
1answer
130 views

Superpose a subscript and the rest of a formula

I have a formula in the equation environment that goes like Foo = \bigcup_{x \in veryveryveryverylongdescription} Bar(x) Because the state space's description is long, the Bar(x) is rejected far ...
2
votes
1answer
142 views

Alignment of material across pages

How would you make two corresponding lists on two different pages so that the corresponding items in the two lists would be at the same absolute height on the two pages? I guess the best way to ...
7
votes
1answer
550 views

Weird font/spacing issue with LuaTeX & Asana Math

Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue: \documentclass{standalone} \usepackage{unicode-math} \...
13
votes
4answers
6k views

Add extra space only between two specific columns of a tabular without adding extra columns

I am trying to move two columns of a tabular apart and running into difficulty. I tried adding \hspace between the columns with the @{...} syntax, but multicolumn seems to ignore that this spacing is ...
2
votes
2answers
414 views

Problem with macro definition spaces of index and superscript

I have defined a command FZ for defining mathematical symbols: \newcommand{\FZ}[1]{\textcolor{blue}{\ensuremath{#1}}\xspace} I want to define a Symbol CV first and then create some variants with ...
3
votes
1answer
158 views

Mark portions of text without affecting spacing

I would like to mark portions of my text that requires special attention during the review process. This marking won't be in the final document, so would like to be able to add these marks without ...
4
votes
1answer
639 views

Listings, literate, and space at the start of the line.

I am trying to use the literate option to replace the prompt (>>>) and continuations (...) in python input with symbols that "hang" in the margin. I can almost do this with something like ...
4
votes
1answer
1k views

Vertical Spacing of twocolumn option

I was wondering how can one place vertical spacing on both the left and right columns while using the [twocolumn] option. I used the \vspace{} command above the section of code where the columns begin,...
19
votes
2answers
17k views

LaTeX equivalent of     in HTML?

In HTML, to get extra horizontal spacing all I would have to do is: This is textual phrase A   This is textual phrase B to get the following output: This is textual ...
25
votes
5answers
22k views

How to shorten/shrink spaces between words?

My objective is to fit more words within one line. In order to show what I mean, I will exaggerate the word spacing here: Pretend this is a normal line in the document: Lorem ipsum dolor sit ...
1
vote
1answer
275 views

Preventing whitespaces between sections after using \linespread{2}

I'm working on my thesis and there is something rather strange going on in terms of whitespacing. All is well if I do not use the linespread command. However, as soon as I do use it, sections seem ...
11
votes
3answers
5k views

Word spacing in LaTeX

How to implement word spacing in LaTeX? For websites this is done with CSS: word-spacing: 0.5em; This is for reference about other tags paper: custom layout: layoutoffset:(h,v)=(0.0pt,0.0pt) ...
2
votes
1answer
437 views

Oddly wide spaces in subsection title

I have a problem, this is what it looks like: And this is the code: \subsection{Bakterienst\"amme und Anzuchtbedingungen} Where does the huge whitespace come from?
2
votes
1answer
355 views

Increasing spacing between the rows of a table containing both equations and words

Below is some code I am working with. \begin{tabular}{l|m{4.75in}} Equation 1 & $y^{10} + x^{6} + 7x^{3} + 6y^{11}$\\\hline Equation 2 & $\begin{alignedat}{1}(n + 1)^{2}u_{n + 3} &+ (n^{...
18
votes
5answers
17k views

How to input open intervals

I want to write open and half-open intervals using the following notation: ]a, b[ ]a, b] ]-∞, b] When writing them just like that in the LaTeX source, the spacing doesn't come out right. For ...
2
votes
1answer
122 views

3 pdf graphs on 1 page with text below

I am new to latex. I have to prepare a one-page document (so float is not important). I want to have 3 pdf graphs at the top of the page with 2 graphs centered on the first line and 1 graph centered ...
3
votes
2answers
1k views

Single Spacing Long Subsection Header in Table of Contents

I'm assembling my master's thesis in latex, using my university's provided latex style file. They mandate that if you have a long entry in the table of contents / list of figures et cetera, that the ...
19
votes
3answers
10k views

How can I fit my table of contents into a single page?

When I use \tableofcontents I get all my contents in a single page except for a line that goes on the other page, how can I make all in the same page?
0
votes
3answers
958 views

Equation formatting: spacing between characters

I have the following variable: $\omega_{fo}$ which gives [;\omega_{fo};] . The problem with the output is that there is a quite big separation between the letters f and o. Is there a way to make ...
7
votes
1answer
221 views

Preferred non-breakable space

Let's say I have a sentence like: "I will be at the beach from 4 to 7 this afternoon." and I want to add breakable spaces to prevent numbers from being isolated. So far, no problem, I could write ...
29
votes
2answers
39k views

How can I reduce padding after figure?

\documentclass{mwrep} \usepackage[draft]{graphicx} \usepackage{hyperref} \usepackage[all]{hypcap} \makeatletter \g@addto@macro\@floatboxreset\centering \makeatother I use figures with captions. \...
2
votes
2answers
322 views

Custom list of environments (per section)

I'd like to have a list of my custom environments at the start of each section. I read this post, but wasn't able to get the titletoc to help me. The given response worked for floats, but I couldn't ...
7
votes
3answers
535 views

Looking for an \ignorespacesandpars

Is there an analogue of \ignorespaces which will also ignore the following \pars?
5
votes
1answer
4k views

table of contents: adding a vertical space

In a table of contents that has been generated with LaTeX's \tableofcontents command, I would like to add a vertical space before a Chapter item in the table of contents. One way that I have in my ...
5
votes
1answer
6k views

Removing extra vertical space in \maketitle with titling package

Consider the following two LaTeX source files: First, manually producing a title using a new environment (eww): \documentclass[a4paper,10pt]{article} \parindent0cm% \newenvironment*{mytitle}{\begin{...
4
votes
2answers
5k views

Shortcut for “vertical space” in LyX

Has someone got an idea what the shortcut is/where I can create one for the \medskip{} command (or any other command, that generates a vertical space in my document)? I looked in Tools/Preferences/...
6
votes
2answers
2k views

Multiple authors don't fit on one line

I am working with the article class. I have four authors. Unfortunately, they are just a tiny bit too wide to fit on one line. (I'm talking less than a quarter inch from the margins I had set.) How ...
3
votes
1answer
2k views

A new paragraph followed by a big skip

Here is the code I am using to place a heading with a line above and below the text, from this post. \newcommand{\rheading}[1] { \par \bigskip \hrule height 1pt \kern 5pt \hbox to ...
17
votes
2answers
2k views

Tikzpicture with overlay takes up space

Consider this MWE: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[remember picture,overlay] \node [circle, fill=red!90!black, minimum width=15em] at (current ...
7
votes
1answer
279 views

Reducing space after a result of a command

I've got a command defined like this: \newcommand{\abc}[1]{ \ifthenelse{\equal{#1}{a}}{abca}{} \ifthenelse{\equal{#1}{b}}{abcb}{} } And later in my document I use it like this: \abc{a}, ...
0
votes
0answers
118 views

How do I override the \item spacing [duplicate]

Possible Duplicate: Vertical space in lists I have the following list being generated for me: \begin{itemize} \item Introduction (this chapter) \item Yum and RPM in datacenter/cloud ...
3
votes
2answers
173 views

Word-for-word center-aligning of parellel lines of text in LaTeX?

I'd like to prepare a LaTeX document using a common format of displaying both Chinese characters and the corresponding romanization (pinyin) above each word. For an example, please refer to this page ...
12
votes
2answers
11k views

Proper way of vertical spacing before/after environments

I am trying to typeset my thesis. I have to put predefined vertical space before and after some specific environments like equation and table. Since there are many instances of these environments I do ...
34
votes
2answers
2k views

What is the proper use of \@ (i.e., backslash-at)?

In this answer, \@ is used after a period and before an \xspace, presumably to indicate that the preceding period (in "etc.") was not sentence-final. In these tips, \@ is used before a period and ...
10
votes
1answer
2k views

Memoir parskip package

How do I get the same effect as using the parskip package when using the memoir class. I want no indents, and spaces between paragraphs. What is the proper way to do this in the memoir class?
4
votes
3answers
1k views

Extra line of vertical separator using itemize in tabular

I'm creating a resume based off of the example tutorial HERE. It's fairly simple, actually -- just a two columned table with dates on the left and job on the right. I prefer bullets vs. a paragraph ...
2
votes
2answers
1k views

How do I change the number of spaces inserted in WinEdt 6 when I hit the Tab key?

The default behavior for WinEdt 6 seems to be to insert 4 spaces when you hit the Tab key. I'd like to change this to 2 spaces. I managed to do this in WinEdt 5, but can't seem to figure out how to ...
4
votes
1answer
3k views

Make an invisible vbox

I'm placing a PDF meta information in a \vbox in a plain XeTeX document, and I would like it to behave as if there were no box at all (so any additional \vskip after the \vbox will appear). Right now, ...
6
votes
2answers
576 views

Unequal space between paragraphs and header-footer

As you can judge from the page below, the vertical space between the text and the header line and the text and the footer line is not equal..... This is much more prominent in a PDF reader so I am ...
6
votes
1answer
3k views

How can I change the spacing before theorems with amsthm?

I have a spacing problem. Whenever I include a theorem environment, \begin{theorem}\end{theorem}, the theorem appears very close to the previous line. The spacing is much less than the normal spacing ...
10
votes
2answers
2k views

biblatex/multicol: Incorrect vertical space after bibliography heading

I'm trying to typeset a bibliography inside a multicols environment, but with the heading as a single column (using multicols' optional argument). I've noticed that the vertical space between the ...
9
votes
3answers
3k views

Bibliography spacing with BibLaTeX (and two columns)

I need to fine tune the distances marked as A, B, C and D in the figure below. Any suggestions? In particular, I would like B=0pt, and the other three to be small. I am using BibLaTeX and two ...
4
votes
2answers
276 views

A problem about \xxxdisplayskip

I try to decrease the \abovedisplayskip and \belowdisplayskip to 3pt for save paper while equation including "large" math formulas has less sep between surrounding text than "normal" math formulas, ...
4
votes
2answers
445 views

How to expand summation notation on both sides of equal sign

I think you get what I am trying to do, but I dont know how to align the equal signs the entire way down and still have the vertical ellipses. Assume $\displaystyle \sum_{i=1}^{n}\alpha _{i}^{i}=\...
3
votes
1answer
2k views

Subfloating images with same margins left/middle/right

Currently I have the following code: \begin{figure}[htb] \centering \subfloat[htb][left]{\fcolorbox{plotBord}{plotPadd}{\includegraphics[scale=0.3]{figs/bla1.png}}} \hfill \subfloat[htb][right]{\...
11
votes
4answers
22k views

Avoid large spaces between text and equations

I use the options \renewcommand{\baselinestretch}{1.25} \setlength{\parskip}{0pt} \setlength{\parindent}{0pt} in the preamble of my document and most of the time the document looks like intended. ...
5
votes
3answers
4k views

An equation skip problem — amsmath package and \above/belowdisplayskip

I have been puzzled by a problem about math equation skip for days. I set the \lineskiplimit, \lineskip, \abovedisplayskip and others length macros before and after equations all to zero, but there ...
3
votes
2answers
497 views

I want to fill all the space between paragraphs on a page with a grid(graphic)

I took an example from another answer to a similar question (How to define a figure size so that is consume the rest of a page?). On a page of an exam paper I want the following: Question ...
19
votes
3answers
8k views

How can I make vfill to work without adding any text before?

Using \vfill between two texts works: \newpage bla \vfill blabla but it doesn't work if there is no text before it: \newpage \vfill blabla How can this be achieved?