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
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context