Properties
Readonly applyUnit
apply
Unit: StylerFn<string | number, [IUnitBase]>
Readonly applyUnitFunction
apply
UnitFunction: StylerFn<string | number, [IUnitBase]>
Readonly number
number: StylerFn<number>
Readonly numberPrecision
numberPrecision: number
Readonly numberSpecials
numberSpecials: Map<number, string>
Readonly numberTrimTrailingZero
numberTrimTrailingZero: boolean
Readonly unitFraction
unitFraction: StylerFn<string, [string]>
Readonly variable
variable: StylerFn<string>
This handles adding style formatting to the syntactic expressions components during LaTeX generation. It consists of a set of Styler functions, each of which can modify the generated LaTeX, typically by wrapping it with additional directives.
The Style.set, Style.wrap, and [[Style.wrapWith]] methods can be chained to provide any combination.