Changes

Jump to navigation Jump to search
736 bytes added ,  09:11, 17 December 2008
moved Sanjoys example for blockquotes
before={\setupindenting[next]}]
</texcode>
 
==Example using <cmd>setupdelimitedtext</cmd>==
 
Here is how to get indented quotations set in small type:
<texcode>
\setupdelimitedtext[blockquote][style={\setupbodyfont[9pt]}]
Hello
\startblockquote
\input knuth
\par
\stopblockquote
Hello
</texcode>
 
The <cmd>par</cmd> inside the block quotation keeps TeX's paragraph builder happy. Otherwise the last paragraph in the block quotation gets the wider linespacing of the outside environment rather than the narrower linespacing appropriate to nine-point text.
 
Using <code>style=small</code> does not work as well as <code>style={\setupbodyfont[9pt]}</code> or <code>style={\setupbodyfont[10pt]}</code>, because <code>small</code> shrinks only the font size but not the linespacing.
gardener
110

edits

Navigation menu