Template:Sum
このテンプレートは総和記号を生成します。このテンプレートは内部的に {{overset}} と {{underset…
このテンプレートは総和記号を生成します。このテンプレートは内部的に {{overset}} と {{underset}}、または {{su}} を呼び出します。
使い方
第 1 引数または {{{b}}} に総和記号 (∑) の下側に書く内容を、第 2 引数または {{{p}}}に総和記号 (∑) の上側に書く内容を書き、第 3 引数または {{{style}}} で表示形式を選びます。表示形式は、デフォルトでは行に納まるように総和記号の横に第 1 引数および第 2 引数に与えた文字列が添えられますが、第 3 引数または {{{style}}} の値を d とすると、総和記号の上下に文字が配置されます。
- {{Math}} なし
{{sum|sub|sup}}→ ∑sup
sub{{sum|b=sub|p=sup}}→ ∑sup
sub{{sum|under|over|style=d}}→{{sum|under|over|d}}→
- {{Math}} あり
{{math|{{sum|b=sub|p=sup}}}}→ ∑sup
sub{{math|{{sum|b=sub|p=sup}}}}→ ∑sup
sub{{math|{{sum|under|over|style=d}}}}→{{math|{{sum|under|over|d}}}}→
{{{b}}}(第 1 引数)や {{{p}}}(第 2 引数)に何も書かないこともできます。
{{math|{{sum}}}}→ ∑{{math|{{sum|b=sub}}}}→ ∑
sub{{math|{{sum|p=sup}}}}→ ∑sup{{math|{{sum|b=under|style=d}}}}→{{math|{{sum|p=over|style=d}}}}→
引数
| 引数 | 指定内容 | 既定値 | 説明 |
|---|---|---|---|
| 1 | 下側の文字列 | null | 総和記号の下側の内容を書く |
| b | 下側の文字列 | null | {{{1}}} の別名
|
| 2 | 上側の文字列 | null | 総和記号の上側の内容を書く |
| p | 上側の文字列 | null | {{{2}}} の別名
|
| 3 | 表示形式 | null | 値が d の場合はディスプレイスタイル、それ以外はテキストスタイル
|
| style | 表示形式 | null | {{{3}}} の別名
|
関連項目
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.