See also the class MathAtom
Classes
- MathAtom
Methods
decompose(context: Context, atoms: MathAtom | MathAtom[]): Span[]privatestatic
Return a list of spans equivalent to atoms. A span is the most elementary type possible, for example 'text' or 'vlist', while the input atoms may be more abstract and complex, such as 'genfrac'
makeRoot(parseMode: string, body: MathAtom[]): MathAtom[]privatestatic
Return an atom suitable for use as the root of a formula.
parseMode
:
string
body
:
MathAtom[]