On Mon, 22 May 2006 15:10:21 +0200, Taco Hoekwater
andrea valle wrote:
(Just to say it's a question I was going to post too)
-a-
On 22 May 2006, at 12:54, nico wrote:
Hello,
Is there a way (magical option) to have the framedtext width adapt to the environment width where it is put?
\defineframedtext[mybox] [width=local]
Thanks, It works fine for framedtext! Unfortunately it doesn't help with background. Another option? The same case with background instead of framedtext: \setuplayout[middle] \setupcolors[state=start] \setupbackground [background=screen, frame=on, strut=yes, width=local, before=\blank, after=\blank] \starttext Here is an example: \startitemize[n] \item \input tufte \startbackground Some backgrounded text \stopbackground \input tufte \stopitemize Regards, BG