Back to API Reference
Class
MathModifier
Inherits:BaseModifier
Typesets formulas captured by MathParseRule with metrics and stretchy glyphs from a dedicated OpenType MATH font.
Remarks
A formula fails on its own, never the rest of the text: one that does not parse shows its source text between vertical bars and rules, and each distinct such formula logs one warning. Characters the math font lacks render upright in the text's fonts; white space and default-ignorable code points such as bidi controls are skipped. A missing or unusable math font still fails the text. A formula from LaTeX display delimiters is set in display style whatever mode says, on a centred line of its own.
public UniTextFont MathFont{ get; set }public MathMode Mode{ get; set }