I'd recommend looking at setspace.sty available from CTAN. It allows
you to do things like:
\begin{spacing}{0.9}
\bibliographystyle{unsrt}
\bibliography{gen}
\end{spacing}
Change the number to change the spacing.
cheers, stephen
> I need to change back and forth between single and double line spacing
> within a \documentclass{book} latex (2e) document. E.g. I would like to
> have single line spacing within a tabular environment and double line
> spacing outside the tables. Or I might want to have a few paragraphs
> in a chapter be single spaced and others that are double spaced.
> I've tried embedding \renewcommand{\baselinestretch}{1} and
> \renewcommand{\baselinestretch}{2} at various places within the
> document, but do not seem to get the desired line spacing results. Is
> there an easy way to repeatedly switch between different line spacings
> in latex?
If you use \baselineskip it holds for the current environment, so you
can set one value for the ordinary text, and different values for
tables, equations and so on. The drawback is that you have to set it
every time you start a new environment (i.e. you have to set it for
each table and so on). There might be better ways, but I used it to
increase the line-spacing in the text and had the default for tables
and equations, which it was perfect for.
/Anders
--
Anders Magnusson Phone: +46 46 2227991
Dept. of Solid Mechanics URL: http://www.hallf.lth.se/~hlam
Lund University e-mail: Anders.M...@hallf.lth.se
"BTW, does Jesus know you flame?"
-- Diane Holt, dia...@binky.UUCP, to Ed Carp
> I need to change back and forth between single and double line
> spacing within a \documentclass{book} latex (2e) document. E.g. I
> would like to have single line spacing within a tabular environment
> and double line spacing outside the tables.
setspace.sty, as recommended by catalogue.html, available from CTAN.
Try
finger ct...@ftp.dante.de
or
finger ct...@ftp.tex.ac.uk
for info about CTAN.
--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany