Skip to main content

Interface: MathJaxRenderOptions

Defined in: src/mobjects/text/MathJaxRenderer.ts:26

Properties​

color?​

optional color: string

Defined in: src/mobjects/text/MathJaxRenderer.ts:34

Color applied to the output (CSS color string). Default: '#ffffff'


displayMode?​

optional displayMode: boolean

Defined in: src/mobjects/text/MathJaxRenderer.ts:28

Display mode (block) vs inline mode. Default: true


macros?​

optional macros: Record<string, string>

Defined in: src/mobjects/text/MathJaxRenderer.ts:32

Custom macros as { name: expansion }.


preamble?​

optional preamble: string

Defined in: src/mobjects/text/MathJaxRenderer.ts:30

Custom LaTeX preamble (e.g. '\usepackage{amsmath}'). Merged with defaults.