Search This Blog

Sunday, November 11, 2007

Double Spacing in LaTex

To doublespace 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 doublespaced.  Footnotes,
figures, and tables will still be singlespaced, however. For one-and-a-half
spacing, instead use the command

\onehalfspacing

In order to make a part of the text of your document singlespaced, you can
put:

\begin{singlespace}

at the beginning of the text you want singlespaced, and

\end{singlespace}

at the end.

You can also set the spacing to be something other than doublespaced; 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

2 comments:

Unknown said...

Thank you!
Told me exactly what I needed to know.
LaTeX can be so confusing sometimes.

Albert S. Kim said...

Thanks. It was actually not my own, but copied from somewhere with specified source link which has disappeared. Good to know it helps.

Labels