Representations of digested objects.
These represent various kinds of digested objects
represents text in a particular font;
represents a math token in a particular font;
represents a sequence of digested things in text;
represents a sequence of digested things in math;
represents a digested object that can generate arbitrary elements in the XML Document.
All these classes extend LaTeXML::Object and so implement the stringify and equals operations.
Returns the font used by $digested.
Returns whether $digested was created in math mode.
Returns a list of the boxes contained in $digested. It is also defined for the Boxes and Whatsit (which just return themselves) so they can stand-in for a List.
Returns a string representing this $digested.
Reverts the box to the list of Tokens that created (or could have created) it.
Get a string describing the location in the original source that gave rise to $digested.
$digested should get itself absorbed into the $document in whatever way is apppropriate.
The following methods are specific to LaTeXML::Box and LaTeXML::MathBox.
Returns the string part of the $box.
Note that the font is stored in the data properties under ’font’.
Returns the LaTeXML::Definition responsible for creating $whatsit.
Returns the value associated with $key in the $whatsit’s property list.
Sets the $value associated with the $key in the $whatsit’s property list.
Returns the hash of properties stored on this Whatsit. (Note that this hash is modifiable).
Sets several properties, like setProperty.
Returns the $n-th argument (starting from 1) for this $whatsit.
Returns the list of arguments for this $whatsit.
Sets the list of arguments for this $whatsit to @args (each arg should be a LaTeXML::List or LaTeXML::MathList).
Return the body for this $whatsit. This is only defined for environments or top-level math formula. The body is stored in the properties under ’body’.
Sets the body of the $whatsit to the boxes in @body. The last $box in @body is assumed to represent the ‘trailer’, that is the result of the invocation that closed the environment or math. It is stored separately in the properties under ’trailer’.
Return the trailer for this $whatsit. See setBody.