$MathJax$常用符号。
$$Hello ; MathJax$$
希腊字母
| 大写 | Tex | 小写 | Tex || 大写 | Tex | 小写 | Tex |
| :— | :— | :— | :— || :— | :— | :— | :— |
| $A$ | A | $\alpha$ | \alpha || $N$ | N | $\nu$ | \nu |
| $B$ | B | $\beta$ | \beta || $\Xi$ | \Xi | $\xi$ | \xi |
| $\Gamma$ | \Gamma | $\gamma$ | \gamma || $O$ | O | $\omicron$ | \omicron |
| $\Delta$ | \Delta | $\delta$ | \delta || $\Pi$ | \Pi | $\pi$ | \pi |
| $E$ | E | $\epsilon$ | \epsilon || $P$ | P | $\rho$ | \rho |
| $Z$ | Z | $\zeta$ | \zeta || $\Sigma$ | \Sigma | $\sigma$ | \sigma |
| $H$ | H | $\eta$ | \eta || $T$ | T | $\tau$ | \tau |
| $\Theta$ | \Theta | $\theta$ | \theta || $\Upsilon$ | \Upsilon | $\upsilon$ | \upsilon |
| $I$ | I | $\iota$ | \iota || $\Phi$ | \Phi | $\phi$ | \phi |
| $K$ | K | $\kappa$ | \kappa || $X$ | X | $\chi$ | \chi |
| $\Lambda$ | \Lambda | $\lambda$ | \lambda || $\Psi$ | \Psi | $\psi$ | \psi |
| $M$ | M | $\mu$ | \mu || $\Omega$ | \Omega | $\omega$ | \omega |
- 变体形式:
大写 | Tex | 小写 | Tex |
---|---|---|---|
$\varGamma$ | \Gamma | ||
$\varDelta$ | \Delta | ||
$\varepsilon$ | \varepsilon | ||
$\varTheta$ | \Theta | $\vartheta$ | \vartheta |
$\varkappa$ | \varkappa | ||
$\varLambda$ | \Lambda | ||
$\varXi$ | \Xi | ||
$\varPi$ | \Pi | $\varpi$ | \varpi |
$\varrho$ | \varrho | ||
$\varSigma$ | \Sigma | $\varsigma$ | \varsigma |
$\varUpsilon$ | \Upsilon | ||
$\varPhi$ | \Phi | $\varphi$ | \varphi |
$\varPsi$ | \Psi | ||
$\varOmega$ | \Omega |
罗马数字
罗马数字用大写英文字母组合即可,如下例子所示:
阿拉伯数字 | 罗马数字 | Tex |
---|---|---|
1 | $I$ | I |
2 | $II$ | II |
3 | $III$ | III |
4 | $IV$ | IV |
5 | $V$ | V |
6 | $VI$ | VI |
7 | $VII$ | VII |
8 | $VIII$ | VIII |
9 | $IX$ | IX |
10 | $X$ | IX |
数学符号
括号
Symbols | Tex | |
---|---|---|
括号 | $[a+(b-c)]$ | [a+(b-c)] |
大括号 | ${a+b}$ | {a+b} |
大括号 | $\lbrace a+b \rbrace$ | \lbrace a+b \rbrace |
括号缩放 | $\left( \cfrac{a+b}{b} \right)$ | \left( \cfrac{a+b}{b} \right) |
括号缩放 | $\left\lbrace \cfrac{a+b}{b} \right\rbrace$ | \left\lbrace \cfrac{a+b}{b} \right\rbrace |
单边缩放 | $\left. \cfrac{a+b}{b} \right\rbrace$ | \left. \cfrac{a+b}{b} \right\rbrace |
尖括号 | $\langle a+b \rangle$ | \langle a+b \rangle |
上取整 | $\lceil a+b \rceil$ | \lceil a+b \rceil |
下取整 | $\lfloor a+b \rfloor$ | \lfloor a+b \rfloor |
运算
Symbols | Tex | |
---|---|---|
四则运算 | $\times \div \pm \mp \cdot$ | \times \div \pm \mp \cdot |
分式 | $\frac{a+b}{\frac{b}{c}}$ | \frac{a+b}{\frac{b}{c}} |
分式 | $\cfrac{a+b}{\cfrac{b}{c}}$ | \cfrac{a+b}{\cfrac{b}{c}} |
分式 | ${a+b \over b}$ | {a+b \over b} |
根式 | $\sqrt[4]{a+b}$ | \sqrt[4]{a+b} |
比较 | $\lt \gt \le \ge \neq$ | \lt \gt \le \ge \neq |
比较 | $\approx \sim \cong \equiv \prec$ | \approx \sim \cong \equiv \prec |
排列 | $\binom{n+1}{2k}$ | \binom{n+1}{2k} |
排列 | ${n+1 \choose 2k}$ | {n+1 \choose 2k} |
求和 | $\sum_{i=1}^n$ | \sum_{i=1}^n |
求积 | $\prod\limits_{i=1}^n$ | \prod\limits_{i=1}^n |
积分 | $\int_1^n$ | \int_1^n |
多重积分 | $\iiint_1^n$ | \iiint_1^n |
极限 | $\lim\limits_{n \to \infty}$ | \lim\limits_{n \to \infty} |
模 | $\pmod n$ | \pmod n |
修饰符
Symbols | Tex | |
---|---|---|
间隙 | $a , b ; c \quad d \qquad e$ | a , b ; c \quad d \qquad e |
上/下标 | $x_{ij}^2$ | x_{ij}^2 |
底标 | $\underset{i=1}{\Omega}$ | \underset{i=1}{\Omega} |
顶/底标 | $\underset{i=1}{\overset{\infty}{\Omega}}$ | \underset{i=1}{\overset{\infty}{\Omega}} |
顶部符号 | $\hat{x} \overline{x} \dot{x} \ddot{x} \vec{x}$ | \hat{x} \overline{x} \dot{x} \ddot{x} \vec{x} |
顶部符号 | $\tilde{x} \acute{x} \check{x} \grave{x}$ | \tilde{x} \acute{x} \check{x} \grave{x} |
顶部符号 | $\overline{xyz} \widehat{xyz}$ $\overrightarrow{xyz} \widetilde{xyz}$ |
\overline{xyz} \widehat{xyz} \overrightarrow{xyz} \widetilde{xyz} |
底部符号 | $\underline{ABC} \underleftrightarrow{ABC}$ | \underline{ABC} \underleftrightarrow{ABC} |
顶部括号 | $\overbrace{(n-1)(n-2)}$ | \overbrace{(n-1)(n-2)} |
底部括号 | $\underbrace{(n-1)(n-2)}_{sum}$ | \underbrace{(n-1)(n-2)}_{sum} |
外框 | $\fbox{OPQ}$ | \fbox{OPQ} |
外框 | $\bbox[green,5px,border:2px solid red]{O+P=Q}$ | \bbox[green,5px,border:2px solid red]{O+P=Q} |
其它
Symbols | Tex | |
---|---|---|
省略号 | $\cdots \ldots \ddots \vdots$ | \cdots \ldots \ddots \vdots |
分隔符 | ${x \mid x^2 \in \mathbb{Z}}$ | {x \mid x^2 \in \mathbb{Z}} |
逻辑 | $\land \lor \lnot \forall \exists$ $\top \bot \vdash \vDash$ |
\land \lor \lnot \forall \exists \top \bot \vdash \vDash |
集合 | $\cup \cap \setminus \subset \subseteq$ $\subsetneq \supset \in \notin \emptyset$ $\varnothing$ |
\cup \cap \setminus \subset \subseteq \subsetneq \supset \in \notin \emptyset \varnothing |
箭头 | $\to \rightarrow \leftarrow$ $\Rightarrow \Leftarrow \mapsto$ |
\to \rightarrow \leftarrow \Rightarrow \Leftarrow \mapsto |
其它 | $\star \ast \oplus \circ \bullet$ | \star \ast \oplus \circ \bullet |
其它 | $\spadesuit \heartsuit \diamondsuit \clubsuit$ | \spadesuit \heartsuit \diamondsuit \clubsuit |
其它 | $\infty ; \aleph_o ; \nabla$ $\partial ; \Im ; \Re$ |
\infty \aleph_o \nabla \partial \Im \Re |
表格
\begin{array}{|c|l|c|r}
\hline
num & \text{Left} & \text{Center} & \text{Right} \\
\hline
1 & 0.24 & 1 & 125 \\
\hline
2 & -1 & 189 & -8 \\
\hline
\begin{array}{l|r}
1 & 2 \\
\hline
3 & 4 \\
\end{array}
& -1 & 900 & 1+10i \\
\end{array}
$$
- {|c|l|c|r} 为列对齐方式;
- | 为竖线;
- \hline 为横线;
- & 分隔列;
- \ 分隔行;
$$
\begin{array}{|c|l|c|r}
\hline
num & \text{Left} & \text{Center} & \text{Right} \
\hline
1 & 0.24 & 1 & 125 \
\hline
2 & -1 & 189 & -8 \
\hline
\begin{array}{l|r}
1 & 2 \
\hline
3 & 4 \
\end{array}
& -1 & 900 & 1+10i \
\end{array}
$$
矩阵
\begin{matrix}
1 & x & x^2 \\
1 & y & y^2 \\
1 & z & z^2 \\
\end{matrix}
,
\begin{pmatrix}
p & p \\
p & p \\
\end{pmatrix}
,
\begin{bmatrix}
b & b \\
b & b \\
\end{bmatrix}
,
\begin{Bmatrix}
B & B \\
B & B \\
\end{Bmatrix}
,
\begin{vmatrix}
v & v \\
v & v \\
\end{vmatrix}
,
\begin{Vmatrix}
V & V \\
V & V \\
\end{Vmatrix}
$$
\begin{matrix}
1 & x & x^2 \
1 & y & y^2 \
1 & z & z^2 \
\end{matrix}
,
\begin{pmatrix}
p & p \
p & p \
\end{pmatrix}
,
\begin{bmatrix}
b & b \
b & b \
\end{bmatrix}
,
\begin{Bmatrix}
B & B \
B & B \
\end{Bmatrix}
,
\begin{vmatrix}
v & v \
v & v \
\end{vmatrix}
,
\begin{Vmatrix}
V & V \
V & V \
\end{Vmatrix}
$$
列式
对齐
$$
\begin{align}
\sqrt{37} &= \sqrt{\cfrac{73^2-1}{12^2}} \\
&= \sqrt{\cfrac{a}{b}} \nonumber \\
\end{align}
{\tag {3-1}} {\label {3-1}}
$$
$$
\begin{split}
F &= ma \\
&= Pv
\end{split}
{\tag {Force}} {\label {3-2}}
$$
- & 为对齐位置;
- \tag 为显示标签;
- \lable 为引用标签(下面会讲);
$$
\begin{align}
\sqrt{37} &= \sqrt{\cfrac{73^2-1}{12^2}} \
&= \sqrt{\cfrac{a}{b}} \nonumber \
\end{align}
{\tag {3-1}} {\label {3-1}}
$$
$$
\begin{split}
F &= ma \
&= Pv
\end{split}
{\tag {Force}} {\label {3-2}}
$$
引用
$\eqref{3-1}$
$\eqref{3-2}$
$\eqref{3-1}$
$\eqref{3-2}$
分类
$$
f(n) =
\begin{cases}
n/2, & \text{if $n$ is even} \\\[2ex]
3n+1, & \text{if $n$ is odd} \\
\end{cases}
$$
$$
\left.
\begin{array}{l}
\text{if $n$ is even:} & n/2 \\
\text{if $n$ is odd:} & 3n+1 \\
\end{array}
\right\}
= f(n)
$$
- & 为对齐位置;
- \ 为换行(分类);
- [2ex] 为行间距,1ex为原始距离(若有问题,可换成 [2ex] 试下);
$$
f(n) =
\begin{cases}
n/2, & \text{if $n$ is even} \[2ex]
3n+1, & \text{if $n$ is odd} \
\end{cases}
$$
$$
\left.
\begin{array}{l}
\text{if $n$ is even:} & n/2 \
\text{if $n$ is odd:} & 3n+1 \
\end{array}
\right}
= f(n)
$$
方程组
- array实现
$$
\left\{
\begin{array}{c}
a_1x+b_1y+c_1z &= d_1 \\
a_2x+b_2y &= d_2 \\
a_3x+b_3y+c_3z &= d_3
\end{array}
\right.
$$
$$
\left{
\begin{array}{c}
a_1x+b_1y+c_1z &= d_1 \
a_2x+b_2y &= d_2 \
a_3x+b_3y+c_3z &= d_3
\end{array}
\right.
$$
- cases实现
$$
\begin{cases}
a_1x+b_1y+c_1z &= d_1 \\
a_2x+b_2y &= d_2 \\
a_3x+b_3y+c_3z &= d_3
\end{cases}
$$
$$
\begin{cases}
a_1x+b_1y+c_1z &= d_1 \
a_2x+b_2y &= d_2 \
a_3x+b_3y+c_3z &= d_3
\end{cases}
$$
- aligned实现
$$
\left\{
\begin{aligned}
a_1x+b_1y+c_1z &= d_1 \\
a_2x+b_2y &= d_2 \\
a_3x+b_3y+c_3z &= d_3
\end{aligned}
\right.
$$
$$
\left{
\begin{aligned}
a_1x+b_1y+c_1z &= d_1 \
a_2x+b_2y &= d_2 \
a_3x+b_3y+c_3z &= d_3
\end{aligned}
\right.
$$
字体
常规
$$
0123456789-ABCDEFGHIJKLMnopqrstuvwxyz \
\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu
\nu \xi \omicron \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega
$$
粗体
$$
\boldsymbol{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz} \\
\boldsymbol{\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu
\nu \xi \omicron \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega}
$$
$$
\boldsymbol{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz} \
\boldsymbol{\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu
\nu \xi \omicron \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega}
$$
黑板粗体
\mathbb{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz} \\
\Bbb{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathbb{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz} \
\Bbb{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
黑体
\mathbf{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathbf{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
打印机字体
\mathtt{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathtt{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
罗马字体
\mathrm{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathrm{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
手写体
\mathscr{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathscr{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
Fraktur字体
\mathfrak{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
\mathfrak{0123456789-ABCDEFGHIJKLMnopqrstuvwxyz}
$$
颜色
$\color{black}{test} $ | \color{black}{test} |
$\color{red}{test} $ | \color{red}{test} |
$\color{blue}{test} $ | \color{blue}{test} |
$\color{green}{test} $ | \color{green}{test} |
$\color{gray}{test} $ | \color{gray}{test} |
$\color{silver}{test} $ | \color{silver}{test} |
$\color{white}{test} $ | \color{white}{test} |
$\color{maroon}{test} $ | \color{maroon}{test} |
$\color{yellow}{test} $ | \color{yellow}{test} |
$\color{lime}{test} $ | \color{lime}{test} |
$\color{olive}{test} $ | \color{olive}{test} |
$\color{teal}{test} $ | \color{teal}{test} |
$\color{aqua}{test} $ | \color{aqua}{test} |
$\color{navy}{test} $ | \color{navy}{test} |
$\color{purple}{test} $ | \color{purple}{test} |
$\color{fuchsia}{test}$ | \color{fuchsia}{test} |
$\color{magenta}{test}$ | \color{magenta}{test} |
参考
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 [ yehuohan@gmail.com ]