1. Ole J. Forsberg, Ph.D.

Thank you. I use this package all of the time. I did not, however, know about the asterisk options. Thanks.

• Cool, thanks :-). Tom.

2. You have a misprint: \setstrech{} should be \setstretch{}.

Thanks for post, it was useful.

• Thanks for letting me know. I corrected it. Best, Tom.

3. […] see my previous post on that topic for more details on line […]

4. Luís Martins

Hello. I noticed that \usepackage{setspace}
\onehalfspacing (in my case) is in conflict with hyperref package. In my case when I add a footnote, the hyperlink send me to the wrong page. Beyond that it’s very useful| Thank you!

• Hi there!

Thanks for your comment. I am not aware of any conflict between the setspace and hyperref packages and footnotes. Make sure you always load hyperref as the last package. Would you mind to send a minimal working example that illustrates your issue.

Best, Tom.

• Luís Martins

Hi. After some trials I found the conflict and I solved it. You’re right. When I loaded hyperref as the last package the file was successfully compiled. Thank you!

5. Sorry to dredge up an old post, but it may be interesting to note that a linespread=1.618 is almost *exactly* double-spacing. Does this ratio look familiar to you? 😉

• Thanks, I didn’t realize it while writing the post.

6. r

Thanks a lot for the post.

7. Zeeshan Shareef

How can I set the 16pt line spacing using \setstretch while my font size is 12pt.

Thanks

• tom

To change the default line spacing, use:

\setlength{\baselineskip}{16pt}

Cheers, Tom

8. asghar khosh-jamal

I want generate space between twoo footnotes. if we use \setlength or \vspace, it effect on sections and other body text. I dont want it. I want only vertical space between two footnetes. please help me.
thanks

• tom

Hi there,

By changing \footnotesep, you can add extra vertical space between footnotes. Here is an example:

\documentclass[10pt]{article}
\setlength{\footnotesep}{\baselineskip}
\usepackage{blindtext}
\begin{document}
\footnote{Some footnote}
\blindtext
\footnote{Another footnote}
\end{document}

Instead of \baselineskip, you could also use a number (e.g. 10pt). See the answer to a similar question here for more details.

HTH,
Tom

9. Miktex package manager doesn’t have the setspace.sty, what is the alternate way of getting it?

• tom

Hi Abhiram,

You can download it here on CTAN and place it in your main project directory. If you’d like to permanently install it, follow the guide here.

HTH,
Tom

10. Sumukh Desu

I am using setspace package with the fontsize. For a particular group of text I am using \fontsize and setting to a size(say 8pt) different from the document fontsize(say 12pt) but the spacing between the text is still being rendered with respect to the document’s fontsize hence I am using \setstretch which gives me a spacing of 0 but sets the fontsize back to the document fontsize.

• tom

I’m having a hard time to understand what the problem is and to reproduce what you describe. Please provide a minimal working example and I’ll be very happy to help.

Best,
Tom

• Sumukh Desu

\begingroup
\color{gray}
\fontsize{8pt}{0pt} \setstretch{0.0}
\selectfont
(\noindent \textit{I want to make this of font size 8pt even though the document font size is 12pt}.)
\endgroup

I’m hoping this should clear things out. So when I use \setstretch, the font size goes back to 12pt but if I comment \setstretch, the fontsize works fine but there is a problem with the line spacing.

Thanks,
Sumukh

• tom

Hi Sumukh,

Thanks for the example. Below is another approach that produces the different font sizes correctly. Let me know if this is not what you were looking for.

Best, Tom.

\documentclass[11pt]{article}
\usepackage{blindtext,xcolor}
\usepackage{setspace}
\begin{document}
\doublespacing
\blindtext

\begingroup
\color{gray}
\singlespacing
\fontsize{8pt}{0pt} %\setstretch{0.0}
\selectfont
(\noindent \textit{I want to make this of font size 8pt even though the document font size is 12pt}.)\par
\endgroup

\doublespacing
\blindtext
\end{document}
• Sumukh Desu

It works perfectly fine.

Thank you Tom.