LaTeXM...inition(3pm)
β¨ NAME β¨
LaTeXM...inition(3pm) β from the User Contributed Perl Documentation. Okay bestie, this page is about "LaTeXML::Core::Definition" β Control sequence definitions. π
π DESCRIPTION π
This abstract class represents the various executables corresponding to control sequences β no cap. Ngl, it's giving main character energy for the control-sequence girlies. β¨ See LaTeXML::Package for the most convenient means to create them β iykyk. It extends LaTeXML::Common::Object.
π οΈ Methods π
$token = $defn->getCS;β Returns the (main) token that is bound to this definition. π$string = $defn->getCSName;β Returns the string form of the token bound to this definition, taking into account any alias for this definition. π«$defn->readArguments($gullet);β Reads the arguments for this$defnfrom the$gullet, returning a list ofLaTeXML::Core::Tokens. π$parameters = $defn->getParameters;β Return theLaTeXML::Core::Parametersobject representing the formal parameters of the definition. π@tokens = $defn->invocation(@args);β Return the tokens that would invoke the given definition with the provided arguments. This is used to recreate the TeX code (or it's equivalent). π₯$defn->invoke;β Invoke the action of the$defn. For expandable definitions, this is done in the Gullet, and returns a list ofLaTeXML::Core::Tokens. For primitives, it is carried out in the Stomach, and returns a list ofLaTeXML::Core::Boxes. For a constructor, it is also carried out by the Stomach, and returns aLaTeXML::Core::Whatsit. That whatsit will be responsible for constructing the XML document fragment, when theLaTeXML::Core::Documentinvokes"$whatsit-"beAbsorbed($document);>. Primitives and Constructors also support before and after daemons, lists of subroutines that are executed before and after digestion. These can be useful for changing modes, etc. π«Ά
π SEE ALSO π
LaTeXML::Core::Definition::ExpandableLaTeXML::Core::Definition::ConditionalLaTeXML::Core::Definition::PrimitiveLaTeXML::Core::Definition::RegisterLaTeXML::Core::Definition::CharDefLaTeXML::Core::Definition::Constructor
π 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. Periodt.
π That's the whole vibe check, bestie. This page came from perl v5.40.1, dated 2025-11-16, and its manual name is LaTeXM...inition(3pm). Now go slay those control sequences β fr fr, no cap. π«Ά
π¦ 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