LaTeXML::Common::Dimension

Representation of dimensions; extends LaTeXML::Common::Number.

Exported functions

$dimension = Dimension($spec);

Creates a Dimension object. $spec can be a string with a floating point number and units (with any of the usual TeX recognized units, except mu), or just a number standing for scaled points (sp).