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