Function: renderLatexToSVG()
renderLatexToSVG(
texString,options):Promise<MathJaxRenderResult>
Defined in: mobjects/text/MathJaxRenderer.ts:255
Render a LaTeX string to SVG using MathJax and convert the result into VMobject paths suitable for manim-web animation.
IMPORTANT: The returned VMobject coordinates are raw MathJax SVG font units
(not world units and not normalized to [0, 1]). MathTex applies the final
point->world conversion during _scaleToTarget().
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.