Background
Looking to change the appearance of quotations at the start of each Chapter (or Part). The book is using KOMA Script v2. (Most searches for the quote
command come back with results for typesetting quotation marks, rather than aphorisms.)
Problem
Currently, the quotation resembles:
Am looking for something similar to:
Good code is short, simple, and symmetrical — the challenge is figuring out how to get there.
~Sean Parent
(A double line border, a background colour, but using a serif font with the author name right-justified.)
Source Code
The quotation is defined as follows:
\setchapterpreamble{\dictum[Sean Parent]{Good code...}}
I have altered the style of the dictum settings as follows:
\renewcommand*{\dictumwidth}{.75\textwidth}
\renewcommand*{\dictumauthorformat}[1]{\textsc{#1}\bigskip}
Questions
- What packages allow such fine control over quotations (or
quote
s)? (Neither fncychap nor quotchap offer sufficient sophistication.) - How can the aphorism be placed in a
\colorbox
? (Using\dictumtext
?) - What is a good way to add double lines to the box?
Best Answer
I did not use
epigraph
. I wrote my own version:The result: