D Common Modules

D.12 LaTeXML::Common::Dimension

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

Exported functions

$dimension = Dimension($dim);

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