MathML Underscript

MathML underscript is created with the <munder> tag. It attaches an accent or limit under an expression.

Syntax:

  1. <munder> base underscript </munder>  

Example

To write the following expression:

Mathml Underscript 1

Equivalent MathML code:

  1. <math xmlns=’http://www.w3.org/1998/Math/MathML’ display=’block’ >  
  2. <math>  
  3. <munder accentunder=”true”>  
  4.   <mrow>  
  5.     <mi> x </mi>  
  6.     <mo> + </mo>  
  7.     <mi> y </mi>  
  8.     <mo> + </mo>  
  9.     <mi> z </mi>  
  10.   </mrow>  
  11.   <mo> ⏟ <!–BOTTOM CURLY BRACKET–> </mo>  
  12. </munder>   
  13. </math>  

Attributes of Underscript Element

IndexAttributeDescription
1)accentunderIf it is set true, the element is an accent, which is drawn closer to the base expression. If false (default value), the element is a limit under the base expression.
2)alignIt specifies the alignment of the underscript. Its possible values are: left, center, and right.
3)class, id, styleThese are used with stylesheets.
4)hrefIt is used to set a hyperlink to a specified URI.
5)mathbackgroundIt is used to specify background color. You can use #rgb, #rrggbb and html color names.
6)mathcolorIt is used to set text color. You can use #rgb, #rrggbb and html color names.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefox (Gecko)opera browser Operasafari browser Safari
<munder>Not SupportedNot SupportedSupportedNot SupportedOnly Basic Support

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *