The ABOVE element

Permitted Context: %math
Content Model: %math

The <ABOVE> element is used to draw a line, arrow, curly bracket, or accent above the expression enclosed by this element. Stretchy symbols should be stretched to match the width of the enclosed expression. For example:

                                     _____
    <above>X + Y</above>    giving   X + Y

                                               =====
    <above sym=equals>X + Y</above>   giving   X + Y

You can also place an expression centered above the line or arrow with the SUP element or its shortref form, for example:

<above sym=cub>n(n - 1)(n - 2)&dots;(n - m + 1)</above>
<sup><text>total of m factors</text></sup>

which would be rendered as (within limits of ascii art):

           total of m factors
    /---------------^-------------\
    n(n - 1)(n - 2) ... (n - m + 1)

Permitted Attributes

SYM
An entity name for a symbol, e.g. cub for a curly bracket (brace). Defaults to line. The other choices are: larr (left arrow), rarr (right arrow), hat and tilde.

Note: Don't include the & prefix, so <above sym="&rarr;"> is wrong!