LaTeX:公式常用字符和表达式

L A T E X L^AT_EX LATEX 公式常用字符和表达式。

1. 数学符号

1.1. 关系符号

符号语法符号语法符号语法符号语法
∼ \sim \sim ≃ \simeq \simeq ≅ \cong \cong ∝ \propto \propto
= = == ≠ \neq =\neq or \ne ≐ \doteq \doteq ∞ \infty \infty
≡ \equiv \equiv ≢ \not\equiv \not\equiv ≈ \approx \approx ≉ \not\approx \not\approx
≫ \gg \gg ⋙ \ggg \ggg ≥ \ge \ge ≧ \geqq \geqq
≪ \ll \ll ⋘ \lll \lll ≤ \leq \leq ≦ \leqq \leqq
∀ \forall \forall ∃ \exists \exists ∅ \empty \empty or \emptyset ∅ \varnothing \varnothing
∈ \in \in ∋ \ni \ni ∉ \notin /\notin or \not\in
⊂ \subset \subset ⊆ \subseteq \subseteq ⊃ \supset \supset ⊇ \supseteq \supseteq
∪ \cup \cup ∩ \cap \cap ≜ \triangleq \triangleq
∧ \land \land or \wedge ∨ \lor \lor or \vee

1.2. 运算符号

符号语法符号语法符号语法
± \pm ±\pm ∓ \mp \mp x \sqrt{x} x \sqrt{x}
∖ \setminus \setminus ÷ \div ÷\div a b \frac{a}{b} ba\frac{a}{b}
× \times ×\times ⋅ \cdot \cdot d x \mathrm{d}x dx\mathrm{d}x
∣ ⋅ ∣ \left | \cdot \right | \left | {} \right | ∇ \nabla \nabla ∂ x \partial{x} x\partial{x}
⊕ \oplus \oplus ⊗ \otimes \otimes ⌊ ⋅ ⌋ \lfloor \cdot \rfloor \lfloor \cdot \rfloor
⌈ ⋅ ⌉ \lceil \cdot \rceil \lceil \cdot \rceil

1.3. 大型运算符

符号语法符号语法
∑ i = 1 N k 2 \sum_{i=1}^{N} k^2 i=1Nk2\sum_{k=1}^{N} k^2 ∏ i = 1 N a i \prod_{i=1}^{N} a_i i=1Nai\prod_{i=1}^{N} a_i
lim ⁡ n → ∞ x n \lim_{n \to \infty} x_n nlimxn\lim_{n \to \infty} x_n ∐ i = 1 N a i \coprod_{i=1}^{N} a_i i=1Nai\coprod_{i=1}^{N} a_i
∫ a b f ( x )   d x \int_{a}^{b} f(x)\, dx abf(x)dx\int_{a}^{b} f(x)\, dx ∬ a b f ( x )   d x   d y \iint_{a}^{b} f(x)\, dx\, dy abf(x)dxdy\iint_{a}^{b} f(x)\, dx\, dy
∭ a b f ( x )   d x   d y   d z \iiint_{a}^{b} f(x)\, dx\, dy\, dz abf(x)dxdydz\iiint_{a}^{b} f(x)\, dx\, dy\, dz ∮ C x 2   d x + 4 y 2   d y \oint_{C} x^2\, dx + 4y^2\, dy Cx2dx+4y2dy\oint_{C} x^2\, dx + 4y^2\, dy

1.4. 箭头

符号语法符号语法符号语法符号语法
← \leftarrow \leftarrow ← \gets \gets → \rightarrow \rightarrow → \to \to
↔ \leftrightarrow \leftrightarrow ⟵ \longleftarrow \longleftarrow ⟶ \longrightarrow \longrightarrow ↦ \mapsto \mapsto
⟼ \longmapsto \longmapsto ↪ \hookrightarrow \hookrightarrow ↩ \hookleftarrow \hookleftarrow ↕ \updownarrow \updownarrow
↘ \searrow \searrow ↙ \swarrow \swarrow ↖ \nwarrow \nwarrow ↗ \nearrow \nearrow
↑ \uparrow \uparrow ↓ \downarrow \downarrow
⇀ \rightharpoonup \rightharpoonup ⇁ \rightharpoondown \rightharpoondown ↼ \leftharpoonup \leftharpoonup ↽ \leftharpoondown \leftharpoondown
↿ \upharpoonleft \upharpoonleft ↾ \upharpoonright \upharpoonright ⇃ \downharpoonleft \downharpoonleft ⇂ \downharpoonright \downharpoonright
⇐ \Leftarrow \Leftarrow ⇒ \Rightarrow \Rightarrow ⇔ \Leftrightarrow \Leftrightarrow ⟸ \Longleftarrow \Longleftarrow
⟹ \Longrightarrow \Longrightarrow ⟺ \Longleftrightarrow \Longleftrightarrow ⇑ \Uparrow \Uparrow ⇓ \Downarrow \Downarrow
⇕ \Updownarrow \Updownarrow

