Back to API Reference
Class
LatexAlignmentRule
sealed
Inherits:ParseRule
Matches LaTeX alignment for the paired alignment modifier: the center, flushleft, flushright and justify environments, each set on lines of its own, and the declarations \centering, \raggedright, \raggedleft, \justifying and \justify, which hold until the group, environment or table cell around them closes.
Remarks
flushleft and \raggedright align to the start of the writing direction, flushright and \raggedleft to its end; the capitalized ragged2e forms such as \Centering read the same. Tables and other blocks standing in an aligned group align with it, while their cells keep their own alignment. A \\ right after the end of an environment ends no line and goes with it. Pair it with AlignmentModifier. Registered beside TabularParseRule, it takes these environments and declarations over, tables aligning with them as with any aligned paragraph.
