Documentation
¶
Overview ¶
Package tex implements the TeX math frontend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Macro ¶
Macro is a host-provided TeX macro.
Args is the number of undelimited arguments, from zero through nine.
type Options ¶
Options configure TeX parsing. Map keys in Macros may be supplied with or without the leading backslash. References maps decoded \label names to host- supplied visible reference text. Values are inserted verbatim inside the parentheses emitted by \eqref; they are not parsed as TeX.
type Result ¶
type Result struct {
Root ir.Node
Tags []ir.EquationTag
Labels []ir.EquationLabel
Diagnostics []source.Diagnostic
Arena *irarena.Arena
}
Result is a recoverable parse result.