Latex公式速查表
希腊字母:
大写 | 写法 | 小写 | 写法 |
---|---|---|---|
A A A | A | α \alpha α | \alpha |
B B B | B | β \beta β | \beta |
Γ \Gamma Γ | \Gamma | γ \gamma γ | \gamma |
Δ \Delta Δ | \Delta | δ \delta δ | \delta |
H H H | H | η \eta η | \eta |
Θ \Theta Θ | \Theta | θ \theta θ | \theta |
Λ \Lambda Λ | \Lambda | λ \lambda λ | \lambda |
M M M | M | μ \mu μ | \mu |
N N N | N | ν \nu ν | \nu |
Ξ \Xi Ξ | \Xi | ξ \xi ξ | \xi |
Π \Pi Π | \Pi | π \pi π | \pi |
P P P | P | ρ \rho ρ | \rho |
Σ \Sigma Σ | \Sigma | σ \sigma σ | \sigma |
T T T | T | τ \tau τ | \tau |
Y Y Y | Y | υ \upsilon υ | \upsilon |
Φ \Phi Φ | \Phi | ϕ \phi ϕ | \phi |
Ψ \Psi Ψ | \Psi | ψ \psi ψ | \psi |
Ω \Omega Ω | \Omega | ω \omega ω | \omega |
括号与位置标定
- 上标、下标:^ _ :x_2^3 x 2 3 x_2^3 x23
- 求和:\sum下标~上标,例如: ∑ i = 0 n \sum_{i=0}^n ∑i=0n : $\sum_{i=0}^n$
- 积分:
- \int下标~上标,例如: ∫ 1 ∞ \int_1^\infty ∫1∞ : $\int_1^\infty$
- \iint下标~上标,例如: ∬ 1 ∞ \iint_1^\infty ∬1∞: $\iint_1^\infty$
- 连乘: ∏ { a + b } \prod\lbrace a+b \rbrace ∏{a+b}: $\prod\lbrace a+b \rbrace$
- max c k \max_{c_k} maxck: $\max_{c_k}$
特殊函数与符号
形式 | 语法 | 形式 | 语法 |
---|---|---|---|
< \lt < | \lt | > \gt > | \gt |
≤ \le ≤ | \le | ≥ \ge ≥ | \ge |
≠ \ne = | \ne | ≱ \not \ge ≥ | \not \ge |
∪ \cup ∪ | \cup | ∩ \cap ∩ | \cap |
∖ \setminus ∖:差集 | \setminus | ⊂ \subset ⊂ | \subset |
⊆ \subseteq ⊆ | \subseteq | ⊊ \subsetneq ⊊ | \subsetneq |
⊃ \supset ⊃ | \supset | ∈ \in ∈ | \in |
∉ \notin ∈/ | \notin 、\not \in | ∅ \emptyset ∅ | \emptyset |
∅ \varnothing ∅ | \varnothing | ↦ \mapsto ↦ | \mapsto |
→ \to → | \to | → \rightarrow → | \rightarrow |
← \leftarrow ← | \leftarrow | ⇐ \Leftarrow ⇐ | \Leftarrow |
⇒ \Rightarrow ⇒ | \Rightarrow | ¬ \lnot ¬ | \lont |
∧ \land ∧ | \land | ∨ \lor ∨ | \lor |
∀ \forall ∀ | \forall | ∃ \exists ∃ | \exists |
⊤ \top ⊤ | \top | ⊥ \bot ⊥ | \bot |
⊢ \vdash ⊢ | \vdash | ⊨ \vDash ⊨ | \vDash |
⋆ \star ⋆ | \star | ∗ \ast ∗ | \ast |
⊕ \oplus ⊕ | \oplus | ∘ \circ ∘ | \circ |
∙ \bullet ∙ | \bullet | ≈ \approx ≈ | \approx |
∼ \sim ∼ | \sim | ≡ \equiv ≡ | \equiv |
≺ \prec ≺ | \prec | ∞ \infty ∞ | \infty |
ℵ o \aleph_o ℵo | \aleph_o | ∇ \nabla ∇ | \nabla |
ℑ \Im ℑ | \Im | R \R R | \R |
ℜ \Re ℜ | \Re | a ( m o d b ) a\pmod b a(modb) | \pmod |
… \ldots … | \ldots (low) | ⋯ \cdots ⋯ | \cdots (center) |
⋅ \cdot ⋅ | \cdot | x ˙ \dot x x˙ | \dot x |
x ^ \hatx x^ | \hat x | x y z ^ \widehat {xyz} xyz | \widehat {xyz} |
x ‾ \overline x x | \overline x | x ⃗ \vec x x | \vec x |
x → \overrightarrow x x | \overrightarrow x | s a s d \mathbf {sasd} sasd | \mathbf {} 黑体 |
A C B D \mathtt {ACBD} ACBD | \mathtt{ABCD} | A B C D R \Bbb{ABCDR} ABCDR | \Bbb{ABCDR} |
括号:
形式 | 写法 |
---|---|
( x ) (x) (x) | $(x)$ |
[ x ] [x] [x] | $[x]$ |
{ x } \lbrace x \rbrace {x} | $\lbrace x \rbrace$ |
⟨ x ⟩ \langle x \rangle ⟨x⟩ | $\langle x \rangle$ |
⌈ x ⌉ \lceil x \rceil ⌈x⌉ | $\lceil x \rceil$ |
⌊ x ⌋ \lfloor x \rfloor ⌊x⌋ | $\lfloor x \rfloor$ |
分数与根式
形式 | 写法 |
---|---|
a b + 1 \frac a{b+1} b+1a | $\frac a {b+1}$ |
a + 1 b {a+1} \over {b} ba+1 | ${a+1} \over {b}$ |
x = a 0 + 1 2 a 1 + a 2 2 x = a_0 + \frac {1^2}{a_1 + \frac {a_2}{2}} x=a0+a1+2a212 | $x = a_0 + \frac {1^2} {a_1 + \frac {a_2}{2}}$ |
x y 2 \sqrt [2] {\frac x y} 2yx | $\sqrt [2] {\frac x y}$ |
分段函数、多行算式
形式 | 写法 |
---|---|
f ( n ) { n 2 , i f n = 9 3 n + 1 , i f n ≠ 9 f(n) \begin{cases} \cfrac n2, &if\ n\ =\ 9\\ 3n+1, &if\ n\ \neq 9 \end{cases} f(n)⎩⎨⎧2n,3n+1,if n = 9if n =9 | $f(n) \begin{cases} \cfrac n2, &if\ n\ =\ 9\ 3n+1, &if\ n\ \neq 9 \end{cases}$ |
方程组
形式 | 语法 |
---|---|
\left { \begin{array}{c} … \end{array} \right. | |
{ a 1 x + b 1 y + c 1 z = d 1 a 2 x + b 2 y − c 2 z = d 2 2 \left \{\begin{array}{c} a_1x+b_1y+c_1z = d_1\\a_2x+b_2y-c_2z=d_2^2 \end{array} \right. {a1x+b1y+c1z=d1a2x+b2y−c2z=d22 | $\left {\begin{array}{c} a_1x+b_1y+c_1z = d_1\\a_2x+b_2y-c_2z=d_2^2 \end{array} \right.$ |
矩阵
形式 | 语法 |
---|---|
1 x x 2 1 y y 2 1 z z 2 \begin{matrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{matrix} 111xyzx2y2z2 | \begin{matrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\ end{matrix} |
( 1 x x 2 1 y y 2 1 z z 2 ) \begin{pmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{pmatrix} ⎝⎛111xyzx2y2z2⎠⎞ | \begin{pmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{pmatrix} |
[ 1 x x 2 1 y y 2 1 z z 2 ] \begin{bmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{bmatrix} ⎣⎡111xyzx2y2z2⎦⎤ | \begin{bmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{bmatrix} |
∣ 1 x x 2 1 y y 2 1 z z 2 ∣ \begin{vmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{vmatrix} ∣∣∣∣∣∣111xyzx2y2z2∣∣∣∣∣∣ | \begin{vmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{vmatrix} |
∥ 1 x x 2 1 y y 2 1 z z 2 ∥ \begin{Vmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{Vmatrix} ∥∥∥∥∥∥111xyzx2y2z2∥∥∥∥∥∥ | \begin{Vmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{Vmatrix} |
公式标号
形式 | 语法 |
---|---|
KaTeX parse error: \tag works only in display equations | x+y=z \tag{1.2} |
Latex公式速查表
希腊字母:
大写 | 写法 | 小写 | 写法 |
---|---|---|---|
A A A | A | α \alpha α | \alpha |
B B B | B | β \beta β | \beta |
Γ \Gamma Γ | \Gamma | γ \gamma γ | \gamma |
Δ \Delta Δ | \Delta | δ \delta δ | \delta |
H H H | H | η \eta η | \eta |
Θ \Theta Θ | \Theta | θ \theta θ | \theta |
Λ \Lambda Λ | \Lambda | λ \lambda λ | \lambda |
M M M | M | μ \mu μ | \mu |
N N N | N | ν \nu ν | \nu |
Ξ \Xi Ξ | \Xi | ξ \xi ξ | \xi |
Π \Pi Π | \Pi | π \pi π | \pi |
P P P | P | ρ \rho ρ | \rho |
Σ \Sigma Σ | \Sigma | σ \sigma σ | \sigma |
T T T | T | τ \tau τ | \tau |
Y Y Y | Y | υ \upsilon υ | \upsilon |
Φ \Phi Φ | \Phi | ϕ \phi ϕ | \phi |
Ψ \Psi Ψ | \Psi | ψ \psi ψ | \psi |
Ω \Omega Ω | \Omega | ω \omega ω | \omega |
括号与位置标定
- 上标、下标:^ _ :x_2^3 x 2 3 x_2^3 x23
- 求和:\sum下标~上标,例如: ∑ i = 0 n \sum_{i=0}^n ∑i=0n : $\sum_{i=0}^n$
- 积分:
- \int下标~上标,例如: ∫ 1 ∞ \int_1^\infty ∫1∞ : $\int_1^\infty$
- \iint下标~上标,例如: ∬ 1 ∞ \iint_1^\infty ∬1∞: $\iint_1^\infty$
- 连乘: ∏ { a + b } \prod\lbrace a+b \rbrace ∏{a+b}: $\prod\lbrace a+b \rbrace$
- max c k \max_{c_k} maxck: $\max_{c_k}$
特殊函数与符号
形式 | 语法 | 形式 | 语法 |
---|---|---|---|
< \lt < | \lt | > \gt > | \gt |
≤ \le ≤ | \le | ≥ \ge ≥ | \ge |
≠ \ne = | \ne | ≱ \not \ge ≥ | \not \ge |
∪ \cup ∪ | \cup | ∩ \cap ∩ | \cap |
∖ \setminus ∖:差集 | \setminus | ⊂ \subset ⊂ | \subset |
⊆ \subseteq ⊆ | \subseteq | ⊊ \subsetneq ⊊ | \subsetneq |
⊃ \supset ⊃ | \supset | ∈ \in ∈ | \in |
∉ \notin ∈/ | \notin 、\not \in | ∅ \emptyset ∅ | \emptyset |
∅ \varnothing ∅ | \varnothing | ↦ \mapsto ↦ | \mapsto |
→ \to → | \to | → \rightarrow → | \rightarrow |
← \leftarrow ← | \leftarrow | ⇐ \Leftarrow ⇐ | \Leftarrow |
⇒ \Rightarrow ⇒ | \Rightarrow | ¬ \lnot ¬ | \lont |
∧ \land ∧ | \land | ∨ \lor ∨ | \lor |
∀ \forall ∀ | \forall | ∃ \exists ∃ | \exists |
⊤ \top ⊤ | \top | ⊥ \bot ⊥ | \bot |
⊢ \vdash ⊢ | \vdash | ⊨ \vDash ⊨ | \vDash |
⋆ \star ⋆ | \star | ∗ \ast ∗ | \ast |
⊕ \oplus ⊕ | \oplus | ∘ \circ ∘ | \circ |
∙ \bullet ∙ | \bullet | ≈ \approx ≈ | \approx |
∼ \sim ∼ | \sim | ≡ \equiv ≡ | \equiv |
≺ \prec ≺ | \prec | ∞ \infty ∞ | \infty |
ℵ o \aleph_o ℵo | \aleph_o | ∇ \nabla ∇ | \nabla |
ℑ \Im ℑ | \Im | R \R R | \R |
ℜ \Re ℜ | \Re | a ( m o d b ) a\pmod b a(modb) | \pmod |
… \ldots … | \ldots (low) | ⋯ \cdots ⋯ | \cdots (center) |
⋅ \cdot ⋅ | \cdot | x ˙ \dot x x˙ | \dot x |
x ^ \hatx x^ | \hat x | x y z ^ \widehat {xyz} xyz | \widehat {xyz} |
x ‾ \overline x x | \overline x | x ⃗ \vec x x | \vec x |
x → \overrightarrow x x | \overrightarrow x | s a s d \mathbf {sasd} sasd | \mathbf {} 黑体 |
A C B D \mathtt {ACBD} ACBD | \mathtt{ABCD} | A B C D R \Bbb{ABCDR} ABCDR | \Bbb{ABCDR} |
括号:
形式 | 写法 |
---|---|
( x ) (x) (x) | $(x)$ |
[ x ] [x] [x] | $[x]$ |
{ x } \lbrace x \rbrace {x} | $\lbrace x \rbrace$ |
⟨ x ⟩ \langle x \rangle ⟨x⟩ | $\langle x \rangle$ |
⌈ x ⌉ \lceil x \rceil ⌈x⌉ | $\lceil x \rceil$ |
⌊ x ⌋ \lfloor x \rfloor ⌊x⌋ | $\lfloor x \rfloor$ |
分数与根式
形式 | 写法 |
---|---|
a b + 1 \frac a{b+1} b+1a | $\frac a {b+1}$ |
a + 1 b {a+1} \over {b} ba+1 | ${a+1} \over {b}$ |
x = a 0 + 1 2 a 1 + a 2 2 x = a_0 + \frac {1^2}{a_1 + \frac {a_2}{2}} x=a0+a1+2a212 | $x = a_0 + \frac {1^2} {a_1 + \frac {a_2}{2}}$ |
x y 2 \sqrt [2] {\frac x y} 2yx | $\sqrt [2] {\frac x y}$ |
分段函数、多行算式
形式 | 写法 |
---|---|
f ( n ) { n 2 , i f n = 9 3 n + 1 , i f n ≠ 9 f(n) \begin{cases} \cfrac n2, &if\ n\ =\ 9\\ 3n+1, &if\ n\ \neq 9 \end{cases} f(n)⎩⎨⎧2n,3n+1,if n = 9if n =9 | $f(n) \begin{cases} \cfrac n2, &if\ n\ =\ 9\ 3n+1, &if\ n\ \neq 9 \end{cases}$ |
方程组
形式 | 语法 |
---|---|
{ a 1 x + b 1 y + c 1 z = d 1 a 2 x + b 2 y − c 2 z = d 2 2 \left \{\begin{array}{c} a_1x+b_1y+c_1z = d_1\\a_2x+b_2y-c_2z=d_2^2 \end{array} \right. {a1x+b1y+c1z=d1a2x+b2y−c2z=d22 | $\left {\begin{array}{c} a_1x+b_1y+c_1z = d_1\\a_2x+b_2y-c_2z=d_2^2 \end{array} \right.$ |
矩阵
形式 | 语法 |
---|---|
1 x x 2 1 y y 2 1 z z 2 \begin{matrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{matrix} 111xyzx2y2z2 | \begin{matrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\ end{matrix} |
( 1 x x 2 1 y y 2 1 z z 2 ) \begin{pmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{pmatrix} ⎝⎛111xyzx2y2z2⎠⎞ | \begin{pmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{pmatrix} |
[ 1 x x 2 1 y y 2 1 z z 2 ] \begin{bmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{bmatrix} ⎣⎡111xyzx2y2z2⎦⎤ | \begin{bmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{bmatrix} |
∣ 1 x x 2 1 y y 2 1 z z 2 ∣ \begin{vmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{vmatrix} ∣∣∣∣∣∣111xyzx2y2z2∣∣∣∣∣∣ | \begin{vmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{vmatrix} |
∥ 1 x x 2 1 y y 2 1 z z 2 ∥ \begin{Vmatrix}1 & x & x^2\\1 & y & y^2\\1 & z & z^2\\\end{Vmatrix} ∥∥∥∥∥∥111xyzx2y2z2∥∥∥∥∥∥ | \begin{Vmatrix}1 & x & x^2\1 & y & y^2\1 & z & z^2\\end{Vmatrix} |