Am 28.07.2011 um 02:32 schrieb Jeong Dalyoung:
> Dear Wolfgang,
>
> Thank you for your help.
>
>> Don?t set the font style with the argument of the \title command, use
>> \setuphead.
>
> I'll keep in mind.
>
>> \define[2]\Mytitle
>> {\framedtext
>> [width=broad,
>> height=5\bodyfontsize,
>> background=color,
>> backgroundcolor=lightgray,
>> offset=2pt,
>> strut=no,
>> frame=off,
>> align={middle,middle}]
>> {#2}}
>>
>> \setuphead
>> [title]
>> [command=\Mytitle,
>> style=\ssbfb] % \ss\bfb
>>
>
> Why is the number of arguments 2? What is #1 for?
#1 : Number (not necessary in your case)
#2 : Text
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________