[NTG-context] calculations

Henning Hraban Ramm hraban at fiee.net
Sun Sep 24 21:47:04 CEST 2006


Am 2006-09-21 um 21:12 schrieb Peter Rolf:

>>>      \externalfigure[\lily!img][scale=\dimexpr(1000\LPscale)]%
>
> \numexpr should work here
>   ..[scale=\numexpr1000\LPscale\relax]%

thank you, that seemed what I looked for, but:
! You can't use `\numexpr' in horizontal mode.


BTW, Hans' hint "sx=\LPscale" doesn't seem to do anything.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)



More information about the ntg-context mailing list