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

Reply via email to