使用方法/Math:修订间差异
来自康健生活
| (未显示同一用户的24个中间版本) | |||
| 第1行: | 第1行: | ||
== 标题文本 == | |||
https://www.mediawiki.org/wiki/Extension:Math/TeX-header | |||
== 渲染模式 == | |||
渲染模式选择 <code>[ 'source', 'native', 'mathjax' ]</code>。 | |||
=== forcemathmode === | |||
您可以通过向 <nowiki><math></nowiki> 元素添加该 <code>forcemathmode</code> 属性来覆盖用户首选和默认渲染模式。例如,强制渲染图像 <nowiki><math forcemathmode="native">...</math></nowiki> 。 | |||
== 关键字 == | == 关键字 == | ||
| 第5行: | 第12行: | ||
| <nowiki><math>\N</math></nowiki> || <math>\N</math> | | <nowiki><math>\N</math></nowiki> || <math>\N</math> | ||
|- | |- | ||
| <nowiki>a = b \times c</nowiki> || <math>a = b\ | | <nowiki>a = b \times c</nowiki> || <math>a = b \times c</math> | ||
|- | |||
| <nowiki>\text{复合}</nowiki> || <math>\text{复合}</math> | |||
|- | |- | ||
| <nowiki><math>a = \frac{b}{c}</math></nowiki> || <math>a = \frac{b}{c}</math> | | <nowiki><math>a = \frac{b}{c}</math></nowiki> || <math>a = \frac{b}{c}</math> | ||
| 第26行: | 第35行: | ||
\dot{z} & = -\beta z + xy | \dot{z} & = -\beta z + xy | ||
\end{align}</math> | \end{align}</math> | ||
|} | |||
== 多项式长除法 == | |||
{| class="wikitable" | |||
|- | |||
| <syntaxhighlight lang='tex'>\begin{array}{lr} | |||
& x+1 \\ | |||
x+1 \!\!\!\!\!\! & \overline{)x^2 + 2x + 1} \\ | |||
& \underline{x^2+\ \ x\ \ \ \ \ \ \ } \\ | |||
& x + 1 \\ | |||
& \underline{x+1} \\ | |||
& 0 \end{array}</syntaxhighlight> | |||
| <math>\begin{array}{lr} | |||
& x+1 \\ | |||
x+1 \!\!\!\!\!\! & \overline{)x^2 + 2x + 1} \\ | |||
& \underline{x^2+\ \ x\ \ \ \ \ \ \ } \\ | |||
& x + 1 \\ | |||
& \underline{x+1} \\ | |||
& 0 \end{array}</math> | |||
|} | |} | ||
| 第361行: | 第389行: | ||
\end{bmatrix}} | \end{bmatrix}} | ||
</math> | </math> | ||
|} | |||
== 其他 == | |||
{| class="wikitable" | |||
|- | |||
| <syntaxhighlight lang='tex'>\begin{align} | |||
\{ \overline{0}\overline{\underline{0}}\underline{0} \} \\ | |||
\{ 00\overline{1}\overline{\underline{1}}\underline{1} \} \\ | |||
\end{align}</syntaxhighlight> | |||
| <math> | |||
\begin{align} | |||
\{ \overline{0}\overline{\underline{0}}\underline{0} \} \\ | |||
\{ 00\overline{1}\overline{\underline{1}}\underline{1} \} \\ | |||
\end{align} | |||
</math> | |||
|} | |} | ||