Mlpost.Num
Abstract numeric values
Numerics are a symbolic representation of numeric values. In many cases, but not always, an object of type Num.t
is intended to be a length in some unit. In addition, values of type Num.t
may actually be unknown to Mlpost. This is why there is no function that gives back a float
.
val bp : float -> t
The base unit in Mlpost is bp.
val pt : float -> t
pt are PostScript points. This is the same unit as the pt unit in TeX
val cm : float -> t
val mm : float -> t
val inch : float -> t
The following are units dependent of the font used
val em : float -> t
the width of an "m"
val ex : float -> t
the height of an "x"
module Infix : sig ... end
Infix symbols for convenience
val zero : t
val one : t
val two : t
Shortcuts for bp 0.
, bp 1.
and bp 2.
.
type scale = float -> t
module Scale : sig ... end