2. 函数

2.1. 常用函数

符号语法符号语法符号语法符号语法
log ⁡ \log log\log lg ⁡ \lg lg\lg ln ⁡ \ln lnln log ⁡ a b \log_{a}{b} logab\log_{a}{b}
lim ⁡ a → b \lim_{a \to b} ablim\lim_{a \to b}

2.2. 三角函数

符号语法符号语法符号语法符号语法
sin ⁡ \sin sin\sin cos ⁡ \cos cos\cos tan ⁡ \tan tan\tan cot ⁡ \cot cot\cot
arcsin ⁡ \arcsin arcsin\arcsin arccos ⁡ \arccos arccos\arccos arctan ⁡ \arctan arctan\arctan\arccot\arccot
sinh ⁡ \sinh sinh\sinh cosh ⁡ \cosh cosh\cosh tanh ⁡ \tanh tanh\tanh coth ⁡ \coth coth\coth
sec ⁡ \sec sec\sec csc ⁡ \csc csc\csc

3. 文字

3.1. 希腊字母

符号语法
A \Alpha A and α \alpha α\Alpha and \alpha
B \Beta B and β \beta β\Beta and \beta
Γ \Gamma Γ and γ \gamma γ\Gamma and \gamma
Δ \Delta Δ and δ \delta δ\Delta and \delta
E \Epsilon E, ϵ \epsilon ϵ and ε \varepsilon ε\Epsilon, \epsilon and \varepsilon
Z \Zeta Z and ζ \zeta ζ\Zeta and \zeta
H \Eta H and η \eta η\Eta and \eta
Θ \Theta Θ, θ \theta θ and ϑ \vartheta ϑ\Theta, \theta and \vartheta
I \Iota I and ι \iota ι\Iota and \iota
K \Kappa K and κ \kappa κ\Kappa and \kappa
Λ \Lambda Λ and λ \lambda λ\Lambda and \lambda
M \Mu M and μ \mu μ\Mu and \mu
N \Nu N and ν \nu ν\Nu and \nu
Ξ \Xi Ξ and ξ \xi ξ\Xi and \xi
Π \Pi Π, π \pi π and ϖ \varpi ϖ\Pi, \pi and \varpi
P \Rho P, ρ \rho ρ and ϱ \varrho ϱ\Rho, \rho and \varrho
Σ \Sigma Σ, σ \sigma σ and ς \varsigma ς\Sigma, \sigma and \varsigma
T \Tau T and τ \tau τ\Tau and \tau
Υ \Upsilon Υ and υ \upsilon υ\Upsilon and \upsilon
Φ \Phi Φ, ϕ \phi ϕ and φ \varphi φ\Phi, \phi and \varphi
X \Chi X and χ \chi χ\Chi and \chi
Ψ \Psi Ψ and ψ \psi ψ\Psi and \psi
Ω \Omega Ω and ω \omega ω\Omega and \omega

3.2. 字体

