English 中文(简体)
MathML - Underscript
  • 时间:2024-09-17

MathML - Underscript


Previous Page Next Page  

<munder> tag is used to draw underscript. It adds an accent or a pmit 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 pmit over the base expression. Default is false.

    apgn − To specify the apgnment of the under-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 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