On Thu, Jul 26, 2001 at 01:32:21PM +0200, Jürgen Spitzmüller wrote:
> Am Donnerstag, 26. Juli 2001 13:13 schrieb Stephan Semrau:
> > Is there a (simple) way to achieve different line spacings for
> > different types of text? I would like to do the following: Standard
> > text should be doublespaced, footnotes, quotes, headings etc should
> > be singlespaced. (I need this for a dissertation and I want to use
> > the KS-book class. I know that this layout looks silly but the
> > faculty style guidelines require it).
> 
> There are different ways to get it, but noone is really easy _and_ 
> comfortable AFAIK (I had the same problem).
> I would recommend this one:
> 1. Chose singlespacing as default in Layout > Document
> 2. In the preamble: \usepackage{setspace}
> 3. a.) Before any standard text in TeX-Mode (ERT): \onehalfspacing
> and after \singlespacing
> or
> 3 b.) write in the minibuffer (press M-x) "paragraph-spacing onehalf" 
> to set onehalfspacing per paragraph

This is not the best way to do this. A better way is as follows:
1. Choose double spacing in the document dialog.
2. Use appropriate \renewcommands/\renewenvironment.
For example, to have single space for section headings, put the following in
the preamble:
\let\oldsection=\section
\renewcommand{\section}[1]{\begin{singlespace}\oldsection{#1}\end{singlespace}}

Reply via email to