[NTG-context] setuphead

Steffen Wolfrum context at st.estfiles.de
Sun Jul 30 22:17:58 CEST 2006


Well, looks good, BUT
if the chapter's name is quite long and needs a break
then the break command used there (\crlf \break \\) can't work  
anymore ....

Steffen



Am 29.07.2006 um 09:11 schrieb Taco Hoekwater:

> Steffen Wolfrum wrote:
>> You mean like this?
>>
>> \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween=
>> \crlf,textcommand=\bf]
>
> That is what I meant but it dodn't work out too well. New approach:
>
> \def\Sectioncommand#1#2%
>    {\vbox{\centerline{\it Chapter #1}%
>           \centerline{\bfb #2}}}
>
> \setuphead[chapter]
>     [command=\Sectioncommand,
>     style=]
>
> Cheers, Taco
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



More information about the ntg-context mailing list