Changes

Jump to navigation Jump to search
329 bytes added ,  21:37, 29 December 2004
enhanced sample
<texcode>
\def\MyChapterCommand#1#2{\framed[frame=off, bottomframe=on, topframe=on]{\vbox{#1\blank#2}}}
% #1 is number, #2 is text
% \vbox is needed for \blank to work\setuphead[chapter][command=\MyChapterCommand, style={\ss\bfa}]
</texcode>
so <tt>\chapter{My First Chapter}</tt> looks like:
<context>
\def\MyChapterCommand#1#2{\framed[frame=off, bottomframe=on, topframe=on]{\vbox{#1\blank#2}}}
\setuphead[chapter][command=\MyChapterCommand, style={\ss\bfa}]
(Hm, something's wrong with that...)\chapter{My First Chapter}</context>
==Your own titling levels==

Navigation menu