「TeX」の版間の差分
ナビゲーションに移動
検索に移動
(→TeX) |
|||
| 13行目: | 13行目: | ||
\dfrac{a}{b} | \dfrac{a}{b} | ||
<math>\dfrac{a}{b}</math> | <math>\dfrac{a}{b}</math> | ||
| + | |||
| + | ===添字=== | ||
| + | ---- | ||
| + | *https://medemanabu.net/latex/superscript-subscript/ | ||
| + | ====上付き==== | ||
| + | x^a | ||
| + | <math>x^a</math> | ||
| + | x^{a+b} | ||
| + | <math>x^{a+b}</math> | ||
2021年10月16日 (土) 01:15時点における版
TeX
分数(frac)
- スタイルに合わせた出力
\frac{a}{b}
[math]\displaystyle{ \frac{a}{b} }[/math]
- テキストスタイル
\tfrac{a}{b}
[math]\displaystyle{ \tfrac{a}{b} }[/math]
- ディスプレイスタイル
\dfrac{a}{b}
[math]\displaystyle{ \dfrac{a}{b} }[/math]
添字
上付き
x^a
[math]\displaystyle{ x^a }[/math]
x^{a+b}
[math]\displaystyle{ x^{a+b} }[/math]
© 2006 矢木浩人