Skip to main content

Interface: MathTableOptions

Defined in: mobjects/table/Table.ts:592

Options for creating a MathTable

Extends

Properties

arrangeInRowsFirst?

optional arrangeInRowsFirst: boolean

Defined in: mobjects/table/Table.ts:41

Whether to arrange entries in rows. Default: true

Inherited from

TableOptions.arrangeInRowsFirst


backgroundFillOpacity?

optional backgroundFillOpacity: number

Defined in: mobjects/table/Table.ts:47

Background fill opacity. Default: 0

Inherited from

TableOptions.backgroundFillOpacity


backgroundStrokeColor?

optional backgroundStrokeColor: string

Defined in: mobjects/table/Table.ts:45

Background color for cells. Default: transparent

Inherited from

TableOptions.backgroundStrokeColor


colLabels?

optional colLabels: string[]

Defined in: mobjects/table/Table.ts:598

Column labels as LaTeX strings


color?

optional color: string

Defined in: mobjects/table/Table.ts:602

Color for all entries. Default: WHITE


data

data: string[][]

Defined in: mobjects/table/Table.ts:594

2D array of LaTeX strings


entriesColor?

optional entriesColor: string

Defined in: mobjects/table/Table.ts:43

Color for all entries. If set, overrides individual colors

Inherited from

TableOptions.entriesColor


fontSize?

optional fontSize: number

Defined in: mobjects/table/Table.ts:600

Font size for MathTex entries. Default: 36


hBuff?

optional hBuff: number

Defined in: mobjects/table/Table.ts:35

Horizontal buffer between cells. Default: 0.5

Inherited from

TableOptions.hBuff


includeOuterLines?

optional includeOuterLines: boolean

Defined in: mobjects/table/Table.ts:31

Whether to include outer lines around the table. Default: true

Inherited from

TableOptions.includeOuterLines


lineColor?

optional lineColor: string

Defined in: mobjects/table/Table.ts:37

Color of the grid lines. Default: WHITE

Inherited from

TableOptions.lineColor


lineStrokeWidth?

optional lineStrokeWidth: number

Defined in: mobjects/table/Table.ts:39

Stroke width of grid lines. Default: 2

Inherited from

TableOptions.lineStrokeWidth


position?

optional position: Vector3Tuple

Defined in: mobjects/table/Table.ts:49

Starting position. Default: ORIGIN

Inherited from

TableOptions.position


rowLabels?

optional rowLabels: string[]

Defined in: mobjects/table/Table.ts:596

Row labels as LaTeX strings


topLeftEntry?

optional topLeftEntry: Mobject

Defined in: mobjects/table/Table.ts:29

Top-left element when both row and column labels exist

Inherited from

TableOptions.topLeftEntry


vBuff?

optional vBuff: number

Defined in: mobjects/table/Table.ts:33

Vertical buffer between cells. Default: 0.3

Inherited from

TableOptions.vBuff