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:40

Whether to arrange entries in rows. Default: true

Inherited from​

TableOptions.arrangeInRowsFirst


backgroundFillOpacity?​

optional backgroundFillOpacity: number

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

Background fill opacity. Default: 0

Inherited from​

TableOptions.backgroundFillOpacity


backgroundStrokeColor?​

optional backgroundStrokeColor: string

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

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:42

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:34

Horizontal buffer between cells. Default: 0.5

Inherited from​

TableOptions.hBuff


includeInnerLines?​

optional includeInnerLines: boolean

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

Whether to include inner grid lines between cells. Default: true

Inherited from​

TableOptions.includeInnerLines


includeOuterLines?​

optional includeOuterLines: boolean

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

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:36

Color of the grid lines. Default: WHITE

Inherited from​

TableOptions.lineColor


lineStrokeWidth?​

optional lineStrokeWidth: number

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

Stroke width of grid lines. Default: 2

Inherited from​

TableOptions.lineStrokeWidth


position?​

optional position: Vector3Tuple

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

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:26

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:32

Vertical buffer between cells. Default: 0.3

Inherited from​

TableOptions.vBuff