math:mtr (in formatting mode) — This element represent a row of a table.

<xsl:template match="math:mtr" mode="formatting"> <xsl:param name="x"/> <xsl:param name="y"/> <xsl:param name="baseline" select="0"/> <xsl:param name="tableSpace" tunnel="yes"/> ... </xsl:template>

`mtr`

element is computed like a basic `mrow`

element. It is composed by one or more
`mtd`

children.

After computing the current font size, the cells that compose the row are computed by using the `alignRow`

template in
order to align all the cells on the same baseline. After that, the box representation of the row is computed. The height is the difference
between the highest and the lowest `Y`

coordinate among all the children. The width is the sum of all the cells width plus
a space between them (using the `tableSpace`

global parameter). The baseline is the lowest baseline among children and
upper left corner `Y`

coordinate is the lowest `Y`

coordinate among all the children.

The `columnalign`

is then retrieved. The default value is `inherited`

if no one is specified.

Finally, the tree is annotated by using the box representation, the shift value —as it is computed in an `mrow`

element—,
and with `COLUMNALIGN`

attributes.