English 中文(简体)
MathML - Overscript
  • 时间:2024-12-22

MathML - Overscript


Previous Page Next Page  

<mover> tag is used to draw overscript. It adds an accent or a pmit over an expression.

Syntax

Here is the simple syntax to use this tag −

<mover> base overscript </mover>

Parameters

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

    base − base expression on which the overscript is to be drawn.

    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 pmit over the base expression. Default is false.

    apgn − To specify the apgnment of the over-script. Vapd are: left, center, and right.

    class, id, style − Used with stylesheets.

    href − To specify a hyperpnk to a specified uri.

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

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

Example

Let s draw an overscript.

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

Output

x + y + z Advertisements