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

luigi scarso luigi.scarso at gmail.com
Fri Mar 18 23:55:03 CET 2011


On Fri, Mar 18, 2011 at 11:52 PM, Aditya Mahajan <adityam at umich.edu> wrote:
> On Fri, 18 Mar 2011, Cecil Westerhof wrote:
>
>> I am still dabbling with ConTeXt. There is a lot to learn, but it is worth
>> it. ;-}
>>
>> At the moment I have (when finished I make a macro of it):
>> \startframedtext[middle]
>>  \startalignment[middle]
>>   {\bf A goal properly set is halfway reached.}
>>  \stopalignment
>>  \blank[small]
>>  \startalignment[flushright]
>>   {\it Abraham Lincoln}
>>  \stopalignment
>> \stopframedtext
>>
>> I want to use this to intersperse my document with citations. It is not
>> bad,
>> but I like to change two things:
>> - I would like to use rounded corners
>
> \defineframedtext[...][corner=round]
>
>> - I would like to use a slightly thicker line to draw the box
>
> \defineframedtext[....][rulethickness=2bp]
>
> Aditya

also
http://wiki.contextgarden.net/Framed


-- 
luigi


More information about the ntg-context mailing list