[NTG-context] How to get rounded corners and a thicker line with \startframedtext

luigi scarso luigi.scarso at gmail.com
Sat Mar 19 00:27:07 CET 2011


On Sat, Mar 19, 2011 at 12:24 AM, Cecil Westerhof
<cldwesterhof at gmail.com> wrote:
> 2011/3/18 luigi scarso <luigi.scarso at gmail.com>
>>
>> also
>> http://wiki.contextgarden.net/Framed
>
> A very interesting read. I changed my macro to:
> \define[2]\Citation{
>   \blank
>   \startframedtext[middle][
>     align=middle,
>     background=color,
>     backgroundcolor=lightgray,
>     corner=round,
>     rulethickness=2bp
>     ]
>     {\bf #2}
>     \blank[small]
>     \rightaligned{\it #1}
>   \stopframedtext
>   \blank
> }
>
> This results in an even more pleasing effect. (In my opinion.)
You can also use metafun, which plays well with mkiv:
http://wiki.contextgarden.net/MetaFun
-- 
luigi


More information about the ntg-context mailing list