183

I would like to typeset a draft of my document with double linespacing so that my collaborators have space to write in their edits (with a pen). How do I do it?

135

The setspace package does it for you, but it turns doublespacing off within footnotes and floats like figure and table captions. That's usually desired.

But if you don't want to use setspace, perhaps because of the mentioned reason, you could use the command \linespread, for instance:

\linespread{1.5}

A package may be preferred over such a command though.

  • 2
    \linespread is also useful for fonts with large x-height (large lower case letters) to avoid the visual appearance of cramped pages. E.g. when using the Palatino font (\usepackage{mathpazo}), \linespread{1.05} is appropriate. – lockstep Aug 8 '10 at 22:59
  • 9
    Why would a package be preferred over \linespread? – brita_ Jan 22 '14 at 21:02
  • 9
    According to this: tex.ac.uk/cgi-bin/texfaq2html?label=linespace "setspace switches off double-spacing at places where even the most die-hard official would doubt its utility (footnotes, figure captions, and so on); it’s very difficult to do this consistently if you’re manipulating \baselinestretch yourself." – brita_ Jan 23 '14 at 0:32
  • 2
    Also, as explained in tex.stackexchange.com/a/30114/7262, setspace package adjusts the factors correctly for 10pt/11pt/12pt documents, which would be messier and easy forget if you use \linespread directly. – Beni Cherniavsky-Paskin Nov 4 '15 at 7:53
175

Simple: put

\usepackage{setspace}
\doublespacing
% or:
%\onehalfspacing

into your preamble. (TeX-FAQ advises for setspace and against doublespace.)

  • 28
    Provide additionally the option doublespacing: \usepackage[doublespacing]{setspace}. – Stefan Kottwitz Aug 2 '10 at 17:01
  • 1
    again, one needs to make sure he/she knows what he/she meant by "double linespacing", doublespacing, or anything that is called slightly different and means different things, or called identical and means different things, and read this topic on doublespacing. – YIchun Nov 1 '11 at 7:01
  • 6
    If somebody uses the memoir class, use \DisemulatePackage{setspace} before \usepackage{setspace}. Taken from: greengabbro.net/2009/02/15/… – Konstantinos May 15 '15 at 16:39
  • I found this to be the best answer. Here also a link to wikibooks on the topic of line spacing: en.wikibooks.org/wiki/LaTeX/Text_Formatting#Line_Spacing – tommy.carstensen Nov 16 '17 at 16:28
18

The simplest possible way is probably by using the plain TeX macro \openup

E.g. if you want double line spacing, add a single line-height to the line spacing (1em) using:

\openup 1em

(don't use any braces around the argument, the macro takes its argument as if you had written \openup=1em, i.e. an assignment of a dimension).j

Following that macro's invocation all lines will have a single line's height extra to separate them, later on you can revert this effect by giving the negative argument:

\openup -1em

This macro works by increasing (\advance) the three parameters (\lineskip, \baselineskip and \lineskiplimit) that govern line spacing by the given amount. It's defined in plain.tex if you want to have a look at it.

  • 1
    Or you can write \baselineskip=2\baselineskip directly – Mafra Jul 30 '11 at 20:55
  • So for small portions of text, say a single table field, this method is ok and setspace would be overkill, I guess. – Bananguin Jul 4 '16 at 12:47
1

Maybe you want to try

\setstretch{2} 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.