# change space to only a part of the document [duplicate]

Possible Duplicate:
Change line spacing of a page and size police inside the document

I created a document using book class and set the space using

\usepackage{setspace}
\onehalfspacing


In this way all my document use this setting.

Instead I would know how I change space to \doublespacing to only a part of my document.

-

## marked as duplicate by Werner, Heiko Oberdiek, Harish Kumar, Paul Gaborit, KurtNov 27 '12 at 0:55

You could type \begin{doublespacing} and \end{doublspacing} at that beginning and end of the part of your document that you want to be double-spaced.

-

You can use them inside a group:

\documentclass{article}
\usepackage{setspace,lipsum}
\begin{document}
\onehalfspacing
\lipsum[1]
\bgroup %% <<<<<<< begin a group
\doublespacing
\lipsum[2]
\egroup %% <<<<<<< end a group
{   %% <<<<<<< begin a group
\singlespacing
\lipsum[3]
} %% <<<<<<< end a group
\end{document}

-