Interface: MathTexSVGOptions
Defined in: mobjects/text/MathTexSVG.ts:19
Properties
color?
optionalcolor:string
Defined in: mobjects/text/MathTexSVG.ts:23
Color as CSS color string. Default: WHITE ('#ffffff')
displayMode?
optionaldisplayMode:boolean
Defined in: mobjects/text/MathTexSVG.ts:27
Use display mode (block) vs inline mode. Default: true
fillOpacity?
optionalfillOpacity:number
Defined in: mobjects/text/MathTexSVG.ts:33
Fill opacity for glyph interiors. Default: 1
fontSize?
optionalfontSize:number
Defined in: mobjects/text/MathTexSVG.ts:25
Scale factor (1 = standard math size). Default: 1
height?
optionalheight:number
Defined in: mobjects/text/MathTexSVG.ts:35
Explicit target height in world units. Overrides fontSize scaling.
latex
latex:
string|string[]
Defined in: mobjects/text/MathTexSVG.ts:21
LaTeX string or array of strings for multi-part expressions.
macros?
optionalmacros:Record<string,string>
Defined in: mobjects/text/MathTexSVG.ts:37
Custom LaTeX macros as { name: expansion }.
position?
optionalposition:Vector3Tuple
Defined in: mobjects/text/MathTexSVG.ts:29
Position in 3D space. Default: [0,0,0]
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/text/MathTexSVG.ts:31
Stroke width for glyph outlines. Default: 2