Skip to main content

Interface: MathJaxRenderOptions

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

Properties

color?

optional color: string

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

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


displayMode?

optional displayMode: boolean

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

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


macros?

optional macros: Record<string, string>

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

Custom macros as { name: expansion }.


preamble?

optional preamble: string

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

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