17

Is there anything between singlespace and onehalfspace?

The reason is that, when I use singlespace it seems to be very compact, while onehalfspace puts more space between lines than I would like it to.

Note these come from the setspace package.

0

2 Answers 2

17

Yes. Using the setspace package with a 10pt document font, a factor between 1.0 and 1.25 would lie "between" \singlespacing and \onehalfspacing. An idea of the appropriate spacing that is dependent on the default font size is available from Why is the linespread factor as it is?.

Here's an example:

enter image description here

\documentclass[10pt]{article}
\usepackage{setspace,lipsum}% http://ctan.org/pkg/{setspace,lipsum}
\begin{document}
\singlespacing\lipsum[2]
\setstretch{1.125}\lipsum[2]% Line spread between \singlespacing and \onehalfspacing
\onehalfspacing\lipsum[2]
\doublespacing\lipsum[2]
\end{document}

Note that lipsum inserts a paragraph break at the end of every \lipsum by default, which is required to have different \linespread across paragraphs in the example.

2
  • thanks, how do you set it for the whole document? \setstretch{1.125} in the beginning?
    – user3232
    Apr 19, 2013 at 11:51
  • 1
    @user3232: Yes, or use \AtBeginDocument{\setstretch{1.125}} in your document preamble (separating setup/structure from content).
    – Werner
    Apr 19, 2013 at 19:06
6

With the setspace package you can use the spacing environment with an optional argument containing the desired factor like this:

\begin{spacing}{1.25}
...
\end{spacing}
1
  • Curly braces or accolades are required for the argument: \begin{spacing}{1.25} May 18, 2020 at 14:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .