数式ブロック数式
ブロック数式は、行頭からはじまる'\$$'だけの行で前後を囲んで表します(ブロックの前に空行が必要)。
数式表現の詳細仕様は15–8 数式の記述を参照してください。
数式種別をもつIDはブロック範囲指定にも付与できます。するとそのブロックに数式番号をつけることができます。
(1) CAS記法
$$
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mstyle scriptminsize="0">
<mrow>
<munder>
<mo>∏</mo>
<mrow><mi>i</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<mfenced open="(" close=")"><mrow>
<munder>
<mo>Σ</mo>
<mrow><mi>j</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<msub><mi>b</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub>
<msub><mover accent="true"><mi>x</mi><mo></mo></mover><mi>i</mi></msub>
</mrow>
</mrow></mfenced>
</mrow>
<mo>=</mo>
<mrow>
<mfenced open="(" close=")"><mrow>
<munder>
<mo>∏</mo>
<mrow><mi>i</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<msub><mover accent="true"><mi>x</mi><mo></mo></mover><mi>i</mi></msub>
</mrow>
</mrow></mfenced>
</mrow>
<mspace width="0.15em"/>
<mtext>per</mtext>
<mspace width="0.25em"/>
<mi>B</mi>
</mrow>
</mstyle></math>
$$
(2) 表示例
(1) CAS記法(TeX)
$$
\prod_{i\in\mathbf{n}}
\biggl(\sum_{\,j\in\mathbf{n}}b_{ij}\hat y_j\biggr)
=\biggl(\prod_{\,i\in\mathbf{n}}\hat y_i\biggr)\det\mathbf{B}.
$$
(2) 表示例(TeX)
ブロック数式への番号付け
ブロック数式には番号をつけることができます。番号は開始の\$$の直後に':#id@m'の形式でつけます。#はID、@mはIDの種類が数式であることを意味します。
(1) CAS記法
$$:#m6@m
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mstyle scriptminsize="0">
<mrow>
<munder>
<mo>∏</mo>
<mrow><mi>i</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<mfenced open="(" close=")"><mrow>
<munder>
<mo>Σ</mo>
<mrow><mi>j</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<msub><mi>b</mi><mrow><mi>i</mi><mi>j</mi></mrow></msub>
<msub><mover accent="true"><mi>x</mi><mo></mo></mover><mi>i</mi></msub>
</mrow>
</mrow></mfenced>
</mrow>
<mo>=</mo>
<mrow>
<mfenced open="(" close=")"><mrow>
<munder>
<mo>∏</mo>
<mrow><mi>i</mi><mo>∈</mo><mi>n</mi></mrow>
</munder>
<mspace width="-0.3em"/>
<mrow>
<msub><mover accent="true"><mi>x</mi><mo></mo></mover><mi>i</mi></msub>
</mrow>
</mrow></mfenced>
</mrow>
<mspace width="0.15em"/>
<mtext>per</mtext>
<mspace width="0.25em"/>
<mi>B</mi>
</mrow>
</mstyle></math>
$$
(2) 表示例
| (1) |
上の数式番号を参照するときは数式[[##u.201306301039.m6.m|(1)]]参照のようにマークアップします。