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

18
votes
3answers
817 views

How to replace all pictures by white rectangles?

I have a long document (800 pages) with lots of pictures (300 pictures). I have to produce a version of this document without the pictures (for copyright reasons). The solution I have found so far is ...
12
votes
5answers
3k views

Ellipsis with a period/fullstop

While quoting how ellipsis should be used if few sentences are omitted in between. (ommissions are not clauses or words or phrases, but sentences). For example if there is a passage like: This is a ...
16
votes
1answer
334 views

What does `\ ` exactly do?

In the The Not So Short Introduction to LATEX2e - Version 5.01, April 06, 2011 it is suggested that: A backslash in front of a space generates a space that will not be enlarged. (page 39) It ...
42
votes
3answers
16k views

What is the difference between \vskip and \vspace?

I found myself writing: \vspace 1 \baselineskip and then when it's not compiling changing without thinking to: \vskip 1 \baselineskip but what is the difference? Perhaps knowing this will make ...
3
votes
1answer
627 views

Biblatex[-chicago, authordate] footnote on first cite. Extra space put in parencite

Following http://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/ I made the following minimal example, that put the full citation in a margin note for the first time, when using ...
6
votes
1answer
2k views

titlesec: Vertical space that I don't want

Again me, still trying to emulate a very specific layout... I used the titlesec package to define chapter and section titles, and am very pleased with the outcome... except of some ponts' worth of ...
23
votes
2answers
8k views

How to modify spacing around quotation environment?

I am almost there in my quest to reproduce the rather compact layout of the book I'm translating... one thing to go, though: I successfully used the enumitem package to modify the vertical and ...
46
votes
4answers
47k views

Shift title and author text up?

What is the best way to shift the title text 'up' in a LaTeX document compiled with pdftex? When I do this: \documentclass[12pt,letterpaper, onecolumn]{article} \setlength{\topmargin}{0in} ...
1
vote
3answers
2k views

Vertical space before horizontal line

I have defined an exercise environment which ends with a horizontal rule. I want to have some vertical space between the end of the environment text and the rule. When I try to insert that, the ...
3
votes
1answer
316 views

Controlling text position

I'm writing a document and I want to put in a contact section with an e-mail address and a phone number. To signify that, I'm using wasysym and bbding for \phone and \Envelope symbols respectively. ...
14
votes
2answers
10k views

How to globally adjust horizontal spacing in table? @{length}

I want to adjust the horizontal spacing between vertical lines and the cell content in a tabular table. I could do it for each column with @{length}l@{length} (e. g. with \,), but there must be a ...
3
votes
2answers
2k views

How to insert a space after pifont symbol?

I've inserted a "cross" (\ding{55}) from package pifont in a text but I can't insert a space after it, Latex ignores the space from the source code. Does anyone have a suggestion? Edit: There was ...
4
votes
2answers
865 views

Vertical spacing issue on box

I'm trying to get the resheading box to be shorter in vertical space. Right now it appears that I have about 2 cm vertical space on the top and bottom of the text. How can I fix this? Everything I ...
6
votes
1answer
723 views

how to remove additional space around \underbrace and justify the text under it

How do I remove the additional space around \underbrace justify the text under it, if the latter is longer than the text above it? To illustrate the issue: \documentclass{article} ...
1
vote
1answer
890 views

How to lower the bibliography's title by 3.3cm? And change its alignment?

