MathML - Underscript



<munder> tag is used to draw underscript. It adds an accent or a limit under an expression.

Syntax

Here is the simple syntax to use this tag −

<munder> base underscript </munder>

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.

Attributes

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

  • 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.

  • class, id, style − Used with stylesheets.

  • href − To specify a hyperlink to a specified uri.

  • mathbackground − To specify the background color. Valid formats are #rgb, #rrggbb and html color names.

  • mathcolor − To specify the text color. Valid formats are #rgb, #rrggbb and html color names.

Example

Let's draw an underscript.

<math xmlns = "http://www.w3.org/1998/Math/MathML"> <munder accent="true"> <mrow> <mi> x </mi> <mo> + </mo> <mi> y </mi> <mo> + </mo> <mi> z </mi> </mrow> <mo>&#x23F;</mo> </munder> </math>

Output

x + y + z ȿ
Advertisements