Skip to main content

Interface: MathTableOptions

Defined in: src/mobjects/table/TableVariants.ts:17

Options for creating a MathTable

Extends​

Properties​

arrangeInRowsFirst?​

optional arrangeInRowsFirst: boolean

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

Whether to arrange entries in rows. Default: true

Inherited from​

TableOptions.arrangeInRowsFirst


backgroundFillOpacity?​

optional backgroundFillOpacity: number

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

Background fill opacity. Default: 0

Inherited from​

TableOptions.backgroundFillOpacity


backgroundStrokeColor?​

optional backgroundStrokeColor: string

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

Background color for cells. Default: transparent

Inherited from​

TableOptions.backgroundStrokeColor


colLabels?​

optional colLabels: string[]

Defined in: src/mobjects/table/TableVariants.ts:23

Column labels as LaTeX strings


color?​

optional color: string

Defined in: src/mobjects/table/TableVariants.ts:27

Color for all entries. Default: WHITE


data​

data: string[][]

Defined in: src/mobjects/table/TableVariants.ts:19

2D array of LaTeX strings


entriesColor?​

optional entriesColor: string

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

Color for all entries. If set, overrides individual colors

Inherited from​

TableOptions.entriesColor


fontSize?​

optional fontSize: number

Defined in: src/mobjects/table/TableVariants.ts:25

Font size for MathTex entries. Default: 36


hBuff?​

optional hBuff: number

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

Horizontal buffer between cells. Default: 0.5

Inherited from​

TableOptions.hBuff


includeOuterLines?​

optional includeOuterLines: boolean

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

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

Inherited from​

TableOptions.includeOuterLines


lineColor?​

optional lineColor: string

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

Color of the grid lines. Default: WHITE

Inherited from​

TableOptions.lineColor


lineStrokeWidth?​

optional lineStrokeWidth: number

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

Stroke width of grid lines. Default: 2

Inherited from​

TableOptions.lineStrokeWidth


position?​

optional position: Vector3Tuple

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

Starting position. Default: ORIGIN

Inherited from​

TableOptions.position


rowLabels?​

optional rowLabels: string[]

Defined in: src/mobjects/table/TableVariants.ts:21

Row labels as LaTeX strings


topLeftEntry?​

optional topLeftEntry: Mobject

Defined in: src/mobjects/table/Table.ts:27

Top-left element when both row and column labels exist

Inherited from​

TableOptions.topLeftEntry


vBuff?​

optional vBuff: number

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

Vertical buffer between cells. Default: 0.3

Inherited from​

TableOptions.vBuff