Not exactly an answer but a caveat: Some of these seem sensitive to placement.
[TL;DR: all 3 affect the whole document if placed in preamble.]
I found experimentally (in a \documentclass[a4paper,11pt]{article}
doc) that:
\linespread{1.213}
:
- before
\begin{document}
affects the whole document
- between
\begin{document}
and \maketitle
affects only the title
- after
\maketitle
has zero effect
\onehalfspacing
(same result as above in a 11pt doc):
- as package option (
\usepackage[onehalfspacing]{setspace}
) affects the whole document
- before
\begin{document}
affects the whole document
- between
\begin{document}
and \maketitle
affects the whole document
- after
\maketitle
affects the whole document except title
\spacing{1.213}
:
- before
\begin{document}
affects the whole document
- between
\begin{document}
and \maketitle
affects the whole document
- after
\maketitle
affects the whole document except title
As you found, \spacing{1.5}
results in much more spacing than the first two; \spacing{1.213}
results in exactly the same. So it seems \spacing
uses the same units as \linespread
.
CAVEAT: it seems setspace
package redefines \spacing{}
and I'm not sure now if I did the above tests with the package loaded or not?
I'm still confused which I should use. setspace
package is certainly the more polished option — it doesn't space footnotes and captions, and as https://tex.stackexchange.com/a/30114/7262 explains it adjusts params for 10pt/11pt/12pt which would be cumbersome and easy to forget otherwise. It's also robust wrt. placement and provides clean ways to change spacing in parts of the document.
On What does 'double spacing' mean? most opinions conclude that setspace
invented its own definition of 1.5 / double spacing, while Word uses what's probably the historically common definition — it there ever was one — but it might not matter as most people requiring "double spacing" don't know what it should mean and in practice accept both...
setspace
solution will be just fine.