[NTG-context] Framedtext width

2006-05-22 Thread nico
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.

Re: [NTG-context] Framedtext width

2006-05-22 Thread andrea valle
(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

Re: [NTG-context] Framedtext width

2006-05-22 Thread 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] Cheers, Taco

Re: [NTG-context] Framedtext width

2006-05-22 Thread andrea valle
On 22 May 2006, at 15:10, Taco Hoekwater wrote: \defineframedtext[mybox] [width=local] Thanks Taco Definitively, from now on this \setupframedtexts[width=local] will be in my preferites -a- Andrea Valle DAMS - Facoltà di Scienze della Formazione Università degli Studi di Torino

Re: [NTG-context] Framedtext width

2006-05-22 Thread Hans Hagen
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

Re: [NTG-context] Framedtext width

2006-05-22 Thread Hans Hagen
Hans Hagen wrote: well, this is what 'local' is for: \defineframedtext[mybox] [width=local,..] (i hit send button too soon -) here we can use a keyword but when no such option is present one can say: \setlocalhsize \hsize\localhsize as in: \start \setlocalhsize \hsize\localhsize