7 Alignments

§7.1 TeX Alignments

NOTE This section needs to be written.

Many utilities for setting up and processing alignments are defined in TeX.pool with support from the module (LaTeXML::Core::)Alignment. Typically, one binds a set of control sequences specially for the alignment environment or structure encountered, particularly for & and \\. An alignment object is created which records information about each row and cell that was processed, such as width, alignment, span, etc. Then the alignment is converted to XML by specifying what tag wraps the entire alignment, each row and each cell.

The content of aligments is being expanded before the column and row markers are recognized; this allows more flexibility in defining markup since row and column markers can be hidden in macros, but it also means that simple means, such as delimited parameter lists, to parse the structure won’t work.