math:msqrt (in formatting mode) — Formatting a square root.

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

Its children constitute a row and must be treated using the same mechanisms that for the `mrow`

.
First of all, the children are computed using the `subMrow`

template (like an `mrow`

). A space is added
before the children to allow drawing of the square root symbol in front of them. The space value is computed using `rtFrnSpcFac`

value from the global parameters with respect to the current font size.

The box representation is then computed the same way as in an `mrow`

element. However, in opposition to `mrow`

a space is added on the top of the box to draw the square root line over the child elements. This value is coming from the global
parameters (`rtTopFac`

).

Finally, the tree is annotated the same way as an `mrow`

element.