LaTeX对照表

字体

  • default : 123abcABC\color{red}123abcABC
  • mathrm : 123abcABC\mathrm{123abcABC}
  • mathbb : 123abcABC\mathbb{123abcABC}
  • mathbf : 123abcABC\mathbf{123abcABC}
  • mathcal : 123abcABC\mathcal{123abcABC}
  • mathfrak : 123abcABC\mathfrak{123abcABC}
  • mathit : 123abcABC\mathit{123abcABC}
  • mathscr : 123abcABC\mathscr{123abcABC}
  • mathsf : 123abcABC\mathsf{123abcABC}
  • mathtt : 123abcABC\mathtt{123abcABC}

字号

  • tiny : 123abcABC\tiny{123abcABC}
  • scriptsize : 123abcABC\scriptsize{123abcABC}
  • small : 123abcABC\small{123abcABC}
  • default: 123abcABC\color{red}123abcABC
  • large : 123abcABC\large{123abcABC}
  • Large : 123abcABC\Large{123abcABC}
  • LARGE : 123abcABC\LARGE{123abcABC}
  • huge : 123abcABC\huge{123abcABC}
  • Huge : 123abcABC\Huge{123abcABC}

希腊字母

(为方便查看,字母均使用 Large 字号)

  • alpha : α\Large\alpha
  • beta : β\Large\beta
  • gamma : γ\Large\gamma
  • Gamma : Γ\Large\Gamma
  • varepsilon : ε\Large\varepsilon
  • delta : δ\Large\delta
  • Delta : Δ\Large\Delta
  • zeta : ζ\Large\zeta
  • eta : η\Large\eta
  • theta : θ\Large\theta
  • Theta : Θ\Large\Theta
  • iota : ι\Large\iota
  • kappa : κ\Large\kappa
  • lambda : λ\Large\lambda
  • mu : μ\Large\mu
  • nu : ν\Large\nu
  • xi : ξ\Large\xi
  • pi : π\Large\pi
  • varpi : ϖ\Large\varpi
  • rho : ρ\Large\rho
  • sigma : σ\Large\sigma
  • tau : τ\Large\tau
  • phi : ϕ\Large\phi
  • Phi : Φ\Large\Phi
  • varphi : φ\Large\varphi
  • psi : ψ\Large\psi
  • Psi : Ψ\Large\Psi
  • omega : ω\Large\omega
  • Omega : Ω\Large\Omega
  • partial : \Large\partial

常用操作

  • a^{nm} : anm\color{blue}a^{nm}
  • a_{i,j} : ai,j\color{blue}a_{i,j}
  • \frac{a}{b} : ab\color{blue}\frac{a}{b}
  • \left\lfloor\frac{a}{b}\right\rfloor : ab\color{blue}\left\lfloor\frac{a}{b}\right\rfloor
  • \left\lceil\frac{a}{b}\right\rceiil : ab\color{blue}\left\lceil\frac{a}{b}\right\rceil
  • \sqrt[n]{abc} : abcn\color{blue}\sqrt[n]{abc}
  • \sum\limits_{i=1}^n a_i : i=1nai\color{blue}\sum\limits_{i=1}^n a_i
  • \prod\limits_{i=1}^n a_i : i=1nai\color{blue}\prod\limits_{i=1}^n a_i
  • u\to v : uv\color{blue}u\to v
  • u\xrightarrow{w}v : uwv\color{blue}u\xrightarrow{w}v
  • \begin{matrix} 1&2&3 \\ 4&5&6\ \ 7&8&9 \end{matrix} : $$\color{blue}\begin{matrix} 1&2&3 \ 4&5&6 \ 7&8&9 \end{matrix}$$
  • \begin{pmatrix} 1&2&3 \\ 4&5&6 \\ 7&8&9 \end{pmatrix} : $$\color{blue}\begin{pmatrix} 1&2&3 \ 4&5&6 \ 7&8&9 \end{pmatrix}$$
  • \begin{bmatrix} 1&2&3 \\ 4&5&6 \\ 7&8&9 \end{bmatrix} : $$\color{blue}\begin{bmatrix} 1&2&3 \ 4&5&6 \ 7&8&9 \end{bmatrix}$$
  • \begin{Bmatrix} 1&2&3 \\ 4&5&6 \\ 7&8&9 \end{Bmatrix} : $$\color{blue}\begin{Bmatrix} 1&2&3 \ 4&5&6 \ 7&8&9 \end{Bmatrix}$$
  • f(x)=\begin{cases} 1&\text{if }x=1\text{ or }x=2 \\ f(x-1)+f(x-2)&\text{if } x>2 \end{cases} : $$\color{blue}f(x)=\begin{cases} 1&\text{if }x=1\text{ or }x=2 \ f(x-1)+f(x-2)&\text{if } x>2 \end{cases}$$
  • \begin{aligned} s&=\sum\limits_{i=1}^n a_i \\ &=a_1+a_2+\cdots+a_n \end{aligned} : $$\color{blue}\begin{aligned} s&=\sum\limits_{i=1}^n a_i \ &=a_1+a_2+\cdots+a_n \end{aligned}$$