[NTG-context] Red framed text

Jilani Khaldi jilani.khaldi1 at virgilio.it
Fri Dec 23 08:59:59 CET 2005


>> \setupcolors[state=start]
>>
>> \startuniqueMPgraphic{shadow}
>>    fill OverlayBox shifted (3pt,-3pt) withcolor .8white ;
>>    fill OverlayBox withcolor white ;
>>    draw OverlayBox withcolor red ;
>>    setbounds currentpicture to OverlayBox ;
>> \stopuniqueMPgraphic
>>
>> \defineoverlay[shadow][\uniqueMPgraphic{shadow}]
>>
>> \framed
>>  [align=middle,background=shadow,frame=off]
>>  {\input tufte \relax}
>>
>> \blank
>>
>> \framed
>>  [align=middle,background=shadow,frame=off]
>>  {\input zapf \relax}
>>
> Very nice! Thank you.

But is there a simple way to get the text left justified with a centered 
title "Attention!"?
jk

-- 
Jilani KHALDI
http://jkhaldi.oltrelinux.com



More information about the ntg-context mailing list