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

1
vote
1answer
397 views

Using \jot crashes \intertext’s spacing

As mentioned in Intertext vertical spacing, there seems to be some inconsistencies in spacing around AMS’ macro \intertext, even without changing the length of \jot. But if I’m using a longer \jot to ...
5
votes
2answers
269 views

Adjust settings that determine when sections should start on a new page/column

I'm using titlesec in a two column environment, and sometimes my sections start on a new page or the second column, and leave blocks of white space at the bottom of the previous page/column. I am ...
3
votes
3answers
761 views

Reduce Space Between Characters in New Command

I'm not satisfied with the new command I've made. My code: \newcommand{\ps}[2]{\mbox{P}_{#1}\left(#2\right)} $\ps{Y}{y}$ %example My problem is that there's too much space between the subscripted Y ...
16
votes
2answers
1k views

How to change the interword spacing?

I'm trying to enlarge the interword spacing, because with ITC Kabel's default spacing it's sometimes hard to decide where is the space between two words. I read the manual of the microtype package, ...
7
votes
1answer
1k views

Titlesec: remove space after empty margin section

I'm using titlesec to assign some custom formatting to my sections. In particular I want to use margin \section's, so that the title section is typeset on the left margin, and the text of that section ...
2
votes
1answer
124 views

Overhead captions with short final line in combination with a relativly thin float look unpleasant

I'm using the caption package and have a relatively small table with a caption above with a short final line. In the the case of the equation environment, it will spot this and move the equation up if ...
3
votes
1answer
309 views

Add vertical spacing between epigraphs

I am writing a thesis and would like to add some vertical spacing between epigraphs inside a \begin{epigraphs} environment at the start of my chapters. MWE: \documentclass{report} ...
25
votes
1answer
3k views

How can I put more space between bibliography entries (biblatex)

My bibliography (made with biblatex) has all items close to each other. I would like to introduce some space between them, e.g. half a line. How can I do this?
4
votes
1answer
76 views

Removing whitespaces caused by separate source files

I have an article which consists of multiple files, a main file with following section includes: \include{Introduction} \include{ProposedProtocol} \include{Comparison} \include{FutureWork} ...
3
votes
1answer
544 views

I had a problem with spacing of tabular columns combined with \multicolumn. I found an inelegant solution. Perhaps someone knows of a better one?

Consider a table with several columns. Three consecutive columns are thin. These three thin columns have a long \multicolumn{c}{3}{??} heading over them. If nothing is done to specify how these should ...
3
votes
2answers
474 views

why does \hspace{0pt} produce a space at the beginning of the paragraph together with \marginpar?

Similar situation as in Align marginpar with beginning of paragraph. Basically I need to align the margin note to the beginning of the paragraph, and I'm putting the \marginpar command before the ...
3
votes
2answers
3k views

Underlining a whole line with a short text in its beginning

I would like to underline a whole line with a single word in the beginning of the line. I tried \underline{\textsc{HOMEWORK}\hrulefill}} but this underlines only the word ``HOMEWORK'', leaving the ...
6
votes
3answers
668 views

What is an elegant way to insert a skip between two paragraphs?

From time to time I want to insert a skip between two specific paragraphs (at the end of a thought). My first shot was to simply insert a \vspace but the indentation still bothered me. So what I came ...
1
vote
1answer
176 views

Why chapter label below the section label on new page even if by setting same spacing before title (use titlesec package)?

\documentclass{book} \usepackage[margin=0pt,papersize={50pt,70pt}]{geometry} \usepackage{titlesec} \titleformat{\chapter}{\Huge\bfseries}{}{0em}{} \titleformat{\section}{\Huge\bfseries}{}{0em}{} ...
6
votes
2answers
136 views

Start a line at X column

How can I write a line of text at a given column? I'm using a monospace font and I have interest in how can I can specify a column number to start from there. For example: Line started at column zero ...
7
votes
3answers
2k views

Extra space above boxed multi-line equation

Well, this question is not new. It was asked back in 2007 in texhax, and answered at the same time. However, I couldn't apply the patch as mentioned in the answer, so I decided to ask it here. ...
7
votes
1answer
139 views

Can maths adornments know the “type” of their contents?

By "maths adornments" I mean things like \widehat (from the ams) and their ilk. Perhaps the following best illustrates what I mean: Code to reproduce: \documentclass{standalone} ...
5
votes
2answers
666 views

How can I set columns=fixed for lstinline globally?

I typeset my listings using listings with a proportional font. This looks good for the lstlisting environment. However, when I use \lstinline|code|, the spacing reverts to variable-width. I would like ...
25
votes
4answers
10k views

Prevent line breaking in inline math, but allow flexible spacing

How can I easily tell Latex to prevent line-breaks inside a part of an inline formula, without affecting inter-word spacing? Writing something like $ab(c+d)$ in Latex is bad: Latex might put a line ...
7
votes
4answers
612 views

Uneven display skips

Here is yet another attempt at this question. I've narrowed down a MWE: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath,standard,thmmarks]{ntheorem} \begin{document} Integer ...
3
votes
2answers
803 views

How to avoid section title at the top of the page overlap the section title in the page itself (screenshot attached)

I am having a problem where a longer \section title overlaps itself. I am using the memoir class and it's printed both at the beginning of the page and in the page itself (see screenshot), and in my ...
22
votes
1answer
3k views

How can I adjust the horizontal spacing between legend entries in PGFPlots?

I am using legend columns=-1 to make a horizontal legend. However, the distance between the individual legend entries is too small for my taste. Is there a straightforward way to increase the ...
7
votes
1answer
1k views

Second page of list of figures: spacing too large

I have a list of figures which spans multiple pages. The first page is looking just fine but when it continues on to the next page, the space between the lines is more than tripled compared to the ...
12
votes
2answers
1k views

Space inserted after “\input” call

I've noticed a significant issue with the \input command, it seems. For some reason, I can't seem to prevent it from adding a space after it reads its input. Even if there is no newlines or spaces ...
2
votes
1answer
1k views

How to change the height of a (multi)row in tabular with math

I have the following code: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[htbp] \centering \begin{tabular}{lcccl} \textbf{Irland} & - & ...
6
votes
3answers
225 views

Is it possible to define the word stretch? [duplicate]

Possible Duplicate: How to change the interword spacing? i would like to know if is possible to set the space between the words like i can do with the lines with \baselinestretch?
5
votes
2answers
3k views

How to eliminate excessive vertical space in wrapfigure?

Compiling the following document using xelatex results in unwanted vertical space above the wrapfigure caption. Removing either the inclusion of the polyglossia package or \centercaption usage ...
13
votes
1answer
4k views

Problem with \newcommand, no space after calling new command in the compiled text [duplicate]

Possible Duplicate: \newcommand and spacing In my latex document I have defined a new command to force a consistency in naming of a product I talk in my document: ...
11
votes
1answer
498 views

Typographic conventions for free space between subfigures?

I'm trying to define a "standard template" for drawing figures for my Ph. D. thesis. I would design large figures to fill the whole textwidth. Sometimes, however I have smaller figure, so that 2 ...
43
votes
2answers
4k views

\newcommand and spacing

How can I define my own shorthand command, but making sure that the spacing afterwards is correct? \newcommand{\abc}{\textsc{abc}} produces 'ABC,' but has the problem 'ABCmoretexthere' (i.e. no space ...
5
votes
1answer
1k views

French typography: space before percent sign

I have come across another specific typography rule in French: one must put a non-breaking space before the percentage sign (see this handy cheat-sheet). This is also true for colons, semi-colons, ...
0
votes
0answers
103 views

What is the command for producing whitespace equal to the length of some string? [duplicate]

Possible Duplicate: Create empty box sized according to imaginary content I remember that there is some command for producing whitespace exactly equal to the length of the argument (a text ...
8
votes
4answers
998 views

Annoying space before the first item in an enumeration which starts a theorem

Consider the following example: \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} ...
17
votes
3answers
17k views

Reduce spacing in bibliography using biblatex

How can you control (in my case reduce) the spacing of the bibliography in biblatex? I used to use \begin{spacing}{0.9} \bibliographystyle{plain} \bibliography{refs} \end{spacing} and ...
6
votes
2answers
356 views

Vertical Equivalent of \hfill

Is there an equivalent of \hfill for vertical spacing?
2
votes
1answer
246 views

How can I build a box with multiple lines of content with two anchors?

I'm trying to create a macro \AST (or an environment, if that helps) that will let me typeset abstract syntax trees, in the following way: \AST{A}{\AST{B}{C\comma D}\comma E\comma \AST{F}{G}} should ...
4
votes
1answer
590 views

How to write spaces between Korean words with XeCJK?

I'm just trying to get LaTeX output spaces between Korean words. At the moment all it can do is to give long chains of syllables just like in Chinese or in Japanese, ignoring all the spaces I set. ...
14
votes
3answers
824 views

How can I get Sperrsatz?

Sperrsatz is a special kind of emphasis often used in combination with blackletter fonts. A word in Sperrsatz has 0.125 em spaces between its characters, but some ligatures are preserved. For example: ...
2
votes
2answers
354 views

How to automatically separate words in inference from semantic package?

I'm trying to use inference from semantic package to describe static semantics of a language. I would like to separate nonterminals in inference rules with spaces without inserting them by hand. Is ...
4
votes
2answers
3k views

Reduce footer space

I am having trouble reducing the footer space. I have a list of contents that is printing below the page number appearing in the footer. How do I solve this issue? I tried setting the footskip length ...
10
votes
3answers
13k views

Global setting of spacing between items in itemize environment for beamer

I'd like to modify the spacing between items in the itemize environment. This post shows how to modify a specific itemize environment (\addtolength{\itemsep}{0.5\baselineskip}). However, I'd like to ...
4
votes
1answer
7k views

Paragraph spacer: blank line and no indent, instead of indent [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I would like to have my paragraphs separated by a blank line, ...
3
votes
2answers
526 views

theorem-like environments: italic correction and endmark placement

How would you define theorem-like environments so that: (1) theorems are set in italics with italic correction and (2) proof endmarks occur directly after text?
2
votes
1answer
3k views

bibliography author initial spacing

I am using the IEEE LaTeX bibliography style, and I want to make a small change to the format of authors' names. This is not actually for submission to the IEEE so changing the format won't be a ...
2
votes
1answer
337 views

Spacing before align environment

I am working with the exam class, and need to align some solutions. However, I would like to move the align environment up, so that it is on the same line as the question/part number. Is this ...
1
vote
0answers
232 views

Get remaining height on page (and scale image to it) [duplicate]

Possible Duplicate: How to define a figure size so that is consume the rest of a page? Hi all, I've seen How to compute the remaining space on the current page - but that doesn't really ...
2
votes
1answer
141 views

Increase listings spacing through the package listings or use figure instead?

This is more a conceptional question on how to use LaTeX in the right way. So far I have striven to customize only those things in LaTeX which are supposed to be without messing to much with print ...
4
votes
1answer
621 views

Figure and table in one float

I was trying to put a figure directly above a table in a TeX document, which I achieved by putting the command \includegraphics directly after \begin{table}. This, however, leaves no space between the ...
4
votes
1answer
4k views

Removing vertical space before and after tabbing environment

When I write \begin{tabbing} \hspace{4in}\= \kill % set up two tab positions {\bf University }, {\it City, NW} \> PhD, Physics (2007-2011)\\ \end{tabbing} Methodology and numerical ...
16
votes
1answer
9k views

How can the margins around a table set to 0pt?

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for ...