Expand description
Function definition utilities for KaTeX Rust implementation
This module provides utilities for defining mathematical functions and their properties, similar to the JavaScript defineFunction.js module.
Structs§
- Function
Context - Context structure passed to function handlers during LaTeX function parsing and rendering.
- Function
DefSpec - Complete specification for defining LaTeX mathematical functions in KaTeX.
- Function
Prop Spec - Configuration structure defining properties and parsing behavior for LaTeX mathematical functions.
- Function
Spec - Runtime function specification used during LaTeX parsing and processing.
Functions§
- normalize_
argument - Normalizes a function argument by unwrapping single-element ordered groups.
- ord_
argument - Normalizes a function argument into a list of elements for HTML/MathML rendering.
Type Aliases§
- Function
Handler - Type alias for LaTeX function handlers that process mathematical expressions.
- Html
Builder - Type alias for functions that build HTML DOM nodes from mathematical parse nodes.
- MathML
Builder - Type alias for functions that build MathML DOM nodes from mathematical parse nodes.