MathML - Underscript-Overscript


Advertisements


<munderover> tag is used to draw both over and under underscript. It adds an accent or a limit over and under an expression.

Syntax

Here is the simple syntax to use this tag −

<munderover> base underscript overscript </munderover>

Parameters

Here is the description of all the parameters of this tag −

  • base − base expression on which the underscript is to be drawn.

  • underscript − underscript.

  • overscript − overscript.

Attributes

Here is the description of all the attributes of this tag −

  • accent − If true, over-script is an accent, and is drawn closer to the base expression. If false, over-script is a limit over the base expression. Default is false.

  • accentunder − If true, under-script is an accent, and is drawn closer to the base expression. If false, under-script is a limit over the base expression. Default is false.

  • align − To specify the alignment of the under-script. Valid are: left, center, and right. Default is center.

Example

Let's draw an underscript.

Live Demo
<math xmlns = "http://www.w3.org/1998/Math/MathML">
   <mrow>
      <munderover>
         <mo> &#x222B;</mo>
         <mn> 0 </mn>
         <mi> &#x221E;</mi>
      </munderover>
   </mrow>
</math>

Output

0


Advertisements