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

8
votes
2answers
8k 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
4k 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, ...
4
votes
1answer
2k 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
2k 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} ...
2
votes
2answers
408 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} ...
1
vote
2answers
4k 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
1k 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
398 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} ...
11
votes
4answers
5k 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. ...
5
votes
2answers
4k views

Vertical space between horizontal lines

I have defined a macro for 2 closely spaced horizontal lines, \newcommand{\myline}{\par\noindent% \rule{\linewidth}{1.5pt} \\[-0.80\baselineskip]% \rule{\linewidth}{0.8pt}} Now I noticed that when ...
3
votes
1answer
2k views

Indentation inside a new environment

I want to have my text lines in a new environment indented from the left, as happens within \begin{minipage}{...} \end{minipage} The reason not to use a minipage inside the environment definition ...
15
votes
2answers
372 views

How does TeX know how to space different typefaces?

My understanding of how TeX makes things look so nice is that it goes over each paragraph and spaces each letter/word to look 'right' based on how dark it is, how wide it is, and the characteristics ...
5
votes
1answer
3k views

Controlling vertical space within a “tabbing” environment

I'm using the "tabbing" environment to typeset algorithms. Because I'm using math formulas within the algorithms (yes I know about specific packages to do this), the vertical space needs a bit of ...
4
votes
1answer
2k views

Increase indentation of a paragraph

I am using the moderncv package for making my resume however I am new to LaTeX, so please forgive me if this has been repeated (I did search) or is too stupid! How do I increase the indent of a ...
6
votes
1answer
828 views

How to remove the extra line?

I use this command to show the headword in dictionary. \newcommand{\entry}[2]{\hangpara{2em}{1}\textsf{\textbf{#1}}\ #2 \markboth{#1}{#1}\par}\nopagebreak[4] When the headword is exactly as long as ...
9
votes
2answers
696 views

Right square bracket at the end of an item label adds space before it

If you use a right square bracket at the end of an item label, then space is added before it. The problem occurs in all the standard list environments (itemize, enumerate and description). How can ...
1
vote
1answer
674 views

paragraph design and single lines

By default LaTeX will not indent the first paragraph after a section heading indent every following paragraph not insert a space between paragraphs \section{heading} first paragraph which is not ...
18
votes
3answers
648 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
2k 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
308 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 ...
31
votes
1answer
12k views

What is the difference between \vskip and \vspace?

I found myself writing: \vspace 1 \baselineskip and then when not compiling changing without thinking to: \vskip 1 \baselineskip but what is the difference? Perhaps knowing this will make me ...
3
votes
1answer
563 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 ...
22
votes
2answers
6k 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 ...
31
votes
4answers
27k 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
288 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. ...
9
votes
2answers
7k 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
1k 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
684 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
610 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
733 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, ...
5
votes
1answer
713 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
465 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
14k 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 ...
5
votes
4answers
2k 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
312 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
803 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 ...
29
votes
2answers
837 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
521 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? ...
13
votes
2answers
6k 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
168 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
295 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
5k 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
907 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?
3
votes
3answers
3k 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
3k 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
600 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
427 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 ...