Docsv3.20.2
Back to API Reference
Class

MathParseRule

sealed
Inherits:ParseRule

Replaces a formula with one layout placeholder while preserving its source as the modifier parameter: from <math>...</math> tags or LaTeX math delimiters, as Delimiters selects.

Remarks

A display formula takes the line it starts and ends, and a \\ right after it, which in LaTeX would end no line; spaces around it vanish as LaTeX ignores them. A formula without a closing delimiter stays text.
public MathDelimiters Delimiters{ get; set }

Gets or sets the syntax formulas are read from.

public int Priority{ get }
public bool CanWrap{ get }
public string SourceToken{ get }
public string Identity{ get }
public string MarkupTriggers{ get }
public string TypingTriggers{ get }
public override void Reset()
public override int TryMatch()
public override string Apply()