[NTG-context] Framedtext width
nico
nicolas.marsgui at libertysurf.fr
Mon May 22 12:54:19 CEST 2006
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]
\starttext
Here is an example:
\startitemize[n]
\item
\input tufte
\startmybox
Some text in the box
\stopmybox
\input tufte
\stopitemize
\stoptext
Regards,
BG
More information about the ntg-context
mailing list