[NTG-context] \definemeasure / \dimexpr

Henning Hraban Ramm texml at fiee.net
Thu Nov 3 21:32:44 CET 2022


I’m constantly struggling with dimension calculations. Is there anything 
I can read about the possibilities and limitations?

e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]
\definemeasure[FlapWidth][.8\measure{PageWidth}]
\definemeasure[FlapWidth][\measure{PageWidth} * 0.8]
\definemeasure[FlapWidth][\measure{PageWidth}*8/10]
\definemeasure[FlapWidth][8\measure{PageWidth}/10]

Hraban


More information about the ntg-context mailing list