LaTeX 的 Markdown 语法

希腊字母

大写的首字母将全拼首字母大写即可。

运算符

+. -, $\pm$, $\mp$, $\times$, $\cdot$, $\div$

+. -, $\pm$, $\mp$, $\times$, $\cdot$, $\div$

$>$,  $<$, $\ge$, $\le$, $\gg$, $\ll$, $\ne$, $\approx$, $\equiv$

$>$, $<$, $\ge$, $\le$, $\gg$, $\ll$, $\ne$, $\approx$, $\equiv$

$\cap$, $\cup$, $\in$, $\notin$, $\subseteq$, $\subsetneqq$, $\varnothing$

$\cap$, $\cup$, $\in$, $\notin$, $\subseteq$, $\subsetneqq$, $\varnothing$

$\forall$, $\exists$, $\nexists$, $\because$, $\therefore$

$\forall$, $\exists$, $\nexists$, $\because$, $\therefore$

$\ R$, $\ Q$, $\ N$, $\ Z$, $\Z_+$

$\ R$, $\ Q$, $\ N$, $\ Z$, $\Z_+$

$\mathcal F$, $\mathscr F$, $\cdots$, $\vdots$, $\ddots$

$\mathcal F$, $\mathscr F$, $\cdots$, $\vdots$, $\ddots$

$\infty$, $\partial$, $\nabla$, $\propto$, $\degree$

$\infty$, $\partial$, $\nabla$, $\propto$, $\degree$

$\sin x$, $\sec x$, $\cosh x$, $\log_2 x$, $\ln n$

$\sin x$, $\sec x$, $\cosh x$, $\log_2 x$, $\ln n$

$\to0$,  $\lim_{x \to0}$,  $\lim\limits_{x \to0}$

$\to0$, $\lim_{x \to0}$, $\lim\limits_{x \to0}$

大型运算符

$\sum$,  $\prod$,  $\int$, $\iint$, $\iiint$,$\oint$,$\oiint$

$\sum$, $\prod$, $\int$, $\iint$, $\iiint$,$\oint$,$\oiint$

一个例子:中间的,表示空格

$\int_{-\infty}^0 f(x)\, \text d x$

$\int_{-\infty}^0 f(x)\, \text d x$

$a  a$
$a\  a$
$a\quad a$
$a\qquad a$

$a a$
$a\ a$
$a\quad a$
$a\qquad a$

向量集合

\surd \sqrt{2} \sqrt[n]{n} \sqrt[n]{x+y}
\[\surd \sqrt{2} \sqrt[n]{n} \sqrt[n]{x+y}\]
\{ \} \in \emptyset \not\in \not\ni \ni \cup \cap \supset \subset \nsubseteq \subseteq \nsupseteq \supseteq
\[\{ \} \in \emptyset \not\in \not\ni \ni \cup \cap \supset \subset \nsubseteq \subseteq \nsupseteq \supseteq\]
\overline{AB} \overleftarrow{AB} \overrightarrow{AB} \underline{AB}
\[\overline{AB}, \overleftarrow{AB},\overrightarrow{AB},\underline{AB}\]
\check{a} \tilde{a} \acute{a} \grave{a} \breve{a} \bar{a} \vec{a} \mathring{a} \dot{a} 	\ddot{a} \hat{a}
\[\check{a},\tilde{a},\acute{a},\grave{a},\breve{a},\bar{a},\vec{a},\mathring{a},\dot{a},\ddot{a},\hat{a}\]

标注符号

单字符向量(固定长度箭头短),多字符向量(箭头长度随着字符数量的增多变化),单均值,多字符均值

箭头

括号,定界符

大括号,左侧上取整,右侧上取整,左侧下取整,右侧下取整,绝对值

$\{ \}$, $\lceil$, $\rceil$, $\lfloor$, $\rfloor$, $| |$
${ }$, $\lceil$, $\rceil$, $\lfloor$, $\rfloor$, $   $

多行公式

多行环境:\代表换行,默认右对其,可以在等号前加&实现等号对齐,具体是&后一对齐

$$\begin{align}
a+b=c\\a+f=d\\cd=ef
\end{align}$$
\[\begin{align} a+b=c\\a+f=d\\cd=ef \end{align}\]

大括号,条件表达

$$f(x)=
 \begin{cases}
 \sin x, -1\le x\le2\\
 \cos x, else
 \end{cases}$$
\[f(x)= \begin{cases} \sin x, -1\le x\le2\\ \cos x, else \end{cases}\]

此外还有单纯的括号加大:

$$
\left(a\right),   \big(a\big)  , \Big(a\Big),  \bigg(a\bigg),   \Bigg(a\Bigg)
$$
\[\left(a\right), \big(a\big) , \Big(a\Big), \bigg(a\bigg), \Bigg(a\Bigg)\]

矩阵

$$ \bf B^T $$
\[\bf B^T\]
$$
\begin{matrix}
a & b&c&\cdots&d\\
\vdots & \vdots & \vdots & \ddots &\vdots \\
e & k & f & \cdots & 0
\end{matrix} 
$$
\[\begin{matrix} a & b&c&\cdots&d\\ \vdots & \vdots & \vdots & \ddots &\vdots \\ e & k & f & \cdots & 0 \end{matrix}\]
$$
\begin{bmatrix}
a & b&c&\cdots&d\\
\vdots & \vdots & \vdots & \ddots &\vdots \\
e & k & f & \cdots & 0
\end{bmatrix} 
$$
\[\begin{bmatrix} a & b&c&\cdots&d\\ \vdots & \vdots & \vdots & \ddots &\vdots \\ e & k & f & \cdots & 0 \end{bmatrix}\]
$$
\begin{pmatrix}
a & b&c&\cdots&d\\
\vdots & \vdots & \vdots & \ddots &\vdots \\
e & k & f & \cdots & 0
\end{pmatrix} 
$$
\[\begin{pmatrix} a & b&c&\cdots&d\\ \vdots & \vdots & \vdots & \ddots &\vdots \\ e & k & f & \cdots & 0 \end{pmatrix}\]
$$ 
\begin{vmatrix}
a & b&c&\cdots&d\\
\vdots & \vdots & \vdots & \ddots &\vdots \\
e & k & f & \cdots & 0
\end{vmatrix} 
$$
\[\begin{vmatrix} a & b&c&\cdots&d\\ \vdots & \vdots & \vdots & \ddots &\vdots \\ e & k & f & \cdots & 0 \end{vmatrix}\]