Properties
Readonly applyUnitFunction
Readonly call
call
: StylerFn<IPFunctionCalculus<number, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>> | IPFunctionBase<Point, Unit<UnitTerms>, 1> | IPFunctionBase<Orientation, Unit<UnitTerms>, 1> | IPFunctionCalculus<Vector<Unit<CompleteTerms<{ length
: 1 }>>, Unit<DivideTerms<CompleteTerms<{ length
: 1 }>, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<CompleteTerms<{ length
: 1 }>, CompleteTerms<{ time
: 1 }>>>>, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>> | IPFunctionCalculus<Rotation<Unit<CompleteTerms<{ angle
: 1 }>>>, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>>, [string[]]>
Readonly function
function
: StylerFn<IPFunctionCalculus<number, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>> | IPFunctionBase<Point, Unit<UnitTerms>, 1> | IPFunctionBase<Orientation, Unit<UnitTerms>, 1> | IPFunctionCalculus<Vector<Unit<CompleteTerms<{ length
: 1 }>>, Unit<DivideTerms<CompleteTerms<{ length
: 1 }>, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<CompleteTerms<{ length
: 1 }>, CompleteTerms<{ time
: 1 }>>>>, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>> | IPFunctionCalculus<Rotation<Unit<CompleteTerms<{ angle
: 1 }>>>, Unit<UnitTerms>, 1, Unit<DivideTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>, Unit<MultiplyTerms<UnitTerms, CompleteTerms<{ time
: 1 }>>>>, any[]>
Readonly number
number: StylerFn<number, any[]>
Readonly numberPrecision
numberPrecision: number
Readonly numberSpecials
numberSpecials: Map<number, string>
Readonly numberTrimTrailingZero
numberTrimTrailingZero: boolean
Readonly unitFraction
unitFraction: StylerFn<string, [string]>
Readonly unitProduct
unitProduct: StylerFn<string[], any[]>
Readonly variable
variable: StylerFn<string, any[]>
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.