tab-alignments

The horizontal text alignments for each tabulator. See tab-alignments for the text alignment of a tabulator. This setting is currently only applied to code blocks.

Availability

Available in: Paragraph, Headers and Footers, Footnotes Area, Figures, Figure Captions, Divider, Block, List, Table, Table Cell, Table of Contents, Table of Contents Item

Type

Array

Available values

Value Description
left The tabulator is left aligned.
right The tabulator is right aligned. The text is positioned right of the tabulator position.
center The text is centered around the tabulator position.

Default value

None.

Inherited

Yes.

Example

block-code {
  tab-positions:    [4em, 8em, 12em]
  tab-alignments:   [right, left, left]
}