math:munderover (in formatting mode) — Formatting both an underscript and an overscript.
<xsl:template match="math:munderover" mode="formatting"> <xsl:param name="x"/> <xsl:param name="y"/> <xsl:param name="baseline" select="0"/> <xsl:param name="scriptlevel" tunnel="yes"/> <xsl:param name="displayStyle" tunnel="yes"/> <xsl:param name="overUnderSpace" tunnel="yes"/> ... </xsl:template>
It consists of three children: the base is the first, the underscript is the second and the overscript is the third.
This element is formatted as a combination of both an mover
and an munder
element. It first
computes the base, then the underscript and finally the overscript. These two last elements are computed in two passes to handle
correctly the accent
attributes. These two passes are done the same way as for mover
element.
The box representation is then computed. The height is the sum of each element's height plus the overscript and the underscript shift value.
The width is the width of the largest element among the base, the overscript and the underscript. The baseline is the base's one and the
upper left corner Y
is the Y
coordinate of the overscript box top edge.
The tree is finally annotated with box representation and with all shift values from both mover
and munder
elements. The x-axis shift values are computed to center each element.