Skip to main content

Function: ensureKatexStyles()

ensureKatexStyles(): void

Defined in: mobjects/text/katexStyles.ts:16

Ensure KaTeX styles are loaded in the document. This is called automatically by MathTex on first use.

The stylesheet is loaded from a CDN for convenience. In production, you may want to bundle the CSS directly.

Returns

void