Latex Grammar Summary

  1. 单个点 ($\cdot$) : $\cdot$
  2. 横向多个点 ($\cdots$) : $\cdots$
  3. 竖向多个点 ($\vdots$) : $\vdots$
  4. 斜向多个点 ($\ddots$) : $\ddots$

数学字体

mathbb:blackboard bold(黑板粗体),用于期望 mathbf:math boldface,用于矩阵、向量 mathrm:math roman,罗马体(整体),用于微分符号d、二项式系数C、等号上的def、自然常数e、虚数单位i mathcal:math calligraphy(美术字),用于集合,分布

A$A$$\mathbb{A}$$\mathbf{A}$$\mathrm{A}$$\mathcal{A}$
A$A$$\mathbb{A}$$\mathbf{A}$$\mathrm{A}$$\mathcal{A}$

参考

公式标号

块级公式($$$$)中使用\tag{自定义编号} 引用使用$(自定义编号)$

表达式

将下标放置于文本正上/下方

$\sum_{i=1}^n$ $\sum_{i=1}^n$

$\sum \limits_{i=1} \limits^n$ $\sum \limits_{i=1} \limits^n$

需要注意的是其仅仅支持应用于数学的操作符,若需要在非数学操作符上下方添加文字,需要通过\mathop将表达式转化为数学操作符,示例如下

$\mathop{minimize} \limits_{w,b} J(w, b)$ $\mathop{minimize} \limits_{w,b} J(w, b)$

参考

数学模式重音符号1

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204247.png

希腊字母

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204409.png

二元关系

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204442.png

二元运算

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204458.png

“大”运算符

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204514.png

箭头

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204532.png

定界符

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204544.png

大定界符

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204559.png

其它符号

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204614.png

非数学符号

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204637.png

AMS定界符

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204655.png

AMS希腊和希伯来字母

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204712.png

AMS二元关系

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204759.png

AMS箭头

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204821.png

AMS二元否定关系符和箭头

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204837.png

AMS二元运算符

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204859.png

AMS其它符号

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204916.png

数字字母

https://cdn.jsdelivr.net/gh/G-ghy/cloudImages@master/20210923204932.png

矩阵

无括号

$$ \begin{matrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{matrix} $$

1
2
3
4
5
6
7
$$
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}
$$

圆括号

pmatrix (parentheses brackets matrix)

$$ \begin{pmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{pmatrix} $$

1
2
3
4
5
6
7
$$
\begin{pmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{pmatrix}
$$

方括号

bmatrix (brackets matrix)

$$ \begin{bmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{bmatrix} $$

1
2
3
4
5
6
7
$$
\begin{bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{bmatrix}
$$

花括号

$$ \begin{Bmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{Bmatrix} $$

1
2
3
4
5
6
7
$$
\begin{Bmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{Bmatrix}
$$

单竖线括号

vmatrix (vertical bar brackets matrix)

$$ \begin{vmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{vmatrix} $$

1
2
3
4
5
6
7
$$
\begin{vmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{vmatrix}
$$

双竖线括号

$$ \begin{Vmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{Vmatrix} $$

1
2
3
4
5
6
7
$$
\begin{Vmatrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{Vmatrix}
$$

参考

极限符号

  1. $\lim_{n \to \infty}$

$\lim_{n \to \infty}$

  1. $\lim \limits_{n \to \infty}$

$\lim \limits_{n \to \infty}$

  1. $\displaystyle \lim_{n \to \infty}$

$\displaystyle \lim_{n \to \infty}$

  1. $\varlimsup \limits_{n \to \infty}$

$\varlimsup \limits_{n \to \infty}$

  1. $\varliminf \limits_{n \to \infty}$

$\varliminf \limits_{n \to \infty}$

存在任意

  1. $\forall$

$\forall$

  1. $\exists$

$\exists$

0%