[NTG-pdftex] [ pdftex-Patches-473 ] \ifabsnum and \ifabsdim
noreply at sarovar.org
noreply at sarovar.org
Wed Jul 26 12:28:06 CEST 2006
Patches item #473, was opened at 2006-01-27 15:20
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=473&group_id=106
Category: Primitives
Group: v1.30.0
>Status: Closed
Resolution: Accepted
Priority: 4
Submitted By: Taco Hoekwater (taco)
Assigned to: Martin Schröder (oneiros)
Summary: \ifabsnum and \ifabsdim
Initial Comment:
Here is a small change file that implements two new
etex primitives :
\ifabsnum
\ifabsdim
Usage is the same as \ifnum and \ifdim. The only
difference is that they negate the values if they are
negative before comparing.
----------------------------------------------------------------------
Comment By: Martin Schröder (oneiros)
Date: 2006-07-26 12:28
Message:
Logged In: YES
user_id=421
This has been included in version 1.40
----------------------------------------------------------------------
Comment By: Hans Hagen (hagen)
Date: 2006-01-27 15:31
Message:
Logged In: YES
user_id=927
intended usage:
\ifabsdim \dimexpr \maxheight - \currentheight \relax < .5pt
assume that we're done
\fi
it can also be used to handle rounding errors when doing
roundtrip calculations
----------------------------------------------------------------------
You can respond by visiting:
http://sarovar.org/tracker/?func=detail&atid=495&aid=473&group_id=106
More information about the ntg-pdftex
mailing list