On 5/17/2013 5:03 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
Is there a \dimen variable for the local key for the width of a text column? Take a look at the attached pdf: Clearly local is different from \textwidth and \makeupwidth.
============= \starttext \framed[width=\textwidth,frame=on]{\type{\textwidth}} \framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}} \framed[width=local,frame=on]{\type{local}}
\startitemize \item \framed[width=\textwidth,frame=on]{\type{\textwidth}} \framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}} \item \framed[width=local,frame=on]{\type{local}} \stopitemize \stoptext =============
I'm working on a macro that depends on the local width and I need to be able to do work with fractions of the local width, e.g.
\framed[width=0.9\localwidth]{local width}
sometimes you can use \localhsize, in some cases \hsize is ok, and there's also \setlocalhsize that calculates \localhsize Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------