Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change line spacing in komascript dictum "environment"?

491 views
Skip to first unread message

stefano

unread,
May 26, 2009, 4:37:19 PM5/26/09
to
Hi all,

I have a document (book, actually) using the KomaScript boook class
and the paragraph spacing set to 1.5 lines with the package setspace.
The problem is that the short text before the beginning of the
chapters, which is set with the dictum command, is also set with 1.5
line spacing, whereas it should be single line.

Does anyone know how to change the spacing? The Komascript manual does
not list any alternative spacing for the dictum command---the only
available parameters concern fonts, justification, and width.

A brute force approach with \renewcommand{\setbaselinestretch} seems
to be ignored completely.

Any idea is reatly welcome.

Cheers,

Stefano

______________________________________________________________
Stefano Franchi
Department of Philosophy Ph: (979) 862-2211
Texas A&M University Fax: (979) 845-0458
305B Bolton Hall fra...@philosophy.tamu.edu
College Station, TX 77843-4237

Alan Munn

unread,
May 26, 2009, 7:03:21 PM5/26/09
to
In article
<c63ced05-bdae-40f3...@a36g2000yqc.googlegroups.com>,
stefano <stefano...@gmail.com> wrote:

> Hi all,
>
> I have a document (book, actually) using the KomaScript boook class
> and the paragraph spacing set to 1.5 lines with the package setspace.
> The problem is that the short text before the beginning of the
> chapters, which is set with the dictum command, is also set with 1.5
> line spacing, whereas it should be single line.
>
> Does anyone know how to change the spacing? The Komascript manual does
> not list any alternative spacing for the dictum command---the only
> available parameters concern fonts, justification, and width.
>
> A brute force approach with \renewcommand{\setbaselinestretch} seems
> to be ignored completely.
>
> Any idea is reatly welcome.

What's wrong with putting \singlespacing right before the \dictum
command and then \onehalfspacing right after?

\singlespacing\dictum{Author}{Text}\onehalfspacing

(If this is too much of a pain, then redefine \dictum to do it
automatically:)

\let\olddictum\dictum
\renewcommand{\dictum}[2]{\singlespacing\olddictum{#1}{#2}\onehalfspacing
}

Alan

Philipp Stephani

unread,
May 27, 2009, 1:24:03 AM5/27/09
to
stefano schrieb:

> Hi all,
>
> I have a document (book, actually) using the KomaScript boook class
> and the paragraph spacing set to 1.5 lines with the package setspace.
> The problem is that the short text before the beginning of the
> chapters, which is set with the dictum command, is also set with 1.5
> line spacing, whereas it should be single line.
>
> Does anyone know how to change the spacing? The Komascript manual does
> not list any alternative spacing for the dictum command---the only
> available parameters concern fonts, justification, and width.

Hi,

you can use the font parameter here:

\documentclass{scrbook}
\usepackage[onehalfspacing]{setspace}
\usepackage{lipsum}
\addtokomafont{dictumtext}{\singlespacing}
\begin{document}
\dictum{\lipsum[1]}
\end{document}

--
Replace “READ-MY-SIG” by “tcalveu” to answer by mail.

0 new messages