class AdjustNode
- supers: Node
An adjust node, which occurs only in horizontal lists, specifies material that will be moved out into the surrounding vertical list; i.e., it is used to implement TeX’s \vadjust
operation.
Example:
assert.node_type("adjust", nil, {
id = "adjust (5)",
subtypes = { "normal (0)", "pre (1)" },
fields = {
"prev (-1)",
"next (0)",
"id (1)",
"subtype (2)",
"attr (3)",
"head (4)",
},
})
Reference:
- Corresponding C source code: texnodes.c#L725-L727
- Donald Ervin Knuth. “TeX: The Program”: section 142, page 42 tex.pdf
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
AdjustNode.subtype
AdjustNode.attr
AdjustNode.attr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
A list of attributes.
AdjustNode.head
AdjustNode.head : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
adjusted material
AdjustNode.list
AdjustNode.list : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
adjusted material