LaTeXM...e::Box(3pm)
πΈ NAME πΈ
Okay bestie, this page is LaTeXM...e::Box(3pm), from User Contributed Perl Documentation β and it's giving core-object realness. The module is LaTeXML::Core::Box: representations of digested objects, and it extends LaTeXML::Common::Object. π
β¨ Exported Functions β¨
$box = Box($string,$font,$locator,$tokens);β Creates aBoxrepresenting the$stringin the given$font. The$locatorrecords the document source position. The$tokensis aTokenslist containing the TeX that created (or could have) theBox. If$fontor$locatorareundef, they are obtained from the currently activeLaTeXML::Core::State. Note that$stringcan beundef, which contributes nothing to the generated document, but does record the TeX code (in$tokens). π
π METHODS π
$font = $digested->getFont;β Returns the font used by$digested.$boole = $digested->isMath;β Returns whether$digestedwas created in math mode.@boxes = $digested->unlist;β Returns a list of the boxes contained in$digested. It is also defined for theBoxesandWhatsit(which just return themselves) so they can stand-in for aList.$string = $digested->toString;β Returns a string representing this$digested.$string = $digested->revert;β Reverts the box to the list ofTokens that created (or could have created) it.$string = $digested->getLocator;β Get an object describing the location in the original source that gave rise to$digested.$digested->beAbsorbed($document);β$digestedshould get itself absorbed into the$documentin whatever way is apppropriate.$string = $box->getString;β Returns the string part of the$box.
π AUTHOR π
Bruce Miller <bruce.miller@nist.gov> π«Ά
π COPYRIGHT π
Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. β¨
That's the whole vibe, bestie β this page ships with perl v5.40.1, dated 2025-11-16. ππ
π¦ where this page comes from
- ubuntu resolute: latexml 0.8.8-4 Β· PD
- ubuntu stonking: latexml 0.8.8-4 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms