class MarkNode
- supers: Node
A mark node has a mark field that points a token list that contains the user’s \mark
text.
Example:
assert.node_type("mark", nil, {
id = "mark (4)",
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"class (4)",
"mark (5)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L868-L871
- Donald Ervin Knuth. “TeX: The Program”: section 141, page 42 tex.pdf
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
MarkNode.subtype
unused
MarkNode.attr
MarkNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
MarkNode.class
the mark class
MarkNode.mark
a table representing a token list