MathML教程

MathML mover

<mover> 标签用于绘制上标。它在表达式上添加重音或限制。

语法

这是使用此标签的简单语法-
<mover> base overscript </mover>

参数

这里是这个标签的所有参数的描述-
base-绘制上标的基础表达式。 &overscript-上标。

属性

这里是这个标签的所有属性的描述-
accent-如果为真,over-script 是一个重音,并且更接近基本表达式。如果为 false,则过度脚本是对基本表达式的限制。默认值为 false。 align-指定覆盖脚本的对齐方式。有效的有:左、中和右。 class、id、style-与样式表一起使用。 href-指定指向指定 uri 的超链接。 mathbackground-指定背景颜色。有效格式为#rgb、#rrggbb 和 html 颜色名称。 mathcolor-指定文本颜色。有效格式为#rgb、#rrggbb 和 html 颜色名称。

示例

让我们画一个上标。
<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>

输出

x + y + z
昵称: 邮箱:
Copyright © 2022 立地货 All Rights Reserved.
备案号:京ICP备14037608号-4