Representation of numbers, dimensions, skips and glue.
This module defines various dimension and number-like data objects
represents numbers,
represents floating-point numbers,
represents dimensions,
represents math dimensions,
represents glue (skips),
represents math glue,
represents pairs of numbers
represents list of pairs.
The following methods apply to all objects.
Return a list of the tokens making up this $object.
Return a string representing $object.
Return a value representing $object without the measurement unit (pt) with limited decimal places.
These methods apply to the various numeric objects
Return the value in scaled points (ignoring shrink and stretch, if any).
Return $object or $other, whichever is smaller
Return $object or $other, whichever is larger
Return an object representing the absolute value of the $object.
Return an integer: -1 for negatives, 0 for 0 and 1 for positives
Return an object representing the negative of the $object.
Return an object representing the sum of $object and $other
Return an object representing the difference between $object and $other
Return an object representing the product of $object and $n (a regular number).