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

3
votes
1answer
912 views

Implied Double Space in Table of Contents Vs. Sections

I'm attempting to remove a double space that seems to be automatically put after the display of list of figures, table of contents, etc. What I mean visually is show as follows: What I would like ...
5
votes
1answer
941 views

How can I reduce the space between paragraphs and block quotes?

I'm using the mla package from the texlive-humanities ubuntu package to format an MLA-style paper. Unfortunately, something is a little off, and there's a little extra space between paragraphs and the ...
9
votes
2answers
669 views

How can I get my ellipses formatted correctly in XeTeX?

I've been using \dots and \ldots to try to get ellipses happening. Ellipses should look like this: Some text . . . and then some more text. But instead they look like this: Some text ...and some ...
3
votes
1answer
885 views

Column spacing problem

I'd like to know how to position two columns in the following table closer together. The table looks like this: I have found I had a problem with spacing of tabular columns combined with ...
5
votes
1answer
4k views

Invisible character equal to the height of capital letters [duplicate]

Possible Duplicate: How do I create an invisible character? How can I insert an invisible character (similar to \strut) which has a width of zero (won't impact word or letter spacing) and ...
2
votes
0answers
484 views

Caption spacing in longtable package [closed]

I am using a style file that sets a particular spacing for the List of Figures (LoF) and List of Tables (LoT) in my Table of Contents. However, I am using longtable for all my tables, and it is ...
9
votes
1answer
806 views

ignoring vertical space due to underbraces in cases environment

In the following formula, I would like to change the rendering such that the lower end of the "cases" brace looks as if there were no underbraces. Is that possible? I already tried \smash and negative ...
6
votes
2answers
10k views

Can't generate vertical space between tables

I realize this is probably a really simple issue but I'm a complete beginner. I am auto-generating code very similar to the LaTeX code below. However no matter what I do I can't get space between the ...
14
votes
1answer
1k views

What does 'missing \@ before…' error mean in vim?

I get this strange behavior when I have capitals before a period, like so 1 \documentclass{article} 2 \begin{document} >> 3 Another possible protein blah blah blah from GRIP/ABP. Blah ...
4
votes
1answer
1k views

reduce vspace after section header

I am currently using the the scrartcl document class and glossaries for acronyms: \documentclass[12pt,a4paper,headsepline,notitlepage,parskip=half]{scrartcl} ...
4
votes
1answer
274 views

How to typeset definitions with several paragraphs in the KOMA classes

The KOMA classes do not use vertical inter-paragraph spacing with some good arguments (see page 50 of the scrguide). I defined an environment for definitions with the amsthm package using their ...
4
votes
1answer
5k views

Empty line after a tabular environment

I would like to have a little table without caption within my text. There should be, however, some space between the preceeding and following lines of text. The following snippet ...
11
votes
4answers
2k views

Displaying pinyin over Chinese characters, without impacting word spacing

I want to display pinyin (romanized form) over Chinese characters. However, the two methods I know (using stackrel or tabular both change the spacing between characters. This demonstrates the problem: ...
11
votes
5answers
14k views

Spacing around table and figure environments

I've got table and figure environments, some placed "here" with h and some arranged automatically. But all together I don't like the spacing above and below the figure and table environments. I ...
7
votes
1answer
334 views

Temporarily changing the spacing between Chinese text and numerals

When mixing Chinese text and non-math mode numbers together within a sentence, narrow numbers are given the same amount of space as characters: \documentclass{article} \usepackage{ctexcap} ...
7
votes
2answers
579 views

How to use non-breaking space (~) with \usepackage[spanish]{babel}?

I just realized that when I \usepackage[spanish]{babel} I can no longer use ~ as a non-breaking space before n or N. MWE: \documentclass{article} \usepackage[spanish,notilde]{babel} ...
1
vote
0answers
115 views

Print programs with its proper syntax by minted [closed]

I have post a question several weeks ago: Print programs with its proper syntax, and I finally decided to use the package minted. I summarize a little bit my needs here: the language I define has its ...
6
votes
1answer
685 views

Include hspace in header/footer in fancyhdr? [duplicate]

Possible Duplicate: How can I force a \hspace at the beginning of a line? I am trying to put a postal address in the footer. I want the first line to be "Address: Address line1", then the ...
14
votes
2answers
237 views

Extra space behind month for \today with \usepackage[norsk]{babel} in December

When using \today and \usepackage[norsk]{babel} (babel <v3.8l>) in December there is an extra space behind the month name. How do I get around this? \documentclass{article} ...
6
votes
1answer
473 views

hspace except at the beginning of a line

I am using the footmisc package: \usepackage[perpage,para]{footmisc} Every time I make a footnote, I use my own podnote command: \newcommand{\podnote}[1]{\footnote{\hspace{-1ex}#1}} However, I ...
1
vote
2answers
229 views

Displaying HTML, Asian fonts, fonttype and tabs

How do I get LaTeX to just print the following lines as plain text? The angled brackets are messed up when I compile the .tex file into .ps the main texts are bounded by <p>...</p> within ...
14
votes
3answers
866 views

Why don't I get any space after \thepage?

The code \thepage of yields the output 3of. I can fix it by writing \thepage~of, but what causes this in the first place? I can't imagine when it would be useful.
5
votes
1answer
572 views

Spacing using minipage in theorem environment (ntheorem)

Consider the following example and notice the different vertical spacings between the theorem caption and the text. Is there a way to get the same spacing when using minipage as in the case of normal ...
2
votes
1answer
3k views

How can I customize 'headsep' attribute in the geometry package so that I can set it for individual pages?

I use the \geometry package for formatting my CV, and I know (from How to remove vertical space between header and body of text?) that I can use the headsep attribute to customize the spacing between ...
8
votes
3answers
5k views

Format spacing for correlation table (any statistical table)

I'm attempting to format a correlation table for publication but can't get the spacing right when I include significance stars. I'd like to have minimal space between columns. The space between ...
3
votes
1answer
280 views

How do I get rid of this line spacing after multicols?

How do I get rid of the extra spacing after multicols? \documentclass{article} \usepackage{amsmath} \usepackage{anysize} \usepackage{lipsum} \usepackage{multicol} \begin{document} ...
9
votes
2answers
2k 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 ...
0
votes
1answer
618 views

Vertical space between headlines, tables, images and the following text too large

Is there a way to globally set a value (or minimum and maximum value) for the vertical space between, for instance, headlines, tables, images and the like and the following text. Right now I have ...
4
votes
2answers
4k views

Getting front page title in the middle of the page when using \thispagestyle{empty}

For front page of the document I'm using \thispagestyle{empty}. But this command put the title on the very first row. I want to put the title in the middle to the page. I tried with \vspace{50mm} but ...
9
votes
2answers
8k views

Spacing before and after with \newtheoremstyle

I want to define my own theorem style for examples. I want them to be numbered the same way as theorems (so Example 2.4 follows Theorem 2.3); I want them to be formatted exactly the same as theorems ...
3
votes
2answers
1k views

Horizontal spacing

I want to do some horizontal spacing. I tried with \hspace{6cm} but it doesn't work, and I don't know why. I also tried \\[.6cm] but since I want to make space between two tables, it doesn't work ...
14
votes
5answers
23k views

How can I force a \hspace at the beginning of a line?

My code is this: \setlength{\parindent}{0ex} \texttt{ x\hspace{1ex}\hspace{1ex}\hspace{1ex}y \newline \hspace{1ex}\hspace{1ex}\hspace{1ex}\hspace{1ex}y } What I'd like to see is: x y y ...
4
votes
1answer
561 views

\addvspace after a titlesec heading

So, I'm trying to make an environment that is always padded above and below by a certain vertical space, no more and no less (unless the previous or following elements require even more space). My ...
16
votes
2answers
13k views

Normal subgroups

To typeset that H is a normal subgroup of G, I would use H\unlhd G. However, the result doesn't satisfy myself, since the G seems too close to the triangle: Adding a space \ makes "too much ...
3
votes
1answer
605 views

Belowskip on minted?

Is it possible to remove the spacing below the code of a minted environment? When I have a block of code underneath another it doesn't produce any spacing (which is what I want), but it does for text ...
9
votes
1answer
508 views

How can I avoid whitespace after a macro which takes arguments?

I have a macro that (simplified) is defined like this: \newcommand{\mymacro}[1]{ %use #1 \par\noindent% } I'd like to be able to use it like \mymacro{Arg 1} Beginning of paragraph ...
9
votes
1answer
3k views

Spurious space above align environment at top of page/minipage

It seems that the align environment adds additional vertical space if it starts at the top of a page or minipage. Below are two pages, and two minipages (on Page 1), where the first page/minipage has ...
1
vote
1answer
3k views

Subcolumns with multicol and the exam class

I'm using the multicol package with the exam class to create 2 sub-columns within a multicols environment for checkbox answers when the answers are short and one word. There is a significant amount of ...
4
votes
2answers
155 views

Recreate the conditions of the document preamble while loading a file in the document body

While in the document body I like to temporary switch back to the mode active in the LaTeX preamble, i.e. spaces between macros should be ignored. I don't mind whether I get the ! LaTeX Error: Missing ...
3
votes
2answers
1k views

title of sub plots with ybar groupplots

I tried to use groupplots to arrange several bar plots but the titles are drawn on top of the axis labels of the plot above. Am I doing something wrong here? \documentclass{article} ...
11
votes
1answer
981 views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} ...
5
votes
2answers
9k views

How to reduce spacing in equations?

I want to typeset short equations (variable = value) saving space. Is there a global parameter which allows to reduce the space between operators and operands in math mode? I found out, that there ...
3
votes
2answers
786 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 ...
4
votes
2answers
3k views

Writing in an invisible table

I'd like to list a few phrases in one language, and their meanings in another language. I thought about doing it like that: Sentence 1 ---------- Translation 1 Longer Sentence ----- Longer ...
8
votes
2answers
1k views

Four Language Parallel Column Book

I am trying to format a four column parallel text in four different languages to display on two pages with two columns per page. I have tried using ledpar and parallels but I cannot get it to work. ...
10
votes
3answers
22k views

Random unwanted space between paragraphs

I generate LaTeX code from XML for a book I'm writing, using pdflatex (Version 3.1415926-1.40.10 (Web2C 2009)) and memoir. Very infrequently, there appears to be an extra blank line between two ...
3
votes
1answer
598 views

Set width of LaTeX float # in List of X

Using the LaTeX float package, I've created a new float: \newfloat{schema}{htb}{los}[chapter] \floatname{schema}{{Schema}} The list of schemas at the beginning of my document is created with the ...
13
votes
1answer
2k views

How can I inject the proper amount of vertical space between captions and figures?

In my source document, I have an image and a code listing, separated by some text. When I generate PDF using pdflatex, the image is just above the listing, and it looks like the caption for the image ...
4
votes
1answer
793 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 ...
8
votes
1answer
1k views

TikZ: vertically aligning text in nodeparts

I can't seem to vertically align text in different nodeparts of the same node. This MWE \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes} \begin{document} \begin{tikzpicture} ...