parser/data/nodes library

Classes

AccentNode
Accent Node (e.g., \hat, \tilde)
AlignedNode
Aligned Environment Node
ArrayNode
Array Node
BigOperatorNode
Big Operator Node (Sum, Integral, Product, etc.)
BinomialNode
Binomial Node \binom{n}{k}
BoxedNode
Boxed Node (\boxed, \fbox)
CasesNode
Cases Environment Node (cases / dcases / rcases)
CLineNode
Partial Horizontal Line Node (\cline{start-end})
ColorBoxNode
Background Color Box Node (\colorbox{color}{text} or \fcolorbox{borderColor}{bgColor}{text})
ColorNode
Color Node
CommandNode
Command Node (e.g., \frac, \sqrt)
DelimitedNode
Delimited Node (e.g., \left( ... \right))
DisplayMathNode
Display Math Node ($$...$$) Used for block/standalone mathematical formulas.
DocumentNode
Document Node
EncloseNode
EnvironmentNode
Environment Node (e.g., \begin{equation}...\end{equation})
EqnarrayNode
Eqnarray Environment Node
EqRefNode
Equation Reference Node (\eqref{key}) Renders the referenced label number with parentheses.
ErrorNode
Error Recovery Node
ExtensibleArrowNode
Extensible Arrow Node
FontSizeNode
Font Size Node
FractionNode
Fraction Node
GroupNode
Group Node (content enclosed in curly braces { ... })
HLineNode
Horizontal Line Node (\hline)
HPhantomNode
Horizontal Phantom Node (\hphantom) Preserves width but minimizes height/baseline.
HSpaceNode
HSpace Node
HyperlinkNode
Hyperlink Node (\href{url}{text} or \url{url})
InlineMathNode
Inline Math Node ($...$)
LabelNode
Label Definition Node (\label{key}) Does not render; records label definition.
LatexPair
LayoutNode
Fine layout primitives used by \raisebox and \rule. Dimensions are retained in TeX form and resolved by the renderer.
ManualSizedDelimiterNode
Manual Sized Delimiter Node (e.g., \big(, \Big[)
MathLapNode
Zero-width Lap Node (\mathclap, \mathllap, \mathrlap) Renders content but treats its width as zero (or zero on one side).
MathStyleNode
Math Style Node (controls formula size context)
MatrixNode
Matrix Node
ModOperatorNode
Modulo Operator Node (\pmod, \bmod)
MulticolumnNode
Multicolumn Cell Node (\multicolumn{num}{align}{content})
MultlineNode
Multline Environment Node
NegationNode
Negation Modifier Node (\not) Overlays a slash on a relational symbol to indicate negation. Example: \not= -> ≠, \not\in -> ∉
NewCommandNode
NewCommand Definition Node (\newcommand)
NewEnvironmentNode
Custom Environment Definition Node (\newenvironment) Does not render; records environment definition.
NewLineNode
NewLine Node
OperatorNameNode
Operator Name Node (\operatorname{Tr})
OperatorNode
Operator Node
PhantomNode
Phantom Node (\phantom)
PrescriptNode
Prescript Node (\prescript{sup}{sub}{base}) Places sub/superscripts to the left of the base symbol.
RefNode
Reference Node (\ref{key}) Renders the referenced label number.
RootNode
Root Node
RowGap
Helper class for Matrix and Array spacing
SectionHeadingNode
Section Heading Node (\section, \subsection, etc.)
SideSetNode
Side Set Node (\sideset{_a^b}{_c^d}{\sum}) Places sub/superscripts at the four corners of a large operator.
SmashNode
Smash Node (\smash) Treats content height or depth as zero for spacing fine-tuning.
SpaceNode
Space Node
SplitNode
Split Environment Node
StackNode
Stack Node
StyleNode
Style Node
SubequationsNode
Subequations Environment Node
SubscriptNode
Subscript Node (_)
SubstackNode
Multiline Subscript Condition Node (\substack) Used for multiline conditions below/above large operators.
SuperscriptNode
Superscript Node (^)
SymbolNode
Symbol Node
TabularNode
Tabular Environment Node (\begin{tabular}{ccc}...)
TagNode
Formula Numbering Tag Node (\tag, \tag*)
TensorIndex
Helper class for Tensor indices (Boolean indicates whether index is a superscript)
TensorNode
Tensor/Index Node (\tensor{T}{^a_b^c}) Used in physics to arrange multiple sub/superscript indices.
TextDirectionNode
Text Direction Node (RTL/LTR switching)
TextModeNode
Text Mode Node (Plain text inside math mode)
TextNode
Text Node
VPhantomNode
Vertical Phantom Node (\vphantom) Preserves height/baseline but sets width to zero.

Enums

AccentType
AlignType
对齐类型枚举
ArrowDirection
可扩展箭头方向枚举
BinomialStyle
二项式系数风格枚举
BoxStyle
边框样式
CasesStyle
Cases 环境风格枚举
FractionStyle
Fraction styles enum
HeadingLevel
章节标题层级
LapType
零宽叠加类型
LayoutType
LimitsMode
极限位置模式
MathStyleType
数学模式类型枚举
MatrixType
矩阵类型枚举
ModStyle
取模风格
Notation
MathML notation 围框/删除线类型
SizeType
SmashType
Smash 压缩类型
SpaceType
空格类型枚举
StyleType
字体样式枚举
TextDirectionType
文本方向