博客园LaTeX数学公式功能及效果展示
1、启用数学公式的支持
博客园默认不启用,需要按以下步骤启用:博客的管理界面 -> 选项 -> 启用数学公式支持 -> SAVE
要用公式的时候,用 $
将公式包围。若要输入多行,则用一对 $$
包围。
例如:
$$
\rho = \sqrt{(\Delta x)^{2}+(\Delta y)^{2}} \\
\lim\limits_{x \rightarrow x_{0}} f(x) = f(x_{0})
$$
效果为:
\[\rho = \sqrt{(\Delta x)^{2}+(\Delta y)^{2}} \\
\lim\limits_{x \rightarrow x_{0}} f(x) = f(x_{0})
\]
最后的双斜杠表示换行
2、 部分LaTeX符号
在线测试:MathJax
符号 | 效果展示 |
---|---|
$a^{2}$ |
\(a^{2}\) |
$a_{2}$ |
\(a_{2}\) |
$a_{b}^{c}$ |
\(a_{b}^{c}\) |
$\sqrt[n]{2}$ |
\(\sqrt[n]{2}\) |
$\vec a$ |
\(\vec a\) |
$\overrightarrow{AB}$ |
\(\overrightarrow{AB}\) |
$\frac{a}{b+c}$ |
\(\frac{a}{b+c}\) |
$\sum\limits_{i=1}^{n}$ |
\(\sum\limits_{i=1}^{n}\) |
$\prod\limits_{i=1}^{n}$ |
\(\prod\limits_{i=1}^{n}\) |
$\int_{a}^{b}$ |
\(\int_{a}^{b}\) |
$\iint_{a}^{b}$ |
\(\iint_{a}^{b}\) |
$\oint_{a}^{b}$ |
\(\oint_{a}^{b}\) |
$\lim\limits_{x \rightarrow 0} \frac{sin x}{x} = 1$ |
\(\lim\limits_{x \rightarrow 0} \frac{sin x}{x} = 1\) |
$\lg$ |
\(\lg\) |
$\ln$ |
\(\ln\) |
$\log$ |
\(\log\) |
$\exp$ |
\(\exp\) |
$\thicksim$ |
\(\thicksim\) |
$\simeq$ |
\(\simeq\) |
$\approx$ |
\(\approx\) |
$\equiv$ |
\(\equiv\) |
$\leqslant$ |
\(\leqslant\) |
$\geqslant$ |
\(\geqslant\) |
$\neq$ |
\(\neq\) |
$\pm$ |
\(\pm\) |
$\mp$ |
\(\mp\) |
$\div$ |
\(\div\) |
$\triangleq$ |
\(\triangleq\) |
$\because$ |
\(\because\) |
$\therefore$ |
\(\therefore\) |
$\Leftarrow$ |
\(\Leftarrow\) |
$\Rightarrow$ |
\(\Rightarrow\) |
$\Leftrightarrow$ |
\(\Leftrightarrow\) |
$\nLeftarrow$ |
\(\nLeftarrow\) |
$\nRightarrow$ |
\(\nRightarrow\) |
$\nLeftrightarrow$ |
\(\nLeftrightarrow\) |
$\infty$ |
\(\infty\) |
$\partial$ |
\(\partial\) |
$\prime$ |
\(\prime\) |
$\varnothing$ |
\(\varnothing\) |
$\forall$ |
\(\forall\) |
$\exists$ |
\(\exists\) |
$\triangle$ |
\(\triangle\) |
$\overline{m+n}$ |
\(\overline{m+n}\) |
$\underline{m+n}$ |
\(\underline{m+n}\) |
$\overbrace{a+b}_{2}$ |
\(\overbrace{a+b}^{2}\) |
$\underbrace{a+b}_{2}$ |
\(\underbrace{a+b}_{2}\) |
$\cdot$ |
\(\cdot\) |
希腊字母
符号 | 效果 | 符号 | 效果 |
---|---|---|---|
$\alpha$ |
\(\alpha\) | ||
$\beta$ |
\(\beta\) | ||
$\gamma$ |
\(\gamma\) | $\Gamma$ |
\(\Gamma\) |
$\delta$ |
\(\delta\) | $\Delta$ |
\(\Delta\) |
$\epsilon$ |
\(\epsilon\) | ||
$\varepsilon$ |
\(\varepsilon\) | ||
$\eta$ |
\(\eta\) | ||
$\theta$ |
\(\theta\) | ||
$\lambda$ |
\(\lambda\) | $\Lambda$ |
\(\Lambda\) |
$\mu$ |
\(\mu\) | ||
$\nu$ |
\(\nu\) | ||
$\xi$ |
\(\xi\) | ||
$\pi$ |
\(\pi\) | $\Pi$ |
\(\Pi\) |
$\rho$ |
\(\rho\) | ||
$\sigma$ |
\(\sigma\) | $\Sigma$ |
\(\Sigma\) |
$\tau$ |
\(\tau\) | ||
$\upsilon$ |
\(\upsilon\) | ||
$\phi$ |
\(\phi\) | ||
$\varphi$ |
\(\varphi\) | ||
$\chi$ |
\(\chi\) | ||
$\psi$ |
\(\psi\) | $\Psi$ |
\(\Psi\) |
$\omega$ |
\(\omega\) | $\Omega$ |
\(\Omega\) |
参考:Latex符号对应表