I was typesetting my report when I encounter the problem about spacing between texts. The requirement for my report is double spacing. However, when I use \setstretch{2.0}, the whole document became double-spaced, including titles, captions and even quotes. Could anyone help me with the problem? Is there a solution such as a new-defined environment that solve the problem one and for all? Thank you guys for your attention!

  • Package setspace – Johannes_B Oct 14 '14 at 8:50
  • Thanks for your quick reply! Could you elaborate it more? I am only a rookie for Latex. – user122049 Oct 14 '14 at 8:53
  • Double line spacing Heading off for lunch now. If you have further question, somebody else will help you. – Johannes_B Oct 14 '14 at 8:55
  • setspace takes care of the side effects of \setstretch such as line spacing in footnotes. Just write the \doublespacing at the beginning of your document, or, for a local use, \begin{doublespace} … \end{doublespace}. Note that double spacing desn't means \setstretch{2} but defaults to \setstretch{1.667}. I don't know what it does in titles, but in any case, it provides the \singlespacing switch. The documentation is interspersed within thre package code. – Bernard Oct 14 '14 at 9:00
  • Thanks, Bernard! However, when I put \doublespacing before my chapters, the title of chapters are also double-spaced. How can I resolve that? It is very annoying to put \begin{doublespace} … \end{doublespace} for each subsubsections. – user122049 Oct 14 '14 at 9:13

Your Answer

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

Browse other questions tagged or ask your own question.