I'm running a pretty hacked-up template for my thesis, and the bibliography chapter's title is now too high. (This is due to various changes to the 'normal' chapter titles and their alignment/spacing, ...
6
votes
1answer
1k views

How to make a \newcommand that acts like \dim?

The \dim command is good at deciding how to space things following it: for example, both $\dim M$ and $\dim_A M$ look right (the subscript immediately follows the dim, whereas the non-subscripted ...
6
votes
3answers
584 views

Uneven vertical spacing displaymath

I would like to ask you why we have uneven vertical skips between the first two and last two vectors, coming from the source: \documentclass{article} \begin{document} \[(a,b,c,d,e,f,g,h)\] ...
13
votes
2answers
23k views

Extra space between number and variable in math mode

I find that if I typeset $3 q$, I find the 3 and the q a bit too close to each other. I know that I can manually add a thin space by typing: $3 \, q$. However, I was wondering if there was a way to ...
6
votes
4answers
4k views

Adding vertical space in a multi-line equation while using IEEEeqnarray

how can I add vertical space between lines in an equation while using IEEEeqnarray?
3
votes
1answer
385 views

Spaces between Hebrew letters

I am writing in Hebrew, but my output doesn't look so good because the spaces between thew Hebrew words are too big. They are somehow bigger than usual, and also the font itself, just doesn't look ...
6
votes
3answers
979 views

multiletter names in lambda calculus

First, I am new to TeX and use it only for mathematical expressions. IMHO the most striking feature is that TeX does not respect whitespaces. In lambda calculus, application is denoted by ...
30
votes
2answers
1k views

Ensure minimal length of last line

This question led to a new feature in a package: impnattypo One rule in French typography is that the last line of a paragraph should not be shorter than the double of the indentation of the ...
3
votes
2answers
586 views

Adjust vspace between multiple align environments

I am using some independant align environments directly one after the other one and it produces some nasty space between them. Is there any workaround to shrink the size of the space a little bit? ...
16
votes
2answers
10k views

Too much space at the top of a beamer block when using multilined math environment

I would like to place two math lines in a beamer block, as two separately centered lines. I know that I could do this using two distinct equation environments, but it would be nicer to use a single ...
1
vote
1answer
186 views

Is there a “proper” way to fix alignment of text in a \framebox?

The \framebox command aligns its contents vertically centered, but this has a tendency to produce results that are extremely visually displeasing. Case in point: \documentclass{article} ...
6
votes
2answers
343 views

Spacing of brackets with unicode-math

Consider this example: \documentclass{article} \usepackage{unicode-math} \setmainfont{Linux Libertine O} \setmathfont{XITS Math} \setmathfont[range=\mathit/{latin,Latin,greek,Greek,num}]{Linux ...
4
votes
1answer
2k views

amsthm: how to reduce the vertical spacing between theorem and proof?

I'm using the amsthm package to layout theorems and their proofs. How can I reduce the vertical spacing between the last line of the theorem statement and the first line of the proof? BTW, I tried ...
6
votes
5answers
6k views

Aligning pseudocode in LaTeX

My algorithms class is following strict guidelines for pseudocode. Let's say I have something like the following: y = 0 for i = n downto 0 y = a_i + x * y I want this to appear left-aligned on ...
0
votes
1answer
995 views

How to change columns distance? [duplicate]

Possible Duplicate: Setting the column gap in a twocolumn document How can I change the distance of two columns in a two-column document?
5
votes
3answers
5k views

How can I change the distance between abstract and section 1?

My LaTeX format is as follows: Abstract: Abstract goes here. Section 1: It should be noted that my abstract is one column and sections are two-column. Abstract and Section 1 are very close ...
7
votes
1answer
4k views

Problem copying text from pdf - spaces being stripped

I have the following minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} é canção \end{document} I need to use the utf8 argument ...
5
votes
2answers
694 views

Spaces in memoir's section headings

I need chapter and section headings without numbers and with any leading spaces ignored (the document is generated by a program - dblatex). Here is an example: \documentclass[12pt]{memoir} ...
1
vote
2answers
524 views

baseline of custom marks in pgfplots

I'm trying to plot some intervals with pgfplots and wanted to use a custom mark for upper and lower bound. I planned doing this by using a "V" for the upper bound and a "^" for the lower bound ...
3
votes
2answers
1k views

Package Acronym - margin problem with long abbreviations in glossary

Is there a way to increase the margin between abbreviation and explanation in the acronym glossary? I've got some long abbreviations that are bigger than the standard margin and mess up the layout. ...
1
vote
3answers
4k views

Margins in \framebox

I have the following code: \documentclass{article} \usepackage{tikz} \begin{document} \framebox{\begin{tikzpicture}[color=black, line width=0.4mm] \draw (0,0) rectangle (5mm,5mm); ...
7
votes
1answer
3k views

Extra intervals before and after flushright environment

I am preparing questionnaire template in LaTeX. I have the following code (simplified): \documentclass{article} \begin{document} \framebox{\parbox{4cm}{ \textbf{3. How often do you have a ...
3
votes
2answers
2k views

Different \marginparsep for odd and even pages?

What is the most robust way of increase the effective \marginparsep on even pages only? I have been playing with outdented lists, section heads etc. which leads to an issue with margin notes: I need ...
4
votes
1answer
678 views

\addcontentsline adds an unwanted indent

Prologue I'm using the exercise package and trying to harmonize its layout with memoir. This question is quite involved to illustrate, so I'll break it up into several Acts. I'll present the ...
1
vote
1answer
4k views

subfloats vspace between its subcaption

How can I decrease the vspace between a subfloat and its caption? I have already tried this: \documentclass[fleqn,10pt,twoside,a4paper]{report} \usepackage[small,sc,bf,nooneline,skip=5pt]{caption} % ...
2
votes
0answers
297 views

How do I remove the occasional vertical space at the top of the page? [closed]

I have a one-inch top margin, which works fine. BUT, if I have a page that's particularly empty (because LaTeX decides not to start a new section toward the bottom of the page), all the text on the ...
3
votes
3answers
2k views

Too much space between full paragraph and subequations env

I have a document using subequations and the parskip package. If the paragraph before a subequations environment is completely filled up to the last line, then additional vertical whitespace is ...
12
votes
3answers
2k views

Implementing a sort of “tightened frenchspacing”

By default, (La)TeX adds extra space between sentences. The exact rules are in the TeXbook, a summary by TH. can be found here. What follows is is my "executive summary": After any period (or ...
4
votes
1answer
187 views

How do I create a table that meets the following specifications?

Following this question: I want to create an environment for a table with the following specifications: The left column is a vertically centered rotated text, saying Övning. The right column contains ...
4
votes
1answer
1k views

Table paragraph spacing

In the preamble of my document, I'm using \usepackage[parfill]{parskip} to make a new line between each paragraph. But when I try to write paragraphs inside a table: ...
1
vote
2answers
334 views

Misaligned paragraph (after subsubsection)

I'm new to LaTeX & LyX. I find that in LyX, when I have a "subsubsection" then "standard" block of text, it looks like where the immediate line after the subsubsection is aligned with the ...
52
votes
1answer
56k views

How to add extra spaces between rows in tabular environment?

I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example, \begin{tabular}{c c} $f^{(n)}(x)$ & $f^{(n)}(0)$ \\ ...
2
votes
1answer
645 views

Local \theorempreskipamount and \theorempostskipamount of ntheorem

It seems that \theorempreskipamount and \theorempostskipamount cannot be set locally meaning that they will keep the same value for all the defined environments even though the user may wish different ...
47
votes
1answer
44k views

How to change the spacing between figures/tables and text?

I was wondering if there is any way to lessen the spaces between figures and text. In my paper I have a lot of figures (graphics) and it is inconvenient for me to have default (large) spaces between ...
4
votes
2answers
967 views

\index causing spurious whitespace

I'm having a problem with the \index command causing unwanted whitespace: \documentclass[a4paper,11pt,oneside]{book} \usepackage{makeidx} \makeindex \def \nothing #1{} \begin{document} \noindent ...
12
votes
2answers
3k views

How to change paragraph separation to indent within blockquote (csquotes)

I am using the package csquotes to generate a blockquote. csquotes inserts what looks like half a blank line between the paragraphs within the quote. I would prefer to have no vertical space but an ...