Re: [NTG-context] framedtext in itemize

2012-01-04 Thread Meer, H. van der
That is it! Thanks.

Hans van der Meer


On 4 jan. 2012, at 17:09, Wolfgang Schuster wrote:

> 
> Am 04.01.2012 um 16:25 schrieb Hans van der Meer:
> 
>> Why does framedtext extends to the right in \itemize? Shouldn't the width be 
>> reduced by the extend of the item-shift? Isn't that the idea behind the 
>> "fit"-parameter.
>> 
>> It wouldn't be a problem to calculate a reduced width, but how can I access 
>> the marginshift caused by the item?
> 
> Use “width=local”.
> 
> Wolfgang


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] framedtext in itemize

2012-01-04 Thread Wolfgang Schuster

Am 04.01.2012 um 16:25 schrieb Hans van der Meer:

> Why does framedtext extends to the right in \itemize? Shouldn't the width be 
> reduced by the extend of the item-shift? Isn't that the idea behind the 
> "fit"-parameter.
> 
> It wouldn't be a problem to calculate a reduced width, but how can I access 
> the marginshift caused by the item?

Use “width=local”.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] framedtext in itemize

2012-01-04 Thread Hans van der Meer
Why does framedtext extends to the right in \itemize? Shouldn't the width be 
reduced by the extend of the item-shift? Isn't that the idea behind the 
"fit"-parameter.

It wouldn't be a problem to calculate a reduced width, but how can I access the 
marginshift caused by the item?

A minimal example:

\starttext
\startitemize[a]
\item \startframedtext[offset=0pt,width=fit]\input tufte\stopframedtext
\item \input tufte
\stopitemize
\startframedtext[offset=0pt,width=fit]\input tufte\stopframedtext
\stoptext

Hans van der Meer



itemize-frame.pdf
Description: Adobe PDF document

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___