Docsv3.30.0
Back to API Reference
Class

LatexSizeRule

sealed
Inherits:ParseRule

Matches LaTeX size declarations for the paired size modifier: \tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge and \Huge, each holding until the group, environment or table cell around it closes, and their environment forms such as \begin{small}…\end{small}.

Remarks

Sizes follow the standard classes for a 10pt body, relative to the text's font size: \small is 90% and \Large 144%. A later declaration of the same group replaces an earlier one, and the size around a group returns where the group closes. A declaration standing alone on its line takes the line with it. Pair it with SizeModifier; formulas read their own size declarations.
public int Priority{ get }
public string MarkupTriggers{ get }
public string TypingTriggers{ get }
public override void Reset()
public override int TryMatch()
public override void Finalize()