MathML Overscript

MathML overscript is created with <mover> element. It attaches an accent or a limit over an expression.

Syntax:

  1. <mover> base overscript </mover>   

Example

To write the following expression:

Mathml overscript 1

Equivalent MathML code:

  1. <math xmlns=’http://www.w3.org/1998/Math/MathML’ display=’block’>    
  2. <mover accent=”true”>    
  3.   <mrow>    
  4.     <mi> x </mi>    
  5.     <mo> + </mo>    
  6.     <mi> y </mi>    
  7.     <mo> + </mo>    
  8.     <mi> z </mi>    
  9.   </mrow>    
  10.   <mo>    ⏞ <!– Top Curly braces  –>  
  11.  </mo>    
  12. </mover>     
  13. </math>    

Attributes of Overscript Element

indexAttributeDescription
1)accentIf it is set true the over-script is an accent, which is drawn closer to the base expression. If false (default value) the over-script is a limit over the base expression.
2)alignIt is used to specify the alignment of the over-script. 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
<mover>Not SupportedNot SupportedSupportedNot SupportedOnly Basic Support

Comments

Leave a Reply

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