跳至内容
龙讯旷腾 pwmat Wiki
用户工具
注册
登录
站点工具
搜索
工具
显示页面
过去修订
全部折叠/展开
反向链接
最近更改
媒体管理器
网站地图
注册
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
•
Spin-orbit coupling with noncollinear magnetization calculation
playground:math
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
===== 在 dokuwiki 中使用数学公式 ===== 这里使用了[[https://www.dokuwiki.org/plugin:mathjax|插件]] ==== Inline Math ==== 使用 ''$'' 符号 $a^2 + b^2 = c^2$ <code> $a^2 + b^2 = c^2$ </code> 或 ''\('', ''\)'' 转义 \(1+2+\dots+n=\frac{n(n+1)}{2}\) <code> \(1+2+\dots+n=\frac{n(n+1)}{2}\) </code> ==== Display Math ==== 使用 ''$$'' 符号, 在单独的行显示数学公式 $$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$ <code> $$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$ </code> 或使用 ''\['' , ''\]'' 转义 \[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \] <code> \[ \sin A \cos B = \frac{1}{2}\left[ \sin(A-B)+\sin(A+B) \right] \] </code> A wide range of math environments((Accepted math environments (specified [[https://github.com/liffiton/dokuwiki-plugin-mathjax/blob/master/syntax/protecttex.php#L27|here]] in the code): align, align*, alignat, alignat*, displaymath, eqnarray, eqnarray*, equation, equation*, flalign, flalign*, gather, gather*, math, multline, multline*)) will work as well: \begin{align*} e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ & = \sum_{n\geq 0} \frac{x^n}{n!} \end{align*} \begin{align*} e^x & = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \cdots \\ & = \sum_{n\geq 0} \frac{x^n}{n!} \end{align*} Note that the math environments //should not// be inside the dollar sign delimiters; the environments should stand on their own with just the ''\begin'' and ''\end'' statements in order to be parsed correctly.
playground/math.txt
· 最后更改: 2024/01/02 15:03 由
pengge
页面工具
显示页面
过去修订
反向链接
全部折叠/展开
回到顶部