Skip to main content

Function: renderLatexToSVG()

renderLatexToSVG(texString, options): Promise<MathJaxRenderResult>

Defined in: mobjects/text/MathJaxRenderer.ts:248

Render a LaTeX string to SVG using MathJax and convert the result into VMobject paths suitable for manim-web animation.

Parameters

texString

string

The raw LaTeX to render (without delimiters).

options

MathJaxRenderOptions = {}

Rendering options.

Returns

Promise<MathJaxRenderResult>

A MathJaxRenderResult containing the SVG element and VMobject group.