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?
5 Answers
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– lockstep2010-08-08 22:59:20 +00:00Commented Aug 8, 2010 at 22:59
-
14Why would a package be preferred over
\linespread?brita_– brita_2014-01-22 21:02:49 +00:00Commented Jan 22, 2014 at 21:02 -
14According 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
\baselinestretchyourself."brita_– brita_2014-01-23 00:32:34 +00:00Commented Jan 23, 2014 at 0:32 -
2Also, as explained in tex.stackexchange.com/a/30114/7262,
setspacepackage adjusts the factors correctly for 10pt/11pt/12pt documents, which would be messier and easy forget if you use\linespreaddirectly.Beni Cherniavsky-Paskin– Beni Cherniavsky-Paskin2015-11-04 07:53:37 +00:00Commented Nov 4, 2015 at 7:53 -
In my case,
\linespreadworked for some elements, but to change spacing in the document body I had to use\linespacing.Waldir Leoncio– Waldir Leoncio2019-08-25 10:21:28 +00:00Commented Aug 25, 2019 at 10:21
Simple: put
\usepackage{setspace}
\doublespacing
% or:
%\onehalfspacing
into your preamble. (TeX-FAQ advises for setspace and against doublespace.)
-
38Provide additionally the option doublespacing:
\usepackage[doublespacing]{setspace}.2010-08-02 17:01:43 +00:00Commented Aug 2, 2010 at 17:01 -
3again, 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– YIchun2011-11-01 07:01:07 +00:00Commented Nov 1, 2011 at 7:01
-
7If somebody uses the
memoirclass, use\DisemulatePackage{setspace}before\usepackage{setspace}. Taken from: greengabbro.net/2009/02/15/…Konstantinos– Konstantinos2015-05-15 16:39:21 +00:00Commented May 15, 2015 at 16:39 -
1I 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_Spacingtommy.carstensen– tommy.carstensen2017-11-16 16:28:00 +00:00Commented Nov 16, 2017 at 16:28
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.
-
2Or you can write \baselineskip=2\baselineskip directlyMafra– Mafra2011-07-30 20:55:26 +00:00Commented Jul 30, 2011 at 20:55
-
1So for small portions of text, say a single table field, this method is ok and setspace would be overkill, I guess.Bananguin– Bananguin2016-07-04 12:47:20 +00:00Commented Jul 4, 2016 at 12:47
How can I change the spacing in my LaTeX document?
To double space a LaTeX document, you should include the line
\usepackage{setspace}
after your \documentclass line.
Before your \begin{document} command.
\doublespacing
will make the text of the whole document double spaced, but footnotes, figures, and tables will still be single-spaced.
For one-and-a-half spacing, use the command
\onehalfspacing
To make a target part of the text single-spaced, you can place the text inside the following commands
\begin{singlespace}
\end{singlespace}
You can also set the spacing to be something other than double-spaced. For example, if you wanted to have one-and-a-quarter spacing between lines, use the line
\setstretch{1.25}
before your \begin{document} command, and after the \usepackage{setspace} line.
SOURCE - http://kb.mit.edu/confluence/pages/viewpage.action?pageId=3907092
I did not write this, but this helped me.
Maybe you want to try
\setstretch{2}
-
Maybe? Please see Why is the
\linespreadfactor as it is?2016-11-10 18:01:40 +00:00Commented Nov 10, 2016 at 18:01