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

9
votes
2answers
3k views

Paragraph spacing affecting table of contents [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I am trying to increase the spacing between paragraphs, using ...
1
vote
1answer
2k views

How to remove vertical space between header and body of text?

I'm writing a Statement of Purpose, in which I've opted to leave out the title altogether, and instead put the details of myself (name, program etc) in the header. While this works fine, I have ...
41
votes
1answer
10k views

How to modify the space between the numbers and text of sectioning titles in the table of contents?

I'm preparing a document using the book class. In the table of contents, the space between the subsection number and title is too wide. How to reduce it?
2
votes
1answer
824 views

Ugly whitespace with multicols

Why is there ugly whitespace in the first column? How do I remove it? \documentclass{article} \usepackage{amsmath} \usepackage{multicol} \begin{document} \begin{multicols}{3} ...
5
votes
2answers
3k views

Vertical spacing in tables with math

How can I force LaTeX to vertically center math in a table taking into account subscripts, superscripts, etc? It appears from the output below that LaTeX vertically centered the $JV$ and added the ...
0
votes
1answer
381 views

Begin document with blank lines [duplicate]

Possible Duplicate: Start off a page by adding vertical space I'm entirely new to LaTex, but I've been googling for a while and haven't found out how to do the following: How can I start a ...
13
votes
3answers
21k views

Vertical spacing between fractions in matrix environment [duplicate]

Possible Duplicate: How can I increase the line spacing in a matrix? Using display style fraction in a matrix environment How to add extra spaces between rows in tabular environment? ...
73
votes
3answers
57k views

Adding vertical space at the start of a page

I'd like to, first thing before writing anything on a page, add some vertical space. Minimal (non)working example: \documentclass{article} \begin{document} \vspace{250px} I want to be further down ...
9
votes
2answers
6k views

scrlttr2: How can I remove the white space between “address” and “Subject:” line?

How may I remove excessive white space at the top, between my address in top-left, and the Subject: line? \documentclass{scrlttr2} \usepackage[english]{babel} \usepackage{graphicx} ...
0
votes
1answer
687 views

Adjust the vertical spaces between two sections in Nomenclature, LyX

I am using LyX to write my thesis, and I sort my notation into two sections ('Abbreviation' and 'Formula symbols and units') with nomencl. I would like to insert some vertical space above the ...
7
votes
4answers
29k views

How to create whitespace in LaTeX?

I'm trying to create a LaTeX document with several blocks of source code included. Between these blocks of code I want to add in a few lines of whitespace. I have tried using \\ however this didn't ...
11
votes
1answer
784 views

Strange difference in usage of \pgfmathprintnumber

I encountered a strange spacing difference in the following example: \documentclass{article} \usepackage{tikz} \begin{document} number printer inside of fbox with -5e-5: ...
17
votes
2answers
507 views

How do you create .+?

I would like to display a = b .+ 1 But it is displayed as a = b. + 1 (moves . next to b).
7
votes
1answer
947 views

hyperref, how to make 'pdfborder' larger, or add some margin between the border and the text

Using the hyperref package, is there a way to make the border around the link or whatever larger so that it is not tightly sticked to the text? Like adding some margin between the text and the box ...
13
votes
3answers
44k 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 ...
3
votes
3answers
852 views

Vertical spacing without new line [closed]

I am new to LaTeX and have a weird task. I need to write a line between two others. Think of like that: foo boo doo(1) you soup pope(3) doo boo foo(2) But the thing is I am not ...
3
votes
2answers
2k views

booktabs and tiny horizontal space

In a regular table, I'm trying to remove the small horizontal space before the first column and after the last one as achieved with package booktabs with the option @{}. How can I do that? Please ...
12
votes
1answer
412 views

bracket with doubled delimiters

I want to typeset Hilbert-Schmidt-Products as the Liouville-Equivalent of the Hilbert Space Braket, with doubled delimiters, like this: \Lbraket{\rho|\rho} results in <<rho|rho>>. I was ...
3
votes
2answers
2k views

Length parameter for vertical skip space in a math environment?

I learned here that I can use \\[<len>] to explicitly set the vertical skip space between lines, e.g., <len> set to 3ex. I'd like to set <len> to, say, 2-times the normal length in ...
13
votes
1answer
6k views

Vertical spacing in floats

I am using a float inside the text. As I found out, using \intextsep I could set space above and below the float and the texts. But when I am using \setlength{\intextsep}{5mm}, the space below the ...
3
votes
2answers
158 views

Text mistakenly indented after ending landscape section

For some reason LaTeX indents the text right after the end of a "landscape" section of my DVI output, even though I don't want it to do so. Any thoughts on how I can fix this?
2
votes
1answer
146 views

Error in spacing when using custom command [duplicate]

Possible Duplicate: Space after LaTeX commands I`ve made a few very short commands, and they work, alas the spacing after them is wrong. \newcommand{\yaksen}{$y$-aksen} ...
11
votes
1answer
2k views

Enumerate/itemize without margins in table cell best practice

I want to use an itemize or enumerate list inside a table cell. For this there should be no margin around the list. My question is, what is best practice to do this? I found different solutions for ...
1
vote
1answer
267 views

How can I correct spacing issues?

When using the following code I get unsightly spaces (following the opening parentheses, after the = and between the x' and y'): [$](\quad \overline{x+y})=\quad \overline{x}\quad \overline{y}[/$] ...
5
votes
1answer
1k views

How do I eliminate the vertical realignment when using arrayrulecolor with cmidrule?

I'm using consecutive \cmidrule commands in conjunction with \arrayrulecolor to alternately hide and unhide horizontal rules in a table. However, when \arrayrulecolor is used with \cmidrule, some odd ...
5
votes
3answers
729 views

Insert white line before algorithm

I am using the algorithm environment to create a simple list of pseudo-code, but I don't like it that the first line is so close to the rule. Therefore, I would like to insert a single white line like ...
2
votes
1answer
312 views

relative hspace in newcommand

I'm trying to create a symbol of a gray triangle with a black border. I managed to do so using: \newcommand{\factor}{{\color{gray} \blacktriangledown}\hspace{-1.6ex}\triangledown} However, the two ...
4
votes
1answer
2k views

Globally set Paragraph top and bottom margins

I have the below code : \documentclass[12pt]{book} \usepackage{lipsum} \begin{document} \lipsum[1] \lipsum[1] \end{document} I would like to be able to define the margins of new paragraphs. I ...
1
vote
1answer
4k views

Compactitem in tabular produces extra vertical space after environment

If I use compactitem in a tabular(x), there is a vertical space before and after the listing environment. How can I remove that space? \documentclass[11pt, a4paper]{scrartcl} ...
8
votes
1answer
528 views

polyglossia adds extra kerning to csquotes

When I use csquotes with polyglossia, an extra kerning is added after the first quotation mark. \enquote{Werk} becomes „ Werk“, not „Werk“. This doesn't look nice, especially when you have a word ...
3
votes
1answer
627 views

How to remove the skip after a listing when “\parskip” is increased with “\baselineskip”?

I've increased \parskip with \baselineskip to use the "skipped" paragrahs style instead of the default "indented" style. However, this causes all listings to automatically include a baselineskip ...
3
votes
1answer
207 views

hyperref causes a gap between the figure and subcaption with memoir

I'm experiencing a strange problem with memoir subfigure captions together with hyperref. Below is a working example: \documentclass{memoir} \usepackage{hyperref} \newsubfloat{figure} ...
16
votes
2answers
12k views

White space under wrapfigure caption

Wrapfigure environment has excessive whitespace BELOW the caption. Inserting negative vspace just shifts the position of the caption relative to the image, actually increasing the 2+ lines of ...
155
votes
7answers
183k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
4
votes
1answer
853 views

lstlisting produces empty row when used inside a tabular

Is there any way I can get rid of the empty new row produced by lstlisting inside a tabular? Here's a minimum working example: \documentclass[11pt]{article} \usepackage{listings} \lstset{ ...
7
votes
1answer
538 views

Color changes cell height in tabular

The following code shows that a \color{red} command increases the height of a tabular cell. I want to use a switch, not a command as \textcolor{red}{text}. \documentclass{article} ...
3
votes
2answers
3k views

How can I get a limit arrow without modifying the current line's height?

I'm using $f(x)\xrightarrow[x\to\infty] l$ to denote that a function tends to a certain value. However, this stretches the current line vertically. Is there any way to fix this?
3
votes
2answers
1k views

table causing misalignment in two column layout

I'm fairly new to LaTeX and I've run into a problem I'm not even sure how to Google. I'm using the two column document class IEEEtran for a scientific paper. However the text in the right hand column ...
0
votes
2answers
1k views

How to control float element to achieve compact output?

You may say the second question is duplicated. There are so many discussions about how to control the position of float. But they don't meet my needs. I want to reduce the blank area whilst float ...
5
votes
4answers
2k views

How to shrink the space in the header in letter

I am writing a document using the letter documentclass. I adjusted several parameters I know of such as \topmargin, \textheight and \textwidth. But I still could not make it into a single page. The ...
3
votes
5answers
1k views

xy diagram: set height of a specific row

I'm using the xy package. In the diagram $$\xymatrix@R=8mm@C=8mm{ & 1\ar@{-}[ddl]\ar@{-}[dr] & \\ & & c\ar@{-}[dd]\\ a & & ...
17
votes
2answers
24k views

How to move a paragraph to the bottom of the page (without vspace)

I am looking to move a text paragraph of a few lines (like a disclaimer) at the bottom of a 2 page document. Each time I do that, I need to adjust that specific paragraph with the \vspace function. ...
5
votes
2answers
6k views

A style prevents me from setting \belowcaptionskip, how do I change that?

I am writing a paper using the llncs style (Springer lecture notes for computer science). Using the default formatting, the distance between and the caption and the caption and the table is very big, ...
5
votes
3answers
3k views

Put a leading space to a paragraph using texttt

This line ~~Some~~thing produces two leading spaces before the word 'Some' and the spaces before 'thing'. However, \texttt{~~Some~~thing} does not produces the first two spaces (but produces ...
4
votes
3answers
3k views

LaTeX math whitespace

when I try to display a math equation with LaTeX, there is always whitespace to the right and left of the math equation. I am trying it with code like this: \documentclass{standalone} ...
3
votes
2answers
506 views

Whitespace problems with DVIPNG with LaTeX

I am trying to use LaTeX to output DVI files, then use DVIPNG to make images for, say, a website. The problem is when I take something like this: \documentclass{article} \pagestyle{empty} ...
2
votes
2answers
5k 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 ...
7
votes
1answer
2k views

Stanza breaks with verse package

I am trying to enforce stanza breaks via a blank line as explained in the verse package documentation. Stanza breaks do not seem to eventuate with this MWE: \documentclass{memoir} \usepackage{verse} ...
2
votes
3answers
493 views

Make a length negative

I was wondering if there is a way to have a \negate command which makes lengths negative. So you could do things like: \newlength{\negativeabovecaptionskip} ...
12
votes
4answers
8k views

abovedisplayskip vs abovedisplayshortskip

What is the difference between these two? http://en.wikibooks.org/wiki/TeX/abovedisplayskip http://en.wikibooks.org/wiki/TeX/abovedisplayshortskip I don't know why, but it seems to work unusually. ...