Interface: MathTexOptions
Defined in: src/mobjects/text/MathTex.ts:29
Properties
anchor?
optionalanchor:MathTexAnchor
Defined in: src/mobjects/text/MathTex.ts:53
Which horizontal point stays fixed when MathTex.setLatex changes
the width: 'center', the 'left' edge, or the 'right' edge. The
vertical center always stays fixed. Default: 'center'.
color?
optionalcolor:string
Defined in: src/mobjects/text/MathTex.ts:33
Color as CSS color string. Default: the active theme's fill color (WHITE under the default theme)
displayMode?
optionaldisplayMode:boolean
Defined in: src/mobjects/text/MathTex.ts:37
Use display mode (block) vs inline mode. Default: true
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/text/MathTex.ts:43
Fill opacity for glyph interiors. Default: 1
fontSize?
optionalfontSize:number
Defined in: src/mobjects/text/MathTex.ts:35
Scale factor (1 = standard math size). Default: 1
height?
optionalheight:number
Defined in: src/mobjects/text/MathTex.ts:45
Explicit target height in world units. Overrides fontSize scaling.
latex
latex:
string|string[]
Defined in: src/mobjects/text/MathTex.ts:31
LaTeX string or array of strings for multi-part expressions.
macros?
optionalmacros:Record<string,string>
Defined in: src/mobjects/text/MathTex.ts:47
Custom LaTeX macros as { name: expansion }.
position?
optionalposition:Vector3Tuple
Defined in: src/mobjects/text/MathTex.ts:39
Position in 3D space. Default: [0,0,0]
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/text/MathTex.ts:41
Stroke width for glyph outlines. Default: 0