本备忘单总结了 LaTeX 常用显示数学符号的参考列表和一些 KaTeX 的应用示例。
LaTeX 基于 TEX 的排版系统,适用于生成高印刷质量的科技和数学、物理文档。
而 KaTeX 只处理 LaTeX 的数学符号的一个更小的子集,用于 web 上展示
% \f is defined as #1f(#2) using the macro
f\relax(x) = \int_{-\infty}^\infty
f\hat\xi\,e^{2 \pi i \xi x}
\,d\xi
% \f is defined as #1f(#2) using the macro
f\relax (x) = \int _{-\infty }^\infty
f\hat\xi \, e^{2 \pi i \xi x}
\, d\xi
基于 KaTeX 在一行
展示示例: ` KaTeX:\int_0^\infty x^2 dx `
基于 KaTeX 在一行展示示例: KaTeX:\int_0^\infty x^2 dx
:-
:-
:-
KaTeX:a'
a'
KaTeX:\tilde{a}
\tilde{a}
KaTeX:\mathring{g}
\mathring{g}
KaTeX:a''
a''
KaTeX:\widetilde{ac}
\widetilde{ac}
KaTeX:\overgroup{AB}
\overgroup{AB}
KaTeX:a^{\prime}
a^{\prime}
KaTeX:\utilde{AB}
\utilde{AB}
KaTeX:\undergroup{AB}
\undergroup{AB}
KaTeX:\acute{a}
\acute{a}
KaTeX:\vec{F}
\vec{F}
KaTeX:\Overrightarrow{AB}
\Overrightarrow{AB}
KaTeX:\bar{y}
\bar{y}
KaTeX:\overleftarrow{AB}
\overleftarrow{AB}
KaTeX:\overrightarrow{AB}
\overrightarrow{AB}
KaTeX:\breve{a}
\breve{a}
KaTeX:\underleftarrow{AB}
\underleftarrow{AB}
KaTeX:\underrightarrow{AB}
\underrightarrow{AB}
KaTeX:\check{a}
\check{a}
KaTeX:\overleftharpoon{ac}
\overleftharpoon{ac}
KaTeX:\overrightharpoon{ac}
\overrightharpoon{ac}
KaTeX:\dot{a}
\dot{a}
KaTeX:\overleftrightarrow{AB}
\overleftrightarrow{AB}
KaTeX:\overbrace{AB}
\overbrace{AB}
KaTeX:\ddot{a}
\ddot{a}
KaTeX:\underleftrightarrow{AB}
\underleftrightarrow{AB}
KaTeX:\underbrace{AB}
\underbrace{AB}
KaTeX:\grave{a}
\grave{a}
KaTeX:\overline{AB}
\overline{AB}
KaTeX:\overlinesegment{AB}
\overlinesegment{AB}
KaTeX:\hat{\theta}
\hat{\theta}
KaTeX:\underline{AB}
\underline{AB}
KaTeX:\underlinesegment{AB}
\underlinesegment{AB}
KaTeX:\widehat{ac}
\widehat{ac}
KaTeX:\widecheck{ac}
\widecheck{ac}
KaTeX:\underbar{X}
\underbar{X}
:-
:-
:-
KaTeX:\'{a}
\'{a}
KaTeX:\~{a}
\~{a}
KaTeX:\.{a}
\.{a}
KaTeX:\H{a}
\H{a}
KaTeX:\\\`{a}
\`{a}
KaTeX:\={a}
\={a}
KaTeX:\"{a}
\"{a}
KaTeX:\v{a}
\v{a}
KaTeX:\^{a}
\^{a}
KaTeX:\u{a}
\u{a}
KaTeX:\r{a}
\r{a}
:-
:-
KaTeX:\left(\LARGE{AB}\right)
\left(\LARGE{AB}\right)
KaTeX:( \big( \Big( \bigg( \Bigg(
( \big( \Big( \bigg( \Bigg(
:-
:-
:-
:-
:-
\left
\big
\bigl
\bigm
\bigr
\middle
\Big
\Bigl
\Bigm
\Bigr
\right
\bigg
\biggl
\biggm
\biggr
``
\Bigg
\Biggl
\Biggm
\Biggr
希腊和希伯来字母 Greek and Hebrew letters
预览
方法
预览
方法
预览
方法
预览
方法
预览
方法
预览
方法
KaTex:\alpha
\alpha
KaTex:\kappa
\kappa
KaTex:\psi
\psi
KaTex:\digamma
\digamma
KaTex:\Delta
\Delta
KaTex:\Theta
\Theta
KaTex:\beta
\beta
KaTex:\lambda
\lambda
KaTex:\rho
\rho
KaTex:\varepsilon
\varepsilon
KaTex:\Gamma
\Gamma
KaTex:\Upsilon
\Upsilon
KaTex:\chi
\chi
KaTex:\mu
\mu
KaTex:\sigma
\sigma
KaTex:\varkappa
\varkappa
KaTex:\Lambda
\Lambda
KaTex:\Xi
\Xi
KaTex:\delta
\delta
KaTex:\nu
\nu
KaTex:\tau
\tau
KaTex:\varphi
\varphi
KaTex:\Omega
\Omega
KaTex:\epsilon
\epsilon
KaTex:o
o
KaTex:\theta
\theta
KaTex:\varpi
\varpi
KaTex:\Phi
\Phi
KaTex:\aleph
\aleph
KaTex:\eta
\eta
KaTex:\omega
\omega
KaTex:\upsilon
\upsilon
KaTex:\varrho
\varrho
KaTex:\Pi
\Pi
KaTex:\beth
\beth
KaTex:\gamma
\gamma
KaTex:\phi
\phi
KaTex:\xi
\xi
KaTex:\varsigma
\varsigma
KaTex:\Psi
\Psi
KaTex:\daleth
\daleth
KaTex:\iota
\iota
KaTex:\pi
\pi
KaTex:\zeta
\zeta
KaTex:\vartheta
\vartheta
KaTex:\Sigma
\Sigma
KaTex:\gimel
\gimel
预览
方法
预览
方法
预览
方法
预览
方法
预览
方法
KaTeX:()
()
KaTeX:\lparen \rparen
\lparen
\rparen
KaTex:⌈ ⌉
⌈ ⌉
KaTex:\lceil \rceil
\lceil
\rceil
KaTex:\uparrow
\uparrow
KaTeX:[]
[]
KaTeX:\lbrack \rbrack
\lbrack
\rbrack
KaTex:⌊ ⌋
⌊ ⌋
KaTex:\lfloor \rfloor
\lfloor
\rfloor
KaTex:\downarrow
\downarrow
KaTeX:\{ \}
{}
KaTex:\lbrace \rbrace
\lbrace
\rbrace
KaTex:⎰⎱
⎰⎱
KaTex:\lmoustache \rmoustache
\lmoustache
\rmoustache
KaTex:\updownarrow
\updownarrow
KaTeX:⟨ ⟩
⟨⟩
KaTex:\langle \rangle
\langle
\rangle
KaTex:⟮ ⟯
⟮ ⟯
KaTex:\lgroup \rgroup
\lgroup
\rgroup
KaTex:\Uparrow
\Uparrow
KaTeX:∣
|
KaTex:\vert
\vert
KaTex:┌ ┐
┌ ┐
KaTex:\ulcorner \urcorner
\ulcorner
\urcorner
KaTex:\Downarrow
\Downarrow
KaTeX:|
(MD语法冲突)
\|
KaTex:\Vert
\Vert
KaTex:└ ┘
└ ┘
KaTex:\llcorner \lrcorner
\llcorner
\lrcorner
KaTex:\Updownarrow
\Updownarrow
KaTeX:∣ ∣
\lvert
\rvert
KaTex:\lVert \rVert
\lVert
\rVert
\left.
\right.
KaTex:\backslash
\backslash
KaTeX:\lang
KaTeX:\rang
\lang
\rang
KaTeX:\lt \gt
\lt \gt
KaTex:⟦ ⟧
⟦ ⟧
KaTex:\llbracket \rrbracket
\llbracket
\rrbracket
KaTex:\lBrace \rBrace
\lBrace \rBrace
\begin{matrix}
a & b \\
c & d
\end{matrix}
\begin {matrix }
a & b \\
c & d
\end {matrix }
\begin{array}{cc}
a & b \\
c & d
\end{array}
\begin {array }{cc}
a & b \\
c & d
\end {array }
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
\begin {pmatrix }
a & b \\
c & d
\end {pmatrix }
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
\begin {bmatrix }
a & b \\
c & d
\end {bmatrix }
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
\begin {vmatrix }
a & b \\
c & d
\end {vmatrix }
\begin{Vmatrix}
a & b \\
c & d
\end{Vmatrix}
\begin {Vmatrix }
a & b \\
c & d
\end {Vmatrix }
\begin{Bmatrix}
a & b \\
c & d
\end{Bmatrix}
\begin {Bmatrix }
a & b \\
c & d
\end {Bmatrix }
\def\arraystretch{1.5}
\begin{array}{c:c:c}
a & b & c \\ \hline
d & e & f \\
\hdashline
g & h & i
\end{array}
\def\arraystretch {1.5}
\begin {array }{c:c:c}
a & b & c \\ \hline
d & e & f \\
\hdashline
g & h & i
\end {array }
x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
\end{cases}
x = \begin {cases }
a &\text {if } b \\
c &\text {if } d
\end {cases }
\begin{rcases}
a &\text{if } b \\
c &\text{if } d
\end{rcases}⇒…
\begin {rcases }
a &\text {if } b \\
c &\text {if } d
\end {rcases }⇒…
\begin{smallmatrix}
a & b \\
c & d
\end{smallmatrix}
\begin {smallmatrix }
a & b \\
c & d
\end {smallmatrix }
\sum_{
\begin{subarray}{l}
i\in\Lambda\\
0<j<n
\end{subarray}}
\sum _{
\begin {subarray }{l}
i\in\Lambda \\
0<j<n
\end {subarray }}
\begin{equation}
\begin{split} a &=b+c\\
&=e+f
\end{split}
\end{equation}
\begin {equation }
\begin {split } a &=b+c\\
&=e+f
\end {split }
\end {equation }
\begin{align}
a&=b+c \\
d+e&=f
\end{align}
\begin {align }
a&=b+c \\
d+e&=f
\end {align }
\begin{gather}
a=b \\
e=b+c
\end{gather}
\begin {gather }
a=b \\
e=b+c
\end {gather }
\begin{alignat}{2}
10&x+&3&y=2\\
3&x+&13&y=4
\end{alignat}
\begin {alignat }{2}
10&x+&3&y=2\\
3&x+&13&y=4
\end {alignat }
\begin{CD}
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end{CD}
\begin {CD }
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end {CD }