figureone
    Preparing search index...

    Module latexToFigureOne

    LaTeX to FigureOne equation form converter.

    Converts a LaTeX math expression string into FigureOne elements and form objects that can be passed directly to figure.add({ make: 'equation', ... }).

    Supported LaTeX constructs:

    • Fractions: \frac{a}{b}
    • Superscripts / subscripts: x^2, x_{ij}, x_i^2
    • Square roots: \sqrt{x}, \sqrt[n]{x}
    • Integrals: \int, \int_{a}^{b} f(x),dx
    • Sums / products: \sum_{i=1}^{n}, \prod_{k=0}^{n}
    • Brackets: \left( ... \right), \left[ ... \right], \left{ ... \right}
    • Overline / underline: \overline{x}, \underline{x}
    • Accents: \hat{x}, \tilde{x}, \dot{x}, \vec{x}
    • Greek letters: \alpha, \Beta, etc.
    • Operators: \sin, \cos, \lim, \log, etc.
    • Symbols: \cdot, \times, \pm, \infty, \to, \partial, etc.
    • Spacing: , ; \quad \qquad
    • Text mode: \text{...}, \mathrm{...}

    Functions

    latexToFigureOne

    Interfaces

    LatexResult