1LaTeXML::Core::Whatsit(U3s)er Contributed Perl DocumentatLiaoTneXML::Core::Whatsit(3)
2
3
4
6 "LaTeXML::Core::Whatsit" - Representations of digested objects.
7
9 represents a digested object that can generate arbitrary elements in
10 the XML Document. It extends LaTeXML::Core::Box.
11
12 METHODS
13 Note that the font is stored in the data properties under 'font'.
14
15 "$defn = $whatsit->getDefinition;"
16 Returns the LaTeXML::Core::Definition responsible for creating
17 $whatsit.
18
19 "$value = $whatsit->getProperty($key);"
20 Returns the value associated with $key in the $whatsit's property
21 list.
22
23 "$whatsit->setProperty($key,$value);"
24 Sets the $value associated with the $key in the $whatsit's property
25 list.
26
27 "$props = $whatsit->getProperties();"
28 Returns the hash of properties stored on this Whatsit. (Note that
29 this hash is modifiable).
30
31 "$props = $whatsit->setProperties(%keysvalues);"
32 Sets several properties, like setProperty.
33
34 "$list = $whatsit->getArg($n);"
35 Returns the $n-th argument (starting from 1) for this $whatsit.
36
37 "@args = $whatsit->getArgs;"
38 Returns the list of arguments for this $whatsit.
39
40 "$whatsit->setArgs(@args);"
41 Sets the list of arguments for this $whatsit to @args (each arg
42 should be a "LaTeXML::Core::List").
43
44 "$list = $whatsit->getBody;"
45 Return the body for this $whatsit. This is only defined for
46 environments or top-level math formula. The body is stored in the
47 properties under 'body'.
48
49 "$whatsit->setBody(@body);"
50 Sets the body of the $whatsit to the boxes in @body. The last $box
51 in @body is assumed to represent the `trailer', that is the result
52 of the invocation that closed the environment or math. It is
53 stored separately in the properties under 'trailer'.
54
55 "$list = $whatsit->getTrailer;"
56 Return the trailer for this $whatsit. See "setBody".
57
59 Bruce Miller <bruce.miller@nist.gov>
60
62 Public domain software, produced as part of work done by the United
63 States Government & not subject to copyright in the US.
64
65
66
67perl v5.34.0 2021-11-24 LaTeXML::Core::Whatsit(3)