行内公式:$$
块间公式:快捷键 Ctrl+Shift+M 或 $$ 回车
小写字母代码 | 小写字母效果 | 大写字母代码 | 大写字母效果 | 异体字母代码 | 异体字母效果 |
---|---|---|---|---|---|
$\alpha$ |
α \alpha α | $\Alpha$ |
A \Alpha A | ||
$\beta$ |
β \beta β | $\Beta$ |
B \Beta B | ||
$\gamma$ |
γ \gamma γ | $\Gamma$ |
Γ \Gamma Γ | ||
$\delta$ |
δ \delta δ | $\Delta$ |
Δ \Delta Δ | ||
$\epsilon$ |
ϵ \epsilon ϵ | $\Epsilon$ |
E \Epsilon E | $\varepsilon$ |
ε \varepsilon ε |
$\zeta$ |
ζ \zeta ζ | $\Zeta$ |
Z \Zeta Z | ||
$\eta$ |
η \eta η | $\Eta$ |
H \Eta H | ||
$\theta$ |
θ \theta θ | $\Theta$ |
Θ \Theta Θ | $\vartheta$ |
ϑ \vartheta ϑ |
$\iota$ |
ι \iota ι | $\Iota$ |
I \Iota I | ||
$\kappa$ |
κ \kappa κ | $\Kappa$ |
K \Kappa K | $\varkappa$ |
ϰ \varkappa ϰ |
$\lambda$ |
λ \lambda λ | $\Lambda$ |
Λ \Lambda Λ | ||
$\mu$ |
μ \mu μ | $\Mu$ |
M \Mu M | ||
$\nu$ |
ν \nu ν | $\Nu$ |
N \Nu N | ||
$\xi$ |
ξ \xi ξ | $\Xi$ |
Ξ \Xi Ξ | ||
$\omicron$ |
ο \omicron ο | $\Omicron$ |
O \Omicron O | ||
$\pi$ |
π \pi π | $\Pi$ |
Π \Pi Π | $\varpi$ |
ϖ \varpi ϖ |
$\rho$ |
ρ \rho ρ | $\Rho$ |
P \Rho P | $\varrho$ |
ϱ \varrho ϱ |
$\sigma$ |
σ \sigma σ | $\Sigma$ |
Σ \Sigma Σ | $\varsigma$ |
ς \varsigma ς |
$\tau$ |
τ \tau τ | $\Tau$ |
T \Tau T | ||
$\upsilon$ |
υ \upsilon υ | $\Upsilon$ |
Υ \Upsilon Υ | ||
$\phi$ |
ϕ \phi ϕ | $\Phi$ |
Φ \Phi Φ | $\varphi$ |
φ \varphi φ |
$\chi$ |
χ \chi χ | $\Chi$ |
X \Chi X | ||
$\psi$ |
ψ \psi ψ | $\Psi$ |
Ψ \Psi Ψ | ||
$\omega$ |
ω \omega ω | $\Omega$ |
Ω \Omega Ω |
可用于矢量加粗
$\boldsymbol{\alpha}$
α \boldsymbol{\alpha} α
\mathbb{R}
R \mathbb{R} R
$\mathcal{R}
R \mathcal{R} R
$\mathscr{R}
R \mathscr{R} R
清除字母斜体,即使用罗马字体{\rm text}
其他的字体还有:
\rm
罗马体
\it
意大利体
\bf
黑体
\cal
花体
\sl
倾斜体
\sf
等线体
\mit
数学斜体
\tt
打字机字体
\sc
小体大写字母
± :\pm
× :\times
÷:\div
∣:\mid
∼ \sim ∼:\sim
⋅:\cdot
KaTeX parse error: Undefined control sequence: \bigdot at position 1: \̲b̲i̲g̲d̲o̲t̲:\bigdot
(注:LaTeX中需导入宏包\usepackage{graphicx}
)
∙ \bullet ∙: \bullet
∘:\circ
∗: \ast
⨀:\bigodot
⨂:\bigotimes
⨁:\bigoplus
≤:\leq
≥:\geq
≠:\neq
≈:\approx
≡:\equiv
∑:\sum
∏:\prod
∐:\coprod
x a + b x^{a+b} xa+b x^{a+b}
y 2 k + 1 y_{2k+1} y2k+1 y_{2k+1}
1 2 \frac{1}{2} 21 \frac{1}{2}
2 \sqrt{2} 2 \sqrt{2}
2 3 \sqrt[3]{2} 32 \sqrt[3]{2}
a ⃗ \vec{a} a \vec{a}
∅:\emptyset
∈:\in
∉:\notin
⊂:\subset
⊃ :\supset
⊆ :\subseteq
⊇ :\supseteq
⋂ :\bigcap
⋃ :\bigcup
⋁ :\bigvee
⋀ :\bigwedge
⨄ :\biguplus
⨆:\bigsqcup
log :\log
lg :\lg
ln :\ln
⊥:\bot
∠:\angle
30∘:30^\circ
sin :\sin
cos :\cos
tan :\tan
cot :\cot
sec :\sec
csc :\csc
y ′ y^\prime y′:y^\prime
∫:\int
∬ :\iint
∭ :\iiint
⨌:\iiiint
∮ :\oint
lim :\lim
∞ :\infty
∇:\nabla
∵:\because
∴ :\therefore
∀ :\forall
∃ :\exists
≠ :\not=
≯:\not>
⊄:\not\subset
y ^ \hat{y} y^ :\hat{y}
y ˇ \check{y} yˇ:\check{y}
y ˘ \breve{y} y˘:\breve{y}
a + b + c + d ‾ \overline{a+b+c+d} a+b+c+d \overline{a+b+c+d}
a + b + c + d ‾ \underline{a+b+c+d} a+b+c+d \underline{a+b+c+d}
a + b + c ⏟ 1.0 + d ⏞ 2.0 \overbrace{a+\underbrace{b+c}_{1.0}+d}^{2.0} a+1.0 b+c+d 2.0 \overbrace{a+\underbrace{b+c}_{1.0}+d}^{2.0}
↑:\uparrow
↓:\downarrow
⇑ :\Uparrow
⇓:\Downarrow
→:\rightarrow
← :\leftarrow
⇒ :\Rightarrow
⇐ :\Leftarrow
⟶ \longrightarrow ⟶ :\longrightarrow
⟵ \longleftarrow ⟵:\longleftarrow
⟹ \Longrightarrow ⟹:\Longrightarrow
⟸ \Longleftarrow ⟸:\Longleftarrow
要输出字符 空格 # $ % & _ { }
用命令 \空格 \# \$ % \& \_ \{ \}
a i \mathop{a}\limits_{i} ia \mathop{a}\limits_{i}
\left[ \matrix{ 1 & x & x^2\\ 1 & y & y^2\\ 1 & z & z^2 } \right]
KaTeX parse error: Undefined control sequence: \matrix at position 8: \left[ \̲m̲a̲t̲r̲i̲x̲{ 1 & x & x^2…
X=\left| \begin{matrix} x_{11} & x_{12} & \cdots & x_{1d}\\ x_{21} & x_{22} & \cdots & x_{2d}\\ \vdots & \vdots & \ddots & \vdots \\ x_{11} & x_{12} & \cdots & x_{1d}\\ \end{matrix} \right|
X = ∣ x 11 x 12 ⋯ x 1 d x 21 x 22 ⋯ x 2 d ⋮ ⋮ ⋱ ⋮ x 11 x 12 ⋯ x 1 d ∣ X=\left| \begin{matrix} x_{11} & x_{12} & \cdots & x_{1d}\\ x_{21} & x_{22} & \cdots & x_{2d}\\ \vdots & \vdots & \ddots & \vdots \\ x_{11} & x_{12} & \cdots & x_{1d}\\ \end{matrix} \right| X=∣∣∣∣∣∣∣∣∣x11x21⋮x11x12x22⋮x12⋯⋯⋱⋯x1dx2d⋮x1d∣∣∣∣∣∣∣∣∣
a\xlongequal[abc]{def}b
a = a b c d e f b a\xlongequal[abc]{def}b adefabcb
\bigg [
[ \bigg [ [
\Bigg [
[ \Bigg [ [
\begin{align*}
&= * \\
&= * \\
&= *
\end{align*}
示例:
KaTeX parse error: No such environment: align* at position 7: \begin{̲a̲l̲i̲g̲n̲*̲}̲ \int^\pi_0f(x)…
f(n)=
\begin{cases}
n/2, & \text{if n is even}\\
3n+1,& \text{if n is odd}
\end{cases}
或
f(n)=
\left\{
n/2, & if n is even\\
3n+1,& if n is odd
\right.
f ( n ) = { n / 2 , if n is even 3 n + 1 , if n is odd f(n)= \begin{cases} n/2, & \text{if $n$ is even}\\ 3n+1,& \text{if $n$ is odd} \end{cases} f(n)={n/2,3n+1,if n is evenif n is odd