[NTG-context] Framedtext width

Hans Hagen pragma at wxs.nl
Tue May 23 01:09:49 CEST 2006


nico wrote:
> Hello,
>
> Is there a way (magical option) to have the framedtext width adapt to the  
> environment width where it is put?
>
> I've tried width=broad, but it always uses the page \textwidth, even if  
> the framedtext is in an item or something like this. There is the same  
> behaviour for background too.
>
> An example:
>
> \setuplayout[middle]
> \setupcolors[state=start]
>
> \defineframedtext[mybox]
>    [width=broad,
>     frame=on,
>     before=\blank,
>     after=\blank]
>
>   
well, this is what 'local' is for:

\defineframedtext[mybox] [width=local,..]


Hans



-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list