Skip to main content

The PreTeXt Guide

Subsection 4.18.7 Table Cell Alignment

The horizontal alignment of the contents of a <cell> can be influenced by the @halign attribute with values left, right, center, and for “paragraph cells,” justify. Similarly the @valign attribute will influence the vertical alignment through values top, middle, and bottom. Default alignments are left and middle.
To align the cells of an entire <row>, <col>, or <tabular> identically, place the relevant attribute on the relevant element. Note that these choices can be overridden by different values on individual consituents.