数学公式环境 #
行内公式 #
$\LaTeX$
$\LaTeX$
\(\LaTeX\)
\(\LaTeX\)
行间公式 #
$$\LaTeX$$
$$\LaTeX$$
\[\LaTeX\]
\[\LaTeX\]
多行行间公式 #
[aligned]
\LaTeX &= \LaTeX \\
&=\LaTeX \\
[/aligned]
\begin{aligned} \LaTeX &= \LaTeX \\&=\LaTeX \end{aligned}
\begin{aligned}
\LaTeX &= \LaTeX \\
&=\LaTeX
\end{aligned}
\begin{aligned}\LaTeX &= \LaTeX \\
&=\LaTeX \end{aligned}
[align]
\LaTeX &= \LaTeX \\
&=\LaTeX
[/align]
\begin{align} \LaTeX &= \LaTeX \\&=\LaTeX \end{align}
\begin{align}
\LaTeX &= \LaTeX \\
&=\LaTeX
\end{align}
\begin{align}
\LaTeX &= \LaTeX \\
&=\LaTeX
\end{align}
注意:我们并不打算支持 align* 的短代码,因为你可以用 aligned 实现相同的效果。如果你一定要用 align* 请使用
\begin{align*}
\LaTeX &= \LaTeX \\
&=\LaTeX
\end{align*}
\begin{align*}
\LaTeX &= \LaTeX \\
&=\LaTeX
\end{align*}
字母字体对照表 (Alphabets) #
| 字母 | 黑板粗体 (bb) | 花体 (cal) | 手写体 (scr) | 哥特体 (frak) | 哥特小写 (frak) |
| A | \bbA $\to \mathbb{A}$ | \calA $\to \mathcal{A}$ | \scrA $\to \mathscr{A}$ | \frakA $\to \mathfrak{A}$ | \fraka $\to \mathfrak{a}$ |
| B | \bbB $\to \mathbb{B}$ | \calB $\to \mathcal{B}$ | \scrB $\to \mathscr{B}$ | \frakB $\to \mathfrak{B}$ | \frakb $\to \mathfrak{b}$ |
| C | \bbC $\to \mathbb{C}$ | \calC $\to \mathcal{C}$ | \scrC $\to \mathscr{C}$ | \frakC $\to \mathfrak{C}$ | \frakc $\to \mathfrak{c}$ |
| D | \bbD $\to \mathbb{D}$ | \calD $\to \mathcal{D}$ | \scrD $\to \mathscr{D}$ | \frakD $\to \mathfrak{D}$ | \frakd $\to \mathfrak{d}$ |
| E | \bbE $\to \mathbb{E}$ | \calE $\to \mathcal{E}$ | \scrE $\to \mathscr{E}$ | \frakE $\to \mathfrak{E}$ | \frake $\to \mathfrak{e}$ |
| F | \bbF $\to \mathbb{F}$ | \calF $\to \mathcal{F}$ | \scrF $\to \mathscr{F}$ | \frakF $\to \mathfrak{F}$ | \frakf $\to \mathfrak{f}$ |
| G | \bbG $\to \mathbb{G}$ | \calG $\to \mathcal{G}$ | \scrG $\to \mathscr{G}$ | \frakG $\to \mathfrak{G}$ | \frakg $\to \mathfrak{g}$ |
| H | \bbH $\to \mathbb{H}$ | \calH $\to \mathcal{H}$ | \scrH $\to \mathscr{H}$ | \frakH $\to \mathfrak{H}$ | \frakh $\to \mathfrak{h}$ |
| I | \bbI $\to \mathbb{I}$ | \calI $\to \mathcal{I}$ | \scrI $\to \mathscr{I}$ | \frakI $\to \mathfrak{I}$ | \fraki $\to \mathfrak{i}$ |
| J | \bbJ $\to \mathbb{J}$ | \calJ $\to \mathcal{J}$ | \scrJ $\to \mathscr{J}$ | \frakJ $\to \mathfrak{J}$ | \frakj $\to \mathfrak{j}$ |
| K | \bbK $\to \mathbb{K}$ | \calK $\to \mathcal{K}$ | \scrK $\to \mathscr{K}$ | \frakK $\to \mathfrak{K}$ | \frakk $\to \mathfrak{k}$ |
| L | \bbL $\to \mathbb{L}$ | \calL $\to \mathcal{L}$ | \scrL $\to \mathscr{L}$ | \frakL $\to \mathfrak{L}$ | \frakl $\to \mathfrak{l}$ |
| M | \bbM $\to \mathbb{M}$ | \calM $\to \mathcal{M}$ | \scrM $\to \mathscr{M}$ | \frakM $\to \mathfrak{M}$ | \frakm $\to \mathfrak{m}$ |
| N | \bbN $\to \mathbb{N}$ | \calN $\to \mathcal{N}$ | \scrN $\to \mathscr{N}$ | \frakN $\to \mathfrak{N}$ | \frakn $\to \mathfrak{n}$ |
| O | \bbO $\to \mathbb{O}$ | \calO $\to \mathcal{O}$ | \scrO $\to \mathscr{O}$ | \frakO $\to \mathfrak{O}$ | \frako $\to \mathfrak{o}$ |
| P | \bbP $\to \mathbb{P}$ | \calP $\to \mathcal{P}$ | \scrP $\to \mathscr{P}$ | \frakP $\to \mathfrak{P}$ | \frakp $\to \mathfrak{p}$ |
| Q | \bbQ $\to \mathbb{Q}$ | \calQ $\to \mathcal{Q}$ | \scrQ $\to \mathscr{Q}$ | \frakQ $\to \mathfrak{Q}$ | \frakq $\to \mathfrak{q}$ |
| R | \bbR $\to \mathbb{R}$ | \calR $\to \mathcal{R}$ | \scrR $\to \mathscr{R}$ | \frakR $\to \mathfrak{R}$ | \frakr $\to \mathfrak{r}$ |
| S | \bbS $\to \mathbb{S}$ | \calS $\to \mathcal{S}$ | \scrS $\to \mathscr{S}$ | \frakS $\to \mathfrak{S}$ | \fraks $\to \mathfrak{s}$ |
| T | \bbT $\to \mathbb{T}$ | \calT $\to \mathcal{T}$ | \scrT $\to \mathscr{T}$ | \frakT $\to \mathfrak{T}$ | \frakt $\to \mathfrak{t}$ |
| U | \bbU $\to \mathbb{U}$ | \calU $\to \mathcal{U}$ | \scrU $\to \mathscr{U}$ | \frakU $\to \mathfrak{U}$ | \fraku $\to \mathfrak{u}$ |
| V | \bbV $\to \mathbb{V}$ | \calV $\to \mathcal{V}$ | \scrV $\to \mathscr{V}$ | \frakV $\to \mathfrak{V}$ | \frakv $\to \mathfrak{v}$ |
| W | \bbW $\to \mathbb{W}$ | \calW $\to \mathcal{W}$ | \scrW $\to \mathscr{W}$ | \frakW $\to \mathfrak{W}$ | \frakw $\to \mathfrak{w}$ |
| X | \bbX $\to \mathbb{X}$ | \calX $\to \mathcal{X}$ | \scrX $\to \mathscr{X}$ | \frakX $\to \mathfrak{X}$ | \frakx $\to \mathfrak{x}$ |
| Y | \bbY $\to \mathbb{Y}$ | \calY $\to \mathcal{Y}$ | \scrY $\to \mathscr{Y}$ | \frakY $\to \mathfrak{Y}$ | \fraky $\to \mathfrak{y}$ |
| Z | \bbZ $\to \mathbb{Z}$ | \calZ $\to \mathcal{Z}$ | \scrZ $\to \mathscr{Z}$ | \frakZ $\to \mathfrak{Z}$ | \frakz $\to \mathfrak{z}$ |
数学算子对照表 (Operators) #
| 快捷指令 | 渲染效果 | 原始 LaTeX (参考) |
\rmRe | $\operatorname{Re}$ | \operatorname{Re} |
\rmIm | $\operatorname{Im}$ | \operatorname{Im} |
\rmId | $\operatorname{id}$ | \operatorname{id} |
\rmTr | $\operatorname{Tr}$ | \operatorname{Tr} |
\rmHom | $\operatorname{Hom}$ | \operatorname{Hom} |
\rmEnd | $\operatorname{End}$ | \operatorname{End} |
\rmAut | $\operatorname{Aut}$ | \operatorname{Aut} |
\rmExt | $\operatorname{Ext}$ | \operatorname{Ext} |
\rmTor | $\operatorname{Tor}$ | \operatorname{Tor} |
\rmKer | $\operatorname{Ker}$ | \operatorname{Ker} |
\rmCoker | $\operatorname{Coker}$ | \operatorname{Coker} |
\rmImg | $\operatorname{Im}$ | \operatorname{Im} |
\rmSpec | $\operatorname{Spec}$ | \operatorname{Spec} |
\rmProj | $\operatorname{Proj}$ | \operatorname{Proj} |
\rmSpf | $\operatorname{Spf}$ | \operatorname{Spf} |
\rmPic | $\operatorname{Pic}$ | \operatorname{Pic} |
\rmDiv | $\operatorname{Div}$ | \operatorname{Div} |
\rmSupp | $\operatorname{Supp}$ | \operatorname{Supp} |
\rmSym | $\operatorname{Sym}$ | \operatorname{Sym} |
\rmGal | $\operatorname{Gal}$ | \operatorname{Gal} |
\rmRes | $\operatorname{Res}$ | \operatorname{Res} |
\rmCyc | $\operatorname{Cyc}$ | \operatorname{Cyc} |