符号语法
黑板粗体: A B C . . . \mathbb{ABC...} ABC...\mathbb{},大写字母
正粗体: 012 … a b c … A B C … \mathbf{012…abc…ABC…} 012abcABC\mathbf{},数字、大小写
粗体: 012 … a b c … A B C … α β γ … \boldsymbol{012…abc…ABC…\alpha \beta\gamma…} 012abcABCαβγ\boldsymbol{},多种
斜体数字: 0123456789 \mathit{0123456789} 0123456789\mathit{},数字
罗马体: 012 … a b c … A B C … \mathrm{012…abc…ABC…} 012abcABC\mathrm{},多种
哥特体: 012 … a b c … A B C … \mathfrak{012…abc…ABC…} 012abcABC\mathfrak{},多种
手写体: A B C … \mathcal{ABC…} ABC\mathcal{ABC…},大写
希伯来体: ℵ ℶ ℷ ℸ \aleph \beth \gimel \daleth ℶℷℸ\aleph \beth \gimel \daleth
花体: A B C . . . \mathscr{ABC...} ABC...\mathscr{},大写

3.3. 声调、标识

符号语法符号语法符号语法符号语法
a ˉ \bar{a} aˉ\bar{a} a ˊ \acute{a} aˊ\acute{a} a ˇ \check{a} aˇ\check{a} a ˋ \grave{a} aˋ\grave{a}
x ˘ \breve{x} x˘\breve{x} x ^ \hat{x} x^\hat{x} x ~ \tilde{x} x~\tilde{x}
y ˙ \dot{y} y˙\dot{y} y ¨ \ddot{y} y¨\ddot{y} x → \overset{\rightarrow}{x} x\overset{\rightarrow}{x}

4. 长公式与矩阵

4.1. 公式换行

想要实现长公式换行,可以用 \begin{}...\end{} 的方式来实现,中间如果想换行的话使用 \\ 来表示换行,用 & 可以实现对齐,& 后面的符号会自动对齐。如果想要给公式加上序号,可以使用 \tag{}

符号语法
{ A x ≤ b A e q ⋅ x = b e q (4.2) \begin{cases} Ax & \leq b \\Aeq \cdot x &= beq \\\end{cases} \tag{4.2} {AxAeqxb=beq(4.2)
\begin{cases} Ax \leq b \\
Aeq \cdot x = beq \\
lb \leq x \leq ub \\
\end{cases} \tag{4.2}

4.2. 矩阵

使用换行和对齐就可以实现矩阵的编写了。

符号语法
x y z v \begin{matrix} x & y \\ z & v \\ \end{matrix} xzyv
\begin{matrix} 
x & y \\
z & v \\
\end{matrix}
∣ x y z v ∣ \begin{vmatrix} x & y \\ z & v \\ \end{vmatrix} xzyv
\begin{vmatrix} 
x & y \\
z & v \\
\end{vmatrix}
∥ x y z v ∥ \begin{Vmatrix} x & y \\ z & v \\ \end{Vmatrix} xzyv
\begin{Vmatrix} 
x & y \\
z & v \\
\end{Vmatrix}
[ x y z v ] \begin{bmatrix} x & y \\ z & v \\ \end{bmatrix} [xzyv]
\begin{bmatrix} 
x & y \\
z & v \\
\end{bmatrix}
{ x y z v } \begin{Bmatrix} x & y \\ z & v \\ \end{Bmatrix} {xzyv}
\begin{Bmatrix} 
x & y \\
z & v \\
\end{Bmatrix}
( x y z v ) \begin{pmatrix} x & y \\ z & v \\ \end{pmatrix} (xzyv)
\begin{pmatrix} 
x & y \\
z & v \\
\end{pmatrix}
∣ 0 ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ 0 ∣ \begin{vmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \\ \end{vmatrix} 0000
\begin{vmatrix} 
0 & \cdots & 0 \\
\vdots & \ddots & \vdots \\
0 & \cdots & 0 \\
\end{vmatrix}

4.3. 其他公式表达

符号语法
( n k ) = n ! k ! ( n − k ) ! \binom{n}{k} = \frac{n!}{k!(n-k)!} (kn)=k!(nk)!n!
\binom{n}{k} = \frac{n!}{k!(n-k)!}
max ⁡ θ   f ( x ; θ ) \underset{\theta}{\max}\, f(x; \theta) θmaxf(x;θ)
\underset{\theta}{\max}\, f(x; \theta)
x ⏟ variable \underbrace{x}_{\text{variable}} variable x
\underbrace{x}_{\text{variable}}
x ⏞ variable \overbrace{x}^{\text{variable}} x variable
\overbrace{x}^{\text{variable}}

参考

[1] LaTeX 各种命令,符号

  • 12
    点赞
  • 58
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值