markdown 公式I

发布时间 2023-09-28 20:58:26作者: 华小电

字体颜色

颜色::\(\color{red}{abc}\) $\color{red}{abc}$
字体\(\mathcal{ABC … XYZ}\) $\mathcal{ABC…}$

空格

格式 代码 样例 说明
两个quad空格 $a \qquad b$ \(a \qquad b\) 两个m的宽度
一个quad空格 $a \quad b$ \(a \quad b\) 一个m的宽度
大空格 $ a\ b$ \(a\ b\) 1/3m宽度
中等空格 $ a\;b$ \(a\;b\) 2/7m宽度
小空格 $a\,b$ \(a\,b\) 1/6m宽度
没有空格 $ab$ \(ab\) 1/3m宽度
紧帖 $a\!b$ \(a\!b\) 缩进1/6m宽度

\quad、1em、em、m代表当前字体下接近字符‘M’的宽度。

引用

\usepackage{hyperef}
图、表、章节:定义\label{tab1}, 引用 \ref{tab1}
自定义:定义\hypertarget{tab2}{显示文字}, 引用\hyperlink{tab2}{显示文字}
超链接:\url\nolinkurl\href{}{文字} 文字跳转超链接

数学符号

符号 代码 符号 代码
\(\lceil \frac{logN}{logn} \rceil\) $\lceil \frac{logN}{logn} \rceil$ \(\sum_{i=0}^n\) $\sum_{i=0}^n$
\(\sum\limits_{i=0}^n\) $\sum\limits_{i=0}^n$ \(\mathop{\theta}\limits_{i=1}^2\) $ \mathop{\theta}\limits_{i=1}^2 $
\(\begin{matrix} 1 &1 \\1&1 \end{matrix}\) $\begin{matrix} 1 &1 \\1&1 \end{matrix} $ \(\begin{pmatrix} 1 &1 \\1&1 \end{pmatrix}\) $\begin{pmatrix} 1 &1 \\1&1 \end{pmatrix} $
\(\begin{bmatrix} 1 &1 \\1&1 \end{bmatrix}\) $\begin{bmatrix} 1 &1 \\1&1 \end{bmatrix} $ \(\begin{Bmatrix} 1 &1 \\1&1 \end{Bmatrix}\) $\begin{Bmatrix} 1 &1 \\1&1 \end{matrix} $
\(\begin{vmatrix} 1 &1 \\1&1 \end{vmatrix}\) $\begin{vmatrix} 1 &1 \\1&1 \end{vmatrix} $ \(\begin{Vmatrix} 1 &1 \\1&1 \end{Vmatrix}\) $\begin{Vmatrix} 1 &1 \\1&1 \end{Vmatrix} $
\({^1_2}A{^3_4}\) ${^1_2}A{^3_4}$ \(\frac{2}{3}\) $\frac{2}{3}$
\(\frac{2^3}{3}\) $\frac{2^3}3{3}$ \(\frac{2_3}{3}\) $\frac{2_3}{3}$
\(\lceil x \rceil\) $\lceil x \rceil$ \(\lfloor x \rfloor\) $\lfloor x \rfloor$
\(\sqrt{2}\) $\sqrt{2}$ \(\sqrt[3]{8}\) $\sqrt[3]{8}$
\(\times\) $\times$ \(\pm\) $\pm$
\(\div\) $\div$ \(\mid\) $\mid$
\(\cdot\) $\cdot$ \(R^\prime\) $R^\prime$
\(\dots\) $\dots$ \(\cdots\) $\cdots$
\(\vdots\) $\vdots$ \(\ddots\) $\ddots$
\(\circ\) $\circ$ \(\ast\) $\ast $
\(\bigotimes\) $\bigotimes$ \(\bigoplus\) $\bigoplus$
\(\equiv\) $\equiv$ \(\not\equiv\) $\not\equiv$
\(\pmod{m}\) \pmod{m} \(\leq\) $\leq$
\(\geq\) $\geq$ \(\neq\) $\neq$
\(\approx\) $\approx$ \(\prod\) $\prod$
\(\coprod\) $\coprod$ \(\cdots\) $\cdots$
\(\int\) $\int$ \(\iint\) $\iint$
\(\oint\) $\oint$ \(\infty\) $\infty$
\(\nabla\) $\nabla$ \(\because\) $\because$
\(\therefore\) $\therefore$ \(\forall\) $\forall$
\(\exists\) $\exists$ \(\not=\) $\not=$
\(\not>\) $\not>$ \(\leq\) $\leq$
\(\geq\) $\geq$ \(\not\subset\) $\not\subset$
\(\emptyset\) $\emptyset$ \(\varnothing\) $\varnothing$
\(\in\) $\in$ \(\ni\) $\ni$
\(\notin\) $\notin$ \(\subset\) $\subset$
\(\subseteq\) $\subseteq$ \(\bigcup\) $\bigcup$
\(\bigcap\) $\bigcap$ \(\bigvee\) $\bigvee$
\(\bigwedge\) $\bigwedge$ \(\biguplus\) $\biguplus$
\(\bigsqcup\) $\bigsqcup$ \(\hat{y}\) $\hat{y}$
\(\check{y}\) $\check{y}$ \(\breve{y}\) $\breve{y}$
\(\bar x\) $\bar x$ \(\acute{\eta}\) $\acute{\eta}$
\(\ddot{y}\) $\ddot{y}$ \(\dot{x}\) $\dot{x}$
\(\overline{a+b+c+d}\) $\overline{a+b+c+d}$ \(\underline{a+b+c+d}\) $\underline{a+b+c+d}$
\(\bar q \to p\) $\bar q \to p$ \(\uparrow\) $\uparrow$
\(\downarrow\) $\downarrow$ \(\Uparrow\) $\Uparrow$
\(\Downarrow\) $\Downarrow$ \(\rightarrow\) $\rightarrow$
\(\leftarrow\) $\leftarrow$ \(\Rightarrow\) $\Rightarrow$
\(\Longleftarrow\) $\Longleftarrow$ \(\longleftarrow\) $\longleftarrow$
\(\longrightarrow\) $\longrightarrow$ \(\Longrightarrow\) $\Longrightarrow$
\(\alpha\) $\alpha$ \(\beta\) $\beta$
\(\gamma\) $\gamma$ \(\Gamma\) $\Gamma$
\(\delta\) $\delta$ \(\Delta\) $\Delta$
\(\epsilon\) $\epsilon$ \(\varepsilon\) $\varepsilon$
\(\zeta\) $\zeta$ \(\eta\) $\eta$
\(\theta\) $\theta$ \(\Theta\) $\Theta$
\(\vartheta\) $\vartheta$ \(\iota\) $\iota$
\(\pi\) $\pi$ \(\phi\) $\phi$
\(\Phi\) $\Phi$ \(\psi\) $\psi$
\(\Psi\) $\Psi$ \(\omega\) $\omega$
\(\Omega\) $\Omega$ \(\chi\) $\chi$
\(\rho\) $\rho$ \(\omicron\) $\omicron$
\(\sigma\) $\sigma$ \(\Sigma\) $\Sigma$
\(\nu\) $\nu$ \(\xi\) $\xi$
\(\tau\) $\tau$ \(\lambda\) $\lambda$
\(\Lambda\) $\Lambda$ \(\mu\) $\mu$
\(\partial\) $\partial$ \(\lbrace \rbrace\) $\lbrace \rbrace$