Interface: TypstOptions
Defined in: src/mobjects/text/Typst.ts:37
Properties
color?
optionalcolor:string
Defined in: src/mobjects/text/Typst.ts:41
Color as CSS color string. Default: WHITE ('#ffffff').
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/text/Typst.ts:49
Fill opacity for glyph interiors. Default: 1.
fontSize?
optionalfontSize:number
Defined in: src/mobjects/text/Typst.ts:43
Scale factor (1 = standard size). Default: DEFAULT_FONT_SIZE_PT.
height?
optionalheight:number
Defined in: src/mobjects/text/Typst.ts:51
Explicit target height in world units. Overrides fontSize scaling.
position?
optionalposition:Vector3Tuple
Defined in: src/mobjects/text/Typst.ts:45
Position in 3D space. Default: [0, 0, 0].
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/text/Typst.ts:47
Stroke width for glyph outlines. Default: 0.00001.
typst
typst:
string
Defined in: src/mobjects/text/Typst.ts:39
Typst markup to compile. For MathTypst, math-mode content without $.