class MathTextCharNode
- supers: Node
The math_text_char
is a special
case that you will not normally encounter, it arises temporarily during math list
conversion (its sole function is to suppress a following italic correction).
Example:
assert.node_type("math_text_char", nil, {
id = "math_text_char (26)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"fam (4)",
"char (5)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L887-L890
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
MathTextCharNode.attr
MathTextCharNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
MathTextCharNode.char
The character index.
MathTextCharNode.fam
The family number.