启用数学公式:
需要插入公式时,用 $
将公式包围。若需要输入多行,则用一对 $$
包围。
例如:
$$ \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}) $$
最后的双斜杠表示换行。
部分LaTeX符号参考
常用数学公式及符号
输入 | 输出效果 | 输入 | 输出效果 |
$a^{2}$ |
$a^{2}$ | $\in$ |
$\in$ |
$a_{2}$ |
$a_{2}$ | $\left| \frac{a}{b} \right|$ |
$\left| \frac{a}{b} \right|$ |
$a_{b}^{c}$ |
$a_{b}^{c}$ | $\left| \frac{a}{b} \right|$ |
$\left \| \frac{a}{b} \right \|$ |
$\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 \to 0} \frac{sin x}{x} = 1$ |
$\lim\limits_{x \to 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$ |