(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?
>
> 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
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
Andrea Valle
DAMS - Facoltà di Scienze della Formazione
Università degli Studi di Torino
http://www.semiotiche.it/andrea
[EMAIL PROTECTED]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to