LaTeXM...egister(3pm)

🌸 NAME 🌸

okay bestie, welcome to the LaTeXM...egister(3pm) page πŸ’–. The star of the show is "LaTeXML::Core::Definition::Register" β€” literally the control sequence definitions for Registers. periodt. ✨

πŸ’… DESCRIPTION πŸ’…

So these register definitions are set up as a specialized primitive with a getter and a setter β€” one to access values and one to store values in the Stomach. If you want the most convenient means to create them, the page points you to LaTeXML::Package. iykyk 🫢.

It extends LaTeXML::Core::Definition::Primitive β€” yes, inheritance slay πŸ‘‘.

Registers generally store some value in the current LaTeXML::Core::State, but they are not required to β€” no cap, that's just the vibe check. Like TeX's registers, when they are digested, they expect an optional =, and then a value of the appropriate type. Register definitions support these additional methods:

🧚 Methods 🧚

  • $value = $register->valueOf(@args); β€” returns the value associated with the register by invoking its getter function. The additional args are used by some registers to index into a set, such as the index to \count. πŸ’…
  • $register->setValue($value,$scope,@args); β€” assigns a value to the register by invoking its setter function. slay. ✨

πŸŽ€ AUTHOR πŸŽ€

Bruce Miller <bruce.miller@nist.gov> β€” iconic author moment πŸ‘‘.

Public domain software, produced as part of work done by the United States Government & not subject to copyright in the US. fr fr 🫢.


muah πŸ’‹ β€” this page is from perl v5.40.1, dated 2025-11-16, and it lives under the LaTeXM...egister(3pm) manual name. bye bestie, go slay some registers πŸŒˆπŸ’–

πŸ“¦ where this page comes from