#笔记/markdown

1 希腊字母

字母 LaTex 字母 LaTex
\(\alpha\) \(\xi\)
\(\beta\) \(\pi\)
\(\gamma\) \(\rho\)
\(\delta\) \(\sigma\)
\(\epsilon\) \(\tau\)
\(\zeta\) \(\upsilon\)
\(\eta\) \(\phi\)
\(\theta\) \(\chi\)
\(\iota\) \(\psi\)
\(\kappa\) \(\omega\)
\(\lambda\) \(\nu\)
\(\mu\)
\(\Gamma\) \(\Sigma\)
\(\Delta\) \(\Upsilon\)
\(\Theta\) \(\Phi\)
\(\Lambda\) \(\Psi\)
\(\Xi\) \(\Omega\)
\(\Pi\)

2 常用符号

2.1 关系表达式

符号 LaTex 符号 LaTex
\(\notin\) \(\ne\)
\(\in\) \(\approx\)
\(\sim\)
\(\le\) \(\ge\)
\(\subset\) \(\supset\)
\(\subseteq\) \(\supseteq\)

2.2 运算符

符号 LaTex 符号 LaTex
\(\cdot\) \(\div\)
\(\times\) \(\setminus\)
\(\cup\) \(\cap\)
\(\vee\) \(\wedge\)
\(\oplus\) \(\ominus\)
\(\odot\) \(\pm\)
\(\star\) \(\bullet\)
\(\ast\) \(\diamond\)
\(\circ\) \(\to\)

2.3 空格

方法 LaTex 效果
两个 quad 空格 a b \(a \qquad b\)
quad 空格 a b \(a \quad b\)
大空格 a b \(a\ b\)
中空格 a;b \(a\;b\)
小空格 a,b \(a\,b\)
紧贴 a!b \(a\!b\)

2.4 其它符号

符号 LaTex 符号 LaTex
\(\hat{a}\) \(\infty\)
\(\overline{a}\) \(\propto\)
\(\widetilde{a}\) \(\intercal\)
\(\vec{a}\)

3 常用格式

方法 LaTex 效果
上标 {abc}^{2} \({abc}^{2}\)
下标 {abc}_1 \({abc}_1\)
分数 \(\frac{x}{y}\)
开根号 [y]{x} \(\sqrt[y]{x}\)
省略号 1 \(\ldots\)
省略号 2 \(\cdots\)
偏导 \(\partial\)
组合 {zn } \({n \choose 2}\)

4 复杂格式

4.1 求和

1
$$\sum_{k=1}^nk$$

\[ \sum_{k=1}^nk \] ### 4.2 连乘

1
$$\prod_{k=1}^nk$$

\[ \prod_{k=1}^nk \] ### 4.3 积分

1
$$\int_0^{+\infty}x$$

\[ \int_0^{+\infty}x \] ### 4.4 极限

1
$$\lim_{x \to 0}$$

\[ \lim_{x \to 0} \] ## 5 多行

begin/end/双斜线换行

5.1 对齐

1
2
3
4
5
6
7
$$
\begin{align}
a & = b + c
\ \\
& = d + e
\end{align}
$$

\[ \begin{align} a & = b + c \ \\ & = d + e \end{align} \] ### 5.2 矩阵和行列式

1
2
3
4
5
6
$$
A=\left[ \begin{matrix}
a & b \\
c & d \\
\end{matrix} \right]
$$

\[ A=\left[ \begin{matrix} a & b \\ c & d \\ \end{matrix} \right] \]

5.3 左对齐

使用 aligned 实现对齐,使用&符号设定对齐位置

1
2
3
4
5
6
7
$$ \begin{aligned}
& y_2 = 2x^2-1 \\
& y_3 = 4x^3-3x \\
& ... \\
& y_n = 2x*y_{n-1}-y_{n-2}
\end{aligned}
$$

\[ \begin{aligned} & y_2 = 2x^2-1 \\ & y_3 = 4x^3-3x \\ & ... \\ & y_n = 2x*y_{n-1}-y_{n-2} \end{aligned} \] ## 6 参考

王半仙笔记:LaTex快速入门

Latex常用数学符号输入方法

插件github地址