22 May
2006
22 May
'06
10:54 a.m.
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