1. 常用希腊字母
代码 | 渲染 | 代码 | 渲染 | 代码 | 渲染 | 代码 | 渲染 |
---|---|---|---|---|---|---|---|
\alpha | \(\alpha\) | \beta | \(\beta\) | \gamma | \(\gamma\) | \delta | \(\delta\) |
\epsilon | \(\epsilon\) | \varepsilon | \(\varepsilon\) | \zeta | \(\zeta\) | \eta | \(\eta\) |
\theta | \(\theta\) | \vartheta | \(\vartheta\) | \iota | \(\iota\) | \kappa | \(\kappa\) |
\lambda | \(\lambda\) | \mu | \(\mu\) | \nu | \(\nu\) | \xi | \(\xi\) |
\pi | \(\pi\) | \varpi | \(\varpi\) | \rho | \(\rho\) | \varrho | \(\varrho\) |
\sigma | \(\sigma\) | \varsigma | \(\varsigma\) | \tau | \(\tau\) | \upsilon | \(\upsilon\) |
\phi | \(\phi\) | \varphi | \(\varphi\) | \chi | \(\chi\) | \psi | \(\psi\) |
\omega | \(\omega\) | \o | \(o\) | ||||
2. 大写希腊字母
代码 | 渲染 | 代码 | 渲染 |
---|---|---|---|
\Gamma | \(\Gamma\) | \Phi | \(\Phi\) |
\Delta | \(\Delta\) | \Psi | \(\Psi\) |
\Theta | \(\Theta\) | \Omega | \(\Omega\) |
\Lambda | \(\Lambda\) | \O | \(\O\) |
\Xi | \(\Xi\) | \Pi | \(\Pi\) |
\Sigma | \(\Sigma\) | \Upsilon | \(\Upsilon\) |
3. 其他符号
代码 | 渲染 | 代码 | 渲染 | 代码 | 渲染 |
---|---|---|---|---|---|
\euro | \(\euro\) | \ll | \(\ll\) | \smile | \(\smile\) |
\prec | \(\prec\) | \gg | \(\gg\) | \dashv | \(\dashv\) |
\succ | \(\succ\) | \frown | \(\frown\) | \simeq | \(\simeq\) |
\leq | \(\leq\) | \geqslant | \(\geqslant\) | \neq | \(\neq\) |
\geq | \(\geq\) | \nless | \(\nless\) | \nleqslant | \(\nleqslant\) |
\doteq | \(\doteq\) | \ngtr | \(\ngtr\) | \ngeqslant | \(\ngeqslant\) |
\leqslant | \(\leqslant\) | \equiv | \(\equiv\) | \not\equiv | \(\not\equiv\) |
\approx | \(\approx\) | \preceq | \(\preceq\) | \vdash | \(\vdash\) |
\succeq | \(\succeq\) | \sim | \(\sim\) | \cong | \(\cong\) |
\bowtie | \(\bowtie\) | \Join | \(\Join\) | \mid | \(\mid\) |
代码 | 渲染 | 说明 |
---|---|---|
\overset{\underset{\mathrm{def}}{}}{=} | \(\overset{\underset{\mathrm{def}}{}}{=}\) | 定义 |
4. 上下结构
代码 | 渲染 | 说明 |
---|---|---|
\prod | \(\prod\) | |
\sum \prod_{a}^{b} | \(\sum \prod_{a}^{b}\) | |
\sum_{a}^{b} | \(\sum_{a}^{b}\) | |
\sqrt{3} | \(\sqrt{3}\) | |
\sqrt[n]{x} | \(\sqrt[n]{x}\) | |
\widetilde{abc} \widehat{abc} \overleftarrow{abc} | \(\widetilde{abc} \widehat{abc} \overleftarrow{abc}\) | |
\overrightarrow{abc} | \(\overrightarrow{abc}\) | |
\overline{abc} | \(\overline{abc}\) | 上划线 |
\underline{abc} | \(\underline{abc}\) | 下划线 |
\overbrace{abc} | \(\overbrace{abc}\) | 上边花括号 |
\underbrace{abc} | \(\underbrace{abc}\) | 下边花括号 |
\overset{a}{abc} | \(\overset{a}{abc}\) | 放上边 |
\underset{a}{abc} | \(\underset{a}{abc}\) | 放下边 |
5. 上结构
代码 | 渲染 |
---|---|
\ {a}' | \(\ {a}'\) |
\ {a}'' | \(\ {a}''\) |
\dot{a} | \(\dot{a}\) |
\ddot{a} | \(\ddot{a}\) |
\hat{a} | \(\hat{a}\) |
\check{a} | \(\check{a}\) |
\grave{a} | \(\grave{a}\) |
\acute{a} | \(\acute{a}\) |
\tilde{a}\breve{a}\bar{c}\vec{c} | \(\tilde{a}\breve{a}\bar{c}\vec{c}\) |
\not{a} | \(\not{a}\) |
\ a^{\circ} | \(\ a^{\circ}\) |
6. 集合操作
代码 | 渲染 |
---|---|
\sqsubset | \(\sqsubset\) |
\sqsupset | \(\sqsupset\) |
\sqsubseteq | \(\sqsubseteq\) |
\sqsupseteq | \(\sqsupseteq\) |
\subset | \(\subset\) |
\supset | \(\supset\) |
\subseteq | \(\subseteq\) |
\supseteq | \(\supseteq\) |
\nsubseteq | \(\nsubseteq\) |
\nsupseteq | \(\nsupseteq\) |
\subseteqq | \(\subseteqq\) |
\supseteqq | \(\supseteqq\) |
\nsubseteq | \(\nsubseteq\) |
\nsupseteqq | \(\nsupseteqq\) |
\in | \(\in\) |
\ni | \(\ni\) |
\notin | \(\notin\) |
\pm | \(\pm\) |
\mp | \(\mp\) |
\cap | \(\cap\) |
\cup | \(\cup\) |
\cdot | \(\cdot\) |
\uplus | \(\uplus\) |
\Cup | \(\Cup\) |
\Cap | \(\Cap\) |
7. 特殊符号
代码 | 渲染 |
---|---|
\times | \(\times\) |
\ast | \(\ast\) |
\div | \(\div\) |
\sqcap | \(\sqcap\) |
\sqcup | \(\sqcup\) |
\bigsqcup | \(\bigsqcup\) |
\wedge | \(\wedge\) |
\vee | \(\vee\) |
\bigtriangleup | \(\bigtriangleup\) |
\bigtriangledown | \(\bigtriangledown\) |
\barwedge | \(\barwedge\) |
\veebar | \(\veebar\) |
\triangleleft | \(\triangleleft\) |
\triangleright | \(\triangleright\) |
\star | \(\star\) |
\bigstar | \(\bigstar\) |
\lozenge | \(\lozenge\) |
\blacklozenge | \(\blacklozenge\) |
\circ | \(\circ\) |
\bullet | \(\bullet\) |
\square | \(\square\) |
\blacksquare | \(\blacksquare\) |
\triangle | \(\triangle\) |
\triangledown | \(\triangledown\) |
\blacktriangle | \(\blacktriangle\) |
\blacktriangledown | \(\blacktriangledown\) |
\bigcirc | \(\bigcirc\) |
\bigoplus | \(\bigoplus\) |
\bigotimes | \(\bigotimes\) |
\bigodot | \(\bigodot\) |
\ominus | \(\ominus\) |
\oslash | \(\oslash\) |
\circleddash | \(\circleddash\) |
\odot | \(\odot\) |
\otimes | \(\otimes\) |
\oplus | \(\oplus\) |
\circledast | \(\circledast\) |
\circledcirc | \(\circledcirc\) |
\diamond | \(\diamond\) |
\wr | \(\wr\) |
\ddagger | \(\ddagger\) |
\dagger | \(\dagger\) |
\amalg | \(\amalg\) |
\dotplus | \(\dotplus\) |
8. 逻辑操作
代码 | 渲染 | 说明 |
---|---|---|
\therefore | \(\therefore\) | |
\because | \(\because\) | |
\cdots | \(\cdots\) | |
\ddots | \(\ddots\) | |
\vdots | \(\vdots\) | |
\S | \(\S\) | |
\P | \(\P\) | |
\copyright | © | 版权 |
\partial | \(\partial\) | |
\imath | \(\imath\) | |
\jmath | \(\jmath\) | |
\Re | \(\Re\) | |
\Im | \(\Im\) | |
\forall | \(\forall\) | 任意 |
\exists | \(\exists\) | 存在 |
\top | \(\top\) | |
\mathbb{P} | \(\mathbb{P}\) | |
\mathbb{N} | \(\mathbb{N}\) | |
\mathbb{Z} | \(\mathbb{Z}\) | |
\mathbb{I} | \(\mathbb{I}\) | |
\mathbb{Q} | \(\mathbb{Q}\) | |
\mathbb{R} | \(\mathbb{R}\) | |
\mathbb{C} | \(\mathbb{C}\) | |
\angle | \(\angle\) | 角度 |
\measuredangle | \(\measuredangle\) | |
\sphericalangle | \(\sphericalangle\) | |
\varnothing | \(\varnothing\) | 空集 |
\infty | \(\infty\) | 无穷 |
\mho | \(\mho\) | |
\wp | \(\wp\) |
9. 上下结构
代码 | 渲染 | 说明 |
---|---|---|
x^{2} | \(x^{2}\) | 指数 |
x_{i} | \(x_{i}\) | 下标 |
x_{a}^{b} | \(x_{a}^{b}\) | 上下标 |
{x_{a}}^{b} | \({x_{a}}^{b}\) | 先下标后上标 |
_{a}^{b}\textrm{c} | \(_{a}^{b}\textrm{c}\) | |
\frac{a}{b} | \(\frac{a}{b}\) | |
x\tfrac{a}{b} | \(x\tfrac{a}{b}\) | |
\frac{\partial f}{\partial x} | \(\frac{\partial f}{\partial x}\) | |
\frac{\partial^2 f}{\partial x^2} | \(\frac{\partial^2 f}{\partial x^2}\) | |
\frac{\mathrm{d} f}{\mathrm{d} x} | \(\frac{\mathrm{d} f}{\mathrm{d} x}\) | |
10. 积分
代码 | 渲染 | 说明 |
---|---|---|
\int | \(\int\) | |
\int_{a}^{b} | \(\int_{a}^{b}\) | |
\oint | $\oint $ | |
\oint_{a}^{b} | \(\oint_{a}^{b}\) | |
\iint_{a}^{b} | \(\iint_{a}^{b}\) | |
\lim_{x\rightarrow 0} | \(\lim_{x\rightarrow 0}\) | 逼近 |
11. 括号
代码 | 渲染 | 说明 |
---|---|---|
\left ( \right ) | \(\left ( \right )\) | 圆括号 |
\left [ \right ] | \(\left [ \right ]\) | 方括号 |
\left \langle \right \rangle | \(\left \langle \right \rangle\) | |
\left { \right } | \(\left \{ \right \}\) | 花括号 |
\left \lfloor \right \rfloor | \(\left \lfloor \right \rfloor\) | |
\left | \right | | \(\left | \right |\) | |
\left \lceil \right \rceil | \(\left \lceil \right \rceil\) | |
\left { \right. | \(\left \{ \right.\) | 左花括号 |
\left. \right } | \(\left. \right \}\) | 右花括号 |
12. 多行
- (1) 多行组成的块
\begin{matrix}
A& B& \\
C& D&
\end{matrix}
\[\begin{matrix}
A& B& \\
C& D&
\end{matrix}
\]
- (2)矩阵
\begin{bmatrix}
& & & \\
& & & \\
& & &
\end{bmatrix}
\[\begin{bmatrix}
& & & \\
& & & \\
& & &
\end{bmatrix}
\]
- (3)列向量
\binom{n}{r}
\[\binom{n}{r}
\]
- (4) 多行多列
\begin{pmatrix}
& & & \\
& & & \\
& & &
\end{pmatrix}
\[\begin{pmatrix}
& & & \\
& & & \\
& & &
\end{pmatrix}
\]
- (5) 小括号多行多列
\bigl(\begin{smallmatrix}
& & & \\
& & & \\
& & &
\end{smallmatrix}\bigr)
\[\bigl(\begin{smallmatrix}
& & & \\
& & & \\
& & &
\end{smallmatrix}\bigr)
\]
- (6) 条件表达式
\begin{cases}
& \text{ if } x>0 \\
& \text{ if } x=0
\end{cases}
\[\begin{cases}
& \text{ if } x>0 \\
& \text{ if } x=0
\end{cases}
\]
- (7) 行列式
\begin{vmatrix}
& & \\
& &
\end{vmatrix}
\[\begin{vmatrix}
& & \\
& &
\end{vmatrix}
\]
- (8)左右花括号
\begin{Bmatrix}
& & \\
& &
\end{Bmatrix}
\[\begin{Bmatrix}
& & \\
& &
\end{Bmatrix}
\]
- (9) 多行公式
\begin{align*}
&y=a+b+c \\
&+d+e \\
&+f
\end{align*}
在&
符号处对齐
\[\begin{align*}
&y=a+b+c \\
&+d+e \\
&+f
\end{align*}
\]
- (10) 矩阵
\begin{Vmatrix}
& & \\
& &
\end{Vmatrix}
\[\begin{Vmatrix}
& & \\
& &
\end{Vmatrix}
\]
- (11) 左花括号
\left\{\begin{matrix}
& & \\
& &
\end{matrix}\right.
\[\left\{\begin{matrix}
& & \\
& &
\end{matrix}\right.
\]
- (12) 右花括号
\left.\begin{matrix}
& & & \\
& & & \\
& & &
\end{matrix}\right\}
\[\left.\begin{matrix}
& & & \\
& & & \\
& & &
\end{matrix}\right\}
\]
- (13)
\left.\begin{matrix}
& & \\
& &
\end{matrix}\right|
\[\left.\begin{matrix}
& & \\
& &
\end{matrix}\right|
\]
13. 混合编辑
- 公式中插入文本
\mbox{}
:
\[y = x^2 \; \mbox{(二次函数)}
\]
- 公式中插入空格
\, \; \quad \qquad
间隔依次变宽:
代码 | 渲染 | 说明 |
---|---|---|
ab |
$$ ab $$ | |
a\,b |
$$ a\,b $$ | |
a\;b |
$$ a\;b $$ | |
a\quad b |
$$ a\quad b $$ | |
a\qquad b |
$$ a\qquad b $$ |
- 插入编号:
使用\tag
指令指定公式的具体编号,并使用\label
指令埋下锚点。
如y=x^2 \tag{1.5a} \label{eq:test}
:
\[y=x^{2} \tag{1.5a} \label{eq:test}
\]
- 引用编号:
使用\eqref
指令引用前面埋下的锚点,\eqref{eq:test}
将显示为:\[\eqref{eq:test} \]