22 Mar
2009
22 Mar
'09
12:02 a.m.
Dnia Sat, Mar 21, 2009 at 06:08:41PM -0400, Aditya Mahajan napisał(a):
Hi,
Can I divide dimensions to get a number in pdftex?
I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and I want
if (dimena/dimenb) > (dimenc/dimend) do something else do otherthing
What about if (dimena*dimend) > (dimenc*dimenb) ... ? If dimenb and dimend are positive, this should be equivalent (assuming you don't run into overflow).
Any hints on how to do this in ConTeXt.
Thanks, Aditya
Regards -- Marcin Borkowski (http://mbork.pl) Ja nie chcę czytać tych głupich gazet I wymyślonych oglądać historii. (Chili My)