quinta-feira, abril 12, 2012

How to set line spacing in LaTeX

Some simple (but very important) commands you should know about line spacing in LaTeX:

\singlespacing - sets the text to single line spacing
\onehalfspacing - sets the text to one half spacing
\doublespacing - sets the text to double spacing

To use such commands, you should use the following package: \usepackage{setspace}


Bellow, there's a simple example about how to use these commands:


\begin{document}
\onehalfspacing
First part of the text (using one half spacing)
\doublespacing
Second part of the text (using double spacing)
\end{document}

Nenhum comentário: