Skip to main content

Interface: TangleTexOptions

Defined in: src/mobjects/text/tangle/TangleTex.ts:51

Extends​

Properties​

anchor?​

optional anchor: 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'.

Inherited from​

MathTexOptions.anchor


color?​

optional color: 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)

Inherited from​

MathTexOptions.color


displayMode?​

optional displayMode: boolean

Defined in: src/mobjects/text/MathTex.ts:37

Use display mode (block) vs inline mode. Default: true

Inherited from​

MathTexOptions.displayMode


fillOpacity?​

optional fillOpacity: number

Defined in: src/mobjects/text/MathTex.ts:43

Fill opacity for glyph interiors. Default: 1

Inherited from​

MathTexOptions.fillOpacity


fontSize?​

optional fontSize: number

Defined in: src/mobjects/text/MathTex.ts:35

Scale factor (1 = standard math size). Default: 1

Inherited from​

MathTexOptions.fontSize


height?​

optional height: number

Defined in: src/mobjects/text/MathTex.ts:45

Explicit target height in world units. Overrides fontSize scaling.

Inherited from​

MathTexOptions.height


latex​

latex: string

Defined in: src/mobjects/text/tangle/TangleTex.ts:53

LaTeX with \tangle{name} and \tanglematrix{name} markers.


macros?​

optional macros: Record<string, string>

Defined in: src/mobjects/text/MathTex.ts:47

Custom LaTeX macros as { name: expansion }.

Inherited from​

MathTexOptions.macros


matrices?​

optional matrices: Record<string, TangleMatrix>

Defined in: src/mobjects/text/tangle/TangleTex.ts:57

Configuration of each \tanglematrix{name}.


parameters?​

optional parameters: Record<string, TangleParam>

Defined in: src/mobjects/text/tangle/TangleTex.ts:55

Configuration of each \tangle{name}.


position?​

optional position: Vector3Tuple

Defined in: src/mobjects/text/MathTex.ts:39

Position in 3D space. Default: [0,0,0]

Inherited from​

MathTexOptions.position


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/text/MathTex.ts:41

Stroke width for glyph outlines. Default: 0

Inherited from​

MathTexOptions.strokeWidth