class Nest
- Corresponding C source code: ltexlib.c#L2325-L2361
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
Nest.mode
the meaning of these numbers depends on the engine and sometimes even the version; you can use tex.getmodevalues()
to get the mapping: positive values signal vertical, horizontal and math mode, while negative values indicate inner and inline variants (all modes).
Nest.modeline
source input line where this mode was entered in, negative inside the output routine (all modes).
Nest.head
Nest.head : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
the head of the current list (all modes).
Nest.tail
Nest.tail : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
the tail of the current list (all modes).
Nest.prevgraf
number of lines in the previous paragraph (vertical mode).
Nest.prevdepth
depth of the previous paragraph (vertical mode).
Nest.spacefactor
the current space factor (horizontal mode).
Nest.dirs
Nest.dirs : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
used for temporary storage by the line break algorithm (horizontal mode).
Nest.noad
Nest.noad : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
used for temporary storage of a pending fraction numerator, for over
etc. (math mode).
Nest.delimptr
Nest.delimptr : Node {
next: Node?,
prev: Node?,
id: integer,
subtype: integer,
head: Node?,
attr: Node,
}
used for temporary storage of the previous math delimiter, for middle
(math mode).
Nest.mathdir
true when during math processing the mathdir
is not the same as the surrounding textdir
(math mode).
Nest.mathstyle
mmode the current mathstyle