Skip to main content

Interface: MathJaxRenderOptions

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

Properties

color?

optional color: string

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

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


displayMode?

optional displayMode: boolean

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

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


fontScale?

optional fontScale: number

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

Font scale relative to surrounding text (em). Default: 1


macros?

optional macros: Record<string, string>

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

Custom macros as { name: expansion }.


preamble?

optional preamble: string

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

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