LaTeXM...ructor(3pm)

πŸ’… NAME πŸ’…

okay bestie, this is the 3pm manual page from the User Contributed Perl Documentation for LaTeXML::Core::Definition::Constructor β€” and it's literally all about control sequence definitions. πŸŽ€

✨ DESCRIPTION ✨

This class is the main character for control sequences that contribute arbitrary XML fragments to the document tree. 🌈 During digestion, a LaTeXML::Core::Definition::Constuctor records the arguments used in the invocation to produce a LaTeXML::Core::Whatsit. (Yep, that spelling is exactly what the page says β€” iykyk. 🫢)

The resulting LaTeXML::Core::Whatsit (usually) generates an XML document fragment when absorbed by an instance of LaTeXML::Core::Document. πŸ’–

Additionally, a LaTeXML::Core::Definition::Constructor may have beforeDigest and afterDigest daemons defined which are executed for side effect, or for adding additional boxes to the output. πŸ”₯

It extends LaTeXML::Core::Definition. periodt.

More documentation needed, but see LaTeXML::Package for the main user access to these. πŸ‘‘

πŸ¦‹ More about Constructors πŸ¦‹

Okay so a constructor has, as it's replacement, a subroutine or a string pattern representing the XML fragment it should generate. πŸ’« In the case of a string pattern, the pattern is compiled into a subroutine on first usage by the internal class LaTeXML::Core::Definition::ConstructorCompiler. 🧚

Like primitives, constructors may have beforeDigest and afterDigest. πŸ’…

🫢 AUTHOR 🫢

Bruce Miller <bruce.miller@nist.gov> β€” iconic, fr fr. 🌸

Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. πŸ’œ

xoxo πŸ’– this page was generated with perl v5.40.1 and is dated 2025-11-16 β€” slay and goodbye! ✨

πŸ“¦ where this page comes from