TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


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.)


Currently, the quotation resembles:

enter image description here

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:



  • What packages allow such fine control over quotations (or quotes)? (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?


share|improve this question
the epigraph package might be useful, but better check the way Knuth defined quotations at the end of his Chapters in the TeXBook and adapt it to your class. Is there a fine distinction between aphorisms and quotations linguistically speaking? – Yiannis Lazarides Dec 12 '10 at 20:04
up vote 12 down vote accepted

I did not use epigraph. I wrote my own version:



% Double-line for start and end of epigraph.
\newcommand{\epiline}{\hrule \vskip -.2em \hrule}
% Massively humongous opening quotation mark.
  \fontsize{42}{48}\selectfont \color{quotationmarkcolour} \textbf{``}
  \vskip -.5em

% Beautify quotations.
    \epiline \vskip 1em {\hugequote} \vskip -.5em
    \parindent 2.2em

The result:

enter image description here

Suggestions for improvement are welcome.

share|improve this answer

One package worth looking at is epigraph, which includes a few options for setting this sort of thing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.