Changes

Jump to navigation Jump to search
438 bytes added ,  19:01, 24 March 2013
Modified the example setting in small type.
Here is how to get indented quotations set in small type:
<texcodecontext source="yes">%\setupdelimitedtext[blockquote][style={\setupbodyfont[9ptsmall]}]\setupdelimitedtext[blockquote][style=\slx,before={\setupinterlinespace[line=2.4ex]}]
Hello
\startblockquote
\input knuth
%\par
\stopblockquote
Hello
</texcodecontext>
The {{cmd|par}} 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 the smaller text; Alternately, one can add <code>before={\setupinterlinespace}</code>, as shown above.
Using {{code|1=style=small}} does not work as well as <code>style={\setupbodyfont[9ptsmall]}</code> or <code>style={\setupbodyfont[10pt9pt]}</code>, because {{code|small}} shrinks only the font size but not the linespacing. Alternately, by using <code>before={\setupinterlinespace}</code>, one can then use commands such as <code>style=\tfx</code>, setting the size relatively rather than absolutely, advantageous for nestling and for inclusion in footnotes, for example.
{{Getting started navbox}}
148

edits

Navigation menu