LaTeX公式Markdown速查

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}}{}}{=}\) 定义
\triangleq \(\triangleq\)

4. 上下结构

代码 渲染 说明
\prod \(\prod\)
\sum \prod_{a}^ \(\sum \prod_{a}^{b}\)
\sum_{a}^ \(\sum_{a}^{b}\)
\sqrt \(\sqrt{3}\)
\sqrt[n] \(\sqrt[n]{x}\)
\widetilde{abc} \widehat{abc} \overleftarrow \(\widetilde{abc} \widehat{abc} \overleftarrow{abc}\)
\overrightarrow \(\overrightarrow{abc}\)
\overline \(\overline{abc}\) 上划线
\underline \(\underline{abc}\) 下划线
\overbrace \(\overbrace{abc}\) 上边花括号
\underbrace \(\underbrace{abc}\) 下边花括号
\overset{a} \(\overset{a}{abc}\) 放上边
\underset{a} \(\underset{a}{abc}\) 放下边

5. 上结构

代码 渲染
\ {a}' \(\ {a}'\)
\ {a}'' \(\ {a}''\)
\dot \(\dot{a}\)
\ddot \(\ddot{a}\)
\hat \(\hat{a}\)
\check \(\check{a}\)
\grave \(\grave{a}\)
\acute \(\acute{a}\)
\tilde{a}\breve{a}\bar{c}\vec \(\tilde{a}\breve{a}\bar{c}\vec{c}\)
\not \(\not{a}\)
\ a^ \(\ 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 \(\mathbb{P}\)
\mathbb \(\mathbb{N}\)
\mathbb \(\mathbb{Z}\)
\mathbb \(\mathbb{I}\)
\mathbb \(\mathbb{Q}\)
\mathbb \(\mathbb{R}\)
\mathbb \(\mathbb{C}\)
\angle \(\angle\) 角度
\measuredangle \(\measuredangle\)
\sphericalangle \(\sphericalangle\)
\varnothing \(\varnothing\) 空集
\infty \(\infty\) 无穷
\mho \(\mho\)
\wp \(\wp\)

9. 上下结构

代码 渲染 说明
x^ \(x^{2}\) 指数
x_ \(x_{i}\) 下标
x_{a}^ \(x_{a}^{b}\) 上下标
{x_{a}}^ \({x_{a}}^{b}\) 先下标后上标
_{a}^{b}\textrm \(_{a}^{b}\textrm{c}\)
\frac{a} \(\frac{a}{b}\)
x\tfrac{a} \(x\tfrac{a}{b}\)
\frac{\partial f} \(\frac{\partial f}{\partial x}\)
\frac{\partial^2 f} \(\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}^ \(\int_{a}^{b}\)
\oint $\oint $
\oint_{a}^ \(\oint_{a}^{b}\)
\iint_{a}^ \(\iint_{a}^{b}\)
\lim_ \(\lim_{x\rightarrow 0}\) 逼近

11. 括号

代码 渲染 说明
\left ( \right ) \(\left ( \right )\) 圆括号
\left [ \right ] \(\left [ \right ]\) 方括号
\left \langle \right \rangle \(\left \langle \right \rangle\)
\left \(\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} \]

posted on 2021-11-18 09:57  宋岳庭  阅读(176)  评论(0编辑  收藏  举报