本文最后更新于:2024年12月24日 下午
Markdown数学公式
分数,平方
算式 |
markdown |
\(\frac{7x+5}{1+y^2}\) |
\frac{7x+5}{1+y^2} |
下标
算式 |
markdown |
\(z=z_l\) |
z=z_l |
省略号
省略号 |
markdown |
\(\cdots\) |
\cdots |
行间公式(使用两个$包含公式可以独立一行)
行间公式 |
markdown |
\(\frac{d}{dx}e^{ax}=ae^{ax}\quad\sum_{i=1}^{n}{(X_i
- \overline{X})^2}\) |
\frac{d}{dx}e^{ax}=ae^{ax}\quad\sum_{i=1}^{n}{(X_i - \overline{X})^2} |
开根号
算式 |
markdown |
\(\sqrt{2}\);\(\sqrt[n]{3}\) |
\sqrt{2};\sqrt[n]{3} |
矢量
算式 |
markdown |
\(\vec{a}
\cdot \vec{b}=0\) |
\vec{a} \cdot \vec{b}=0 |
微积分
算式 |
markdown |
\(\int_3^2
x^2{\rm d}x\) |
\int ^2_3 x^2 {\rm d}<sup id="fnref:1" class="footnote-ref"><a href="#fn:1" rel="footnote"><span class="hint--top hint--rounded" aria-label="微分符号d竖立表达 {\rm d}">[1]</span></a></sup>x |
\(\int\) |
\int |
\(\iint\) |
\iint |
\(\iiint\) |
\iiint |
\(\oint\) |
\oint |
\(\oiint\) |
\oiint |
\(\mathrm{d}\) |
\mathrm{d} |
\(\prime\) |
\prime |
\(f
^\prime\) |
f ^\prime |
\(\lim\) |
\lim |
\(\infty\) |
\infty |
\(\partial\) |
\partial |
\(\left.\frac{\partial f(x,y)}{\partial x}
\right|_{x=0}\) |
\left.\frac{\partial f(x,y)}{\partial x} \right\|_{x=0} |
\(\sum\) |
\sum |
极限
算式 |
markdown |
\(\lim_{n
\rightarrow + \infty} n\) |
\lim_{n \rightarrow + \infty} n |
累加
算式 |
markdown |
\(\sum
\frac{1}{i^2}\) |
\sum \frac{1}{i^2} |
累乘
算式 |
markdown |
\(\prod
\frac{1}{i^2}\) |
\prod \frac{1}{i^2} |
给公式编号
\[
e^{i\theta}=\cos\theta+i\sin\theta \tag{1}
\]
e^{i}=+i
矩阵
\[
\begin {matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}\tag{1}
\]
1 2 3 4 5 6 7 8
| $$ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \tag{1} $$
|
带括号的矩阵
\[
\left[
\begin{matrix}
1&2&3\\
4&5&6\\
7&8&9
\end{matrix}
\right]
\tag{2}
\]
1 2 3 4 5 6 7 8 9 10
| $$ \left[ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right] \tag{2} $$
|
符号 |
形式 |
markdown |
pmatrix |
\[\begin{pmatrix}1 & 2 & 3 \\4 & 5
& 6 \\7 & 8 & 9 \end{pmatrix}\] |
|
bmatrix |
\[\begin{bmatrix}1 & 2 & 3 \\4 & 5
& 6 \\7 & 8 & 9 \end{bmatrix}\] |
|
Bmatrix |
\[\begin{Bmatrix}1 & 2 & 3 \\4 & 5
& 6 \\7 & 8 & 9 \end{Bmatrix}\] |
|
vmatrix |
\[\begin{vmatrix}1 & 2 & 3 \\4 & 5
& 6 \\7 & 8 & 9 \end{vmatrix}\] |
|
Vmatrix |
\[\begin{Vmatrix}1 & 2 & 3 \\4 & 5
& 6 \\7 & 8 & 9 \end{Vmatrix}\] |
|
希腊字母
大写 |
markdown |
小写 |
markdown |
\(\Alpha\) |
|
\(\alpha\) |
|
\(\Beta\) |
|
\(\beta\) |
|
\(\Gamma\) |
|
\(\gamma\) |
|
\(\Delta\) |
|
\(\delta\) |
|
\(\Epsilon\) |
|
\(\epsilon\) |
|
|
|
\(\varepsilon\) |
|
\(\Zeta\) |
|
\(\zeta\) |
|
\(\Eta\) |
|
\(\eta\) |
|
\(\Theta\) |
|
\(\theta\) |
|
\(\Iota\) |
|
\(\iota\) |
|
\(\Kappa\) |
|
\(\kappa\) |
|
\(\Mu\) |
|
\(\mu\) |
|
\(\Nu\) |
|
\(\nu\) |
|
\(\Xi\) |
|
\(\xi\) |
|
\(\Omicron\) |
|
\(\omicron\) |
|
\(\Pi\) |
|
\(\pi\) |
|
\(\Rho\) |
|
\(\rho\) |
|
\(\Sigma\) |
|
\(\sigma\) |
|
\(\Tau\) |
|
\(\tau\) |
|
\(\Upsilon\) |
|
\(\upsilon\) |
|
\(\Phi\) |
|
\(\phi\) |
|
|
|
\(\varphi\) |
|
\(\Chi\) |
|
\(\chi\) |
|
\(\Psi\) |
|
\(\psi\) |
|
\(\Omega\) |
|
\(\omega\) |
|
三角函数
函数名 |
markdown |
\(\sin^2{15\degree}\) |
\sin^2{15 \degree} |
\(\cos\) |
\cos |
\(\tan\) |
\tan |
\(\arcsin\) |
\arcsin |
\(\arccos\) |
\arccos |
\(\arctan\) |
\arctan |
关系运算符
运算符 |
markdown |
\(\pm\) |
\pm |
\(\times\) |
\times |
\(\div\) |
\div |
\(\sum\) |
\sum |
\(\prod\) |
\prod |
\(\neq\) |
\neq |
\(\leq\) |
\leq |
\(\geq\) |
\geq |
括号
括号类型 |
形式 |
markdown |
大括号 |
\(\lbrace a+x
\rbrace\) |
\lbrace a+x \rbrace |
尖括号 |
\(\langle x
\rangle\) |
\langle x \rangle |
向上取整 |
\(\lceil
\frac{x}{2} \rceil\) |
\lceil \frac{x}{2} \rceil |
向下取整 |
\(\lfloor x
\rfloor\) |
\lfloor x \rfloor |
普通括号 |
\(\lbrace
\sum_{i=0}^{n}i^{2}=\frac{2a}{x^2+1} \rbrace\) |
\lbrace \sum_{i=0}^{n}i^{2}=\frac{2a}{x^2+1} \rbrace |
全包括号 |
\(\left\lbrace
\sum_{i=0}^{n}i^{2}=\frac{2a}{x^2+1} \right\rbrace\) |
\left\lbrace \sum_{i=0}^{n}i^{2}=\frac{2a}{x^2+1} \right\rbrace |
花括号 |
$c(u)= |
c(u)=\begin{cases} \sqrt\frac{1}{N},u=0\\ \sqrt\frac{2}{N}, u\neq0\end{cases} |