Representation of dimensions; extends LaTeXML::Common::Number.
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).