利用者:Senseequal/MathML

出典: フリー教科書『ウィキブックス(Wikibooks)』

42[編集]

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mn>42</mn>
</math>

要素[編集]

ほとんどすべてmから始まる。

基礎[編集]

math
数学 (math)
mfenced
グループ化 -- つまり括弧で囲む (fenced)
mfrac
分数 (fraction)
mi
文字 (identifier)
mn
数 (number)
mo
演算子 (operator)
mover
上部 (over)
mroot
冪根 (root of power)
mrow
列 (row)
msqrt
平方根 (square root)
msub
下付き添字 (subscript)
msup
上付き添字 (superscript)
munder
下部 (under)

発展[編集]

mmultiscripts
左右上下付き添字 (multiscripts)
mprescripts
文字を前に置く (prescripts)
msubsup
下付き添字 (subscript) と上付き添字 (superscript)
mtable
表 (table)
mtd
表のデータ (table data)
mtr
表の列 (table row)
munderover
上部 (over) と下部 (under)
none
何もない (none)

絶対値[編集]

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <mfenced open="|" close="|">
        <mi>a</mi>
    </mfenced>
    <mo>=</mo>
    <msqrt>
        <msup>
            <mi>a</mi>
            <mn>2</mn>
        </msup>
    </msqrt>
</math>