LaTeXML...Whatsit(3)

πŸ“¦ version 0.8.8, in nixos 26.05, nixpkgs unstable

okay so bestie, welcome to the LaTeXML...Whatsit(3) page from the User Contributed Perl Documentation β€” the title is LaTeXML::Core::Whatsit, and she's the main character of this whole file. πŸ’…βœ¨

🌸 NAME 🌸

"LaTeXML::Core::Whatsit" - Representations of digested objects. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this class represents a digested object that can generate arbitrary elements in the XML Document. It extends LaTeXML::Core::Box. no cap, that's the whole vibe. ✨

πŸ’… METHODS πŸ’…

quick note before the methods: the font is stored in the data properties under 'font'. πŸŽ€

  • $defn = $whatsit->getDefinition; β€” Returns the LaTeXML::Core::Definition responsible for creating $whatsit. origin story unlocked.
  • $value = $whatsit->getProperty($key); β€” Returns the value associated with $key in the $whatsit's property list.
  • $whatsit->setProperty($key,$value); β€” Sets the $value associated with the $key in the $whatsit's property list.
  • $props = $whatsit->getProperties(); β€” Returns the hash of properties stored on this Whatsit. (Note that this hash is modifiable). yes, it's giving editable.
  • $props = $whatsit->setProperties(%keysvalues); β€” Sets several properties, like setProperty.
  • $list = $whatsit->getArg($n); β€” Returns the $n-th argument (starting from 1) for this $whatsit. counting starts at 1, bestie.
  • @args = $whatsit->getArgs; β€” Returns the list of arguments for this $whatsit.
  • $whatsit->setArgs(@args); β€” Sets the list of arguments for this $whatsit to @args (each arg should be a LaTeXML::Core::List).
  • $list = $whatsit->getBody; β€” 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'. iykyk.
  • $whatsit->setBody(@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'.
  • $list = $whatsit->getTrailer; β€” Return the trailer for this $whatsit. See setBody.

πŸ‘‘ AUTHOR πŸ‘‘

by Bruce Miller <bruce.miller@nist.gov> β€” author icon realness. πŸ’–

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


stay slay, bestie β€” this page is from perl v5.42.3, dated 2024-02-26, and it's the LaTeXML...Whatsit(3) manual page. πŸ’–βœ¨

πŸ“¦ where this page comes from