TeXTreeΒΆ
texd.spad line 108 [edit on github]
This domain represents TeX parse tree.
- display_math?: % -> Boolean
display_math?(t)returnstrueif and only iftis a display math node.
- display_math: % -> %
diplay_math(
t) builds a display math node with contentt.
- get_call: % -> Record(name: String, args: List %)
get_call(t)extracts name and actual arguments from a macro call node.
- get_math: % -> %
get_math(t)extracts content of text or display math node.
- get_text: % -> String
get_text(t)extracts text from a node representing text.
- group?: % -> Boolean
group(
t) returnstrueif and only iftis a group node.
- group: List % -> %
group(l)builds group node from a listl.
- m_call?: % -> Boolean
m_call?(t)returnstrueif and only iftis a macro call node.
- m_call: (String, List %) -> %
m_call(s, l)builds macro call node for macro with namesand with actual argumentsl.
- text?: % -> Boolean
text?(t)returnstrueif and only iftis a node representing text.
- text: String -> %
text(s)builds a node representing texts.
- text_math?: % -> Boolean
text_math?(t)returnstrueif and only iftis a text math node.
- text_math: % -> %
text_math(t)builds a text math node with contentt.
- ungroup: % -> List %
ungroup(t)extracts underlying list from a group node.