MathML教程

MathML menclose

<menclose> 标签用于在其 notation 属性指定的封闭符号内呈现内容。它接受一个参数作为推断的多个孩子的 mrow。

语法

这是使用此标签的简单语法-
<menclose> expression </menclose>

参数

这里是这个标签的所有参数的描述-
expression-表达式。

属性

这里是这个标签的所有属性的描述-
notation-指定一个空格分隔的符号列表,用于包含子元素。有效值为 longdiv、精算、相量角、部首、框、圆角框、圆、左、右、顶部、底部、updiagonalstrike、downdiagonalstrike、verticalstrike、horizo​​ntalstrike、northeastarrow、madruwb、text。默认为 longdiv。

示例

<math xmlns = "http://www.w3.org/1998/Math/MathML">
   <mi>C</mi>
   <mrow>
      <menclose notation = 'phasorangle'>
         <mrow>
            <mo>−</mo>
            <mfrac>
               <mi>π</mi>
               <mn>2</mn>
            </mfrac>
         </mrow>
      </menclose>
   </mrow>
</math>

输出

C - π 2
昵称: 邮箱:
Copyright © 2022 立地货 All Rights Reserved.
备案号:京ICP备14037608号-4