Search code examples
latextemplatestexspacing

Double-Spacing an ACM Proceedings Article in LaTeX


I am using the acm LaTeX template and I have trouble making my paper double spaced.

My LaTeX document looks like the following:

\documentclass{acm_proc_article-sp}
\usepackage{setspace}
\doublespacing
\begin{document}
...
\end{document}

When I compile the above document using pdflatex, I get the following error message on the line that I use the command \doublespacing:

Missing number, treated as zero \doublespacing

Solution

  • I believe you want to use \usepackage{doublespace} to double-space your document. To put in a block of singlespacing, surround it with \begin{singlespace} and \end{singlespace}.

    Ref: http://web.mit.edu/olh/Latex/ess-latex.html