On Mon, 22 May 2006, nico wrote:
On Mon, 22 May 2006 15:10:21 +0200, Taco Hoekwater
wrote: 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?
Again, use textbackground. The following honors the present width \setuplayout[middle] \setupcolors[state=start] \definetextbackground[screen] [backgrond=screen, frame=on, strut=yes, width=local, location=paragraph] \starttext Here is an example, \startitemize[n] \item \input tufte \startscreen Some background test \stopscreen \stopitemize \stoptext Aditya