Package Emulation
Most supported KaTeX functions emulate AMS-LaTeX behavior. That is, they emulate LaTeX running with the amsmath
package, the amsfonts
package, and the amssymb
package installed (via \usepackage{amsmath,amsfonts,amssymb}
).
There are several exceptions, however. Below is a list of additional functions from other LaTeX packages that are emulated by KaTeX.
\hdashline
:
column separator in array
environment
\bm
\cancel
\bcancel
\xcancel
\color
\textcolor
\colorbox
\fcolorbox
\xlongequal
\xtwoheadleftarrow
\xtwoheadrightarrow
\xtofrom
\href
\KaTeX
\widecheck
\gt
\lt
(useful to avoid HTML reserved characters < and >)
\mathclap
\mathllap
\mathrlap
\xleftrightarrow
\xRightarrow
\xLeftarrow
\xLeftrightarrow
\xhookleftarrow
\xhookrightarrow
\xmapsto
\xrightharpoondown
\xrightharpoonup
\xleftharpoondown
\xleftharpoonup
\xrightleftharpoons
\xleftrightharpoons
\coloneqq
\Coloneqq
\coloneq
\Coloneq
\eqqcolon
\Eqqcolon
\eqcolon
\Eqcolon
\colonapprox
\Colonapprox
\colonsim
\Colonsim
\dblcolon
\overgroup
\undergroup
\overlinesegment
\underlinesegment
\overleftharpoon
\overrightharpoon
\Overrightarrow
\notni
\argmin
\argmax`
\lBrace
\rBrace
\llbracket
\rrbracket
\sout
\utilde
Γ
Δ
Θ
Λ
Ξ
Π
Σ
Υ
Φ
Ψ
Ω
α
β
γ
δ
ϵ
ζ
η
θ
ι
κ
λ
μ
ν
ξ
o
π
ρ
σ
τ
υ
ϕ
χ
ψ
ω
ε
ϑ
ϖ
ϱ
ς
φ
ℂ
ℍ
ℕ
ℙ
ℚ
ℝ
ℤ
∂
ð
∇
ℑ
ℓ
℘
ℜ
Ⅎ
ℵ
ℶ
ℷ
ℸ
⅁
∀
∃
∴
∵
∣
∁
∫
∬
∭
∮
∏
∐
∑
⋀
⋁
⋂
⋃
⨀
⨁
⨂
⨄
⨆
±
×
÷
∓
∔
∧
∨
∩
∪
≀
⊎
⊓
⊔
⊕
⊖
⊗
⊘
⊙
⊚
⊛
⊝
⊞
⊟
⊠
⊡
⊺
⊻
⊼
⋇
⋉
⋊
⋋
⋌
⋎
⋏
⋒
⋓
⩞
∈
∋
∝
∼
∽
≂
≃
≅
≈
≊
≍
≎
≏
≐
≑
≒
≓
≖
≗
≜
≡
≤
≥
≦
≧
≫
≬
≳
≷
≺
≻
≼
≽
≾
≿
⊂
⊃
⊆
⊇
⊏
⊐
⊑
⊒
⊢
⊣
⊩
⊪
⊸
⋈
⋍
⋐
⋑
⋔
⋙
⋛
⋞
⋟
⌢
⌣
⩾
⪆
⪌
⪕
⪖
⪯
⪰
⪷
⪸
⫅
⫆
∉
∤
∦
≁
≆
≠
≨
≩
≮
≯
≰
≱
⊀
⊁
⊈
⊉
⊊
⊋
⊬
⊭
⊮
⊯
⋠
⋡
⋦
⋧
⋨
⋩
⋬
⋭
⪇
⪈
⪉
⪊
⪵
⪶
⪹
⪺
⫋
⫌
←
↑
→
↓
↔
↕
↖
↗
↘
↙
↚
↛
↞
↠
↢
↣
↦
↩
↪
↫
↬
↭
↮
↰
↱
↶
↷
↺
↻
↼
↽
↾
↾
↿
⇀
⇁
⇂
⇃
⇄
⇆
⇇
⇈
⇉
⇊
⇋
⇌
⇍
⇎
⇏
⇐
⇑
⇒
⇓
⇔
⇕
⇚
⇛
⇝
⇠
⇢
⟵
⟶
⟷
⟸
⟹
⟺
⟼
£
¥
∞
∠
∡
∢
♠
♡
♢
♣
♭
♮
♯
✓
⟨
⟩
≔
≕
⩴
The official documentation is available at katex.org!