常见Latex公式总结

重要注意:
latex里{}代表一个模块
CSDN里的公式前后加 $$

上下标及符号

公式符号代码段
x i x_i xix_i or \mathop{x}_i
x i x^i xix^i or \def\bar#1{#1^i}\bar{x}
y ^ \hat{y} y^\hat{y}
y ˉ \bar{y} yˉ\bar{y}
a ~ \tilde{a} a~\tilde{a}
a ˆ \text{\^{a}} aˆ\text{^{a}}
g ˚ \mathring{g} g˚\mathring{g} or \text{\r{g}}(g字体不太一样)
a c ~ \widetilde{ac} ac \widetilde{ac}
A B ⏠ \overgroup{AB} AB \overgroup{AB},反向\undergroup{AB}
a + b ‾ \overline{a+b} a+b\overline{a+b},反向\underline{a+b}
F ⃗ \vec{F} F \vec{F}
a b → \overrightarrow{ab} ab \overrightarrow{ab}

常见函数

公式符号代码段
∑ i = 0 n \sum\limits_{i=0}^n i=0n\sum\limits_{i=0}^n or \displaystyle\sum_{i=0}^n
∏ i = 1 n \prod \limits_{i=1}^{n} i=1n\prod\limits_{i=1}^{n}
∑ a b \sum_{a}^{b} ab\sum_{a}^{b} or \sum\nolimits_a^b or \textstyle\sum_a^b
∏ a b \prod_{a}^{b} ab\prod_{a}^{b}
∫ a b \int_a^b ab\int_a^b
∫ − ∞ + ∞ \int_{- \infty}^{+ \infty} +\int_{- \infty}^{+ \infty}
∬ \iint \iint
∯ \oiint \oiint
∂ f ( x , y ) ∂ x \frac{\partial f(x,y)}{\partial x} xf(x,y)\frac{\partial f(x,y)}{\partial x}
{ a if  b c if  d \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases} {acif bif d\begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases}
⌊ a b ⌋ \lfloor{\frac{a}{b}}\rfloor ba\lfloor{\frac{a}{b}}\rfloor
⌈ a b ⌉ \lceil{\frac{a}{b}}\rceil ba\lceil{\frac{a}{b}}\rceil
x 3 \sqrt[3]{x} 3x \sqrt[3]{x}
lim ⁡ x \lim\nolimits_x limx\lim\nolimits_x
lim ⁡ x \lim\limits_x xlim\lim\limits_x
log ⁡ \log log\log
exp ⁡ \exp exp\exp
ln ⁡ \ln ln\ln

二元符号

公式符号代码段
a ⋅ b a\cdot b aba\cdot b
a × b a\times b a×ba\times b
a ÷ b a\div b a÷ba\div b
a   b a \ b a ba \ b or a\space{b}
a b a\quad b aba\quad b
a b a\qquad b aba\qquad b
≺ \prec \prec,反向\succ
⪯ \preceq \preceq,反向\succeq
≥ \geq \geq,反向\leq
≠ \neq =\neq or \not =
≡ \equiv \equiv
≈ \approx \approx
≊ \approxeq \approxeq
∽ \backsim \backsim
≅ \cong \cong
≫ \gg \gg,反向\ll

特殊&一元符号

公式符号代码段
∝ \propto \propto
∞ \infty \infty
ω \omega ω\omega
η \eta η\eta
α \alpha α\alpha
β \beta β\beta
λ \lambda λ\lambda
ð \eth ð\eth
γ \gamma γ\gamma
ϕ \phi ϕ\phi
Φ \Phi Φ正态的分布函数\Phi
μ \mu μ\mu
R \Reals R\Reals
σ \sigma σ\sigma
θ \theta θ\theta
τ \tau τ\tau
Ω \Omega Ω\Omega
∅ \varnothing \varnothing
ø \text{\o} ø\text{\o}
ε \varepsilon ε\varepsilon
ℓ \ell \ell
▽ \bigtriangledown \bigtriangledown
Δ \Delta Δ梯度/增量\Delta
∇ \nabla 微分算子\nabla
∂ x \partial x x偏分\partial x
ξ \xi ξ\xi
∴ \therefore \therefore
∵ \because \because
ρ \rho ρ\rho
ν \nu ν\nu

关系指示

公式符号代码段
⇔ \Leftrightarrow \Leftrightarrow or \iff
⇋ \leftrightharpoons \leftrightharpoons
⇓ \Darr \Darr
   ⟹    \implies \implies
← \gets \gets
⇢ \dashrightarrow \dashrightarrow
→ \rightarrow \rightarrow
⇠ \dashleftarrow \dashleftarrow
← \leftarrow \leftarrow
= a b c \xlongequal{abc} abc \xlongequal{abc}
→ u n d e r o v e r \xrightarrow[under]{over} over under\xrightarrow[under]{over}
⇒ a b c \xRightarrow{abc} abc \xRightarrow{abc}
⇔ a b c \xLeftrightarrow{abc} abc \xLeftrightarrow{abc}
⇀ a b c \xrightharpoonup{abc} abc \xrightharpoonup{abc}
⇌ a b c \xrightleftharpoons{abc} abc \xrightleftharpoons{abc}
= a b c \xlongequal{abc} abc \xlongequal{abc}

集合类

公式符号代码段
⊂ \subset \subset
⊄ \not \subset \not \subset
⊆ \subseteq \subseteq
⊊ \subsetneq \subsetneq
⫅ \subseteqq \subseteqq
⫋ \subsetneqq \subsetneqq
⊃ \supset \supset
Λ \Lambda Λ\Lambda
⋂ \bigcap \bigcap
∃ \exist \exist
∀ \forall \forall
∩ \cap \cap
∪ \cup \cup
∈ \isin \isin
Γ \Gamma Γ\Gamma
x + ⋯ + x ⏟ n  times \underbrace{x+⋯+x}_{n\text{ times}} n times x++x\underbrace{x+⋯+x}_{n\text{ times}}

矩阵/行列式类

公式符号代码段
( n k ) \binom n k (kn)\binom n k
( n + 1 k + 2 ) {n+1 \choose k+2} (k+2n+1){n+1 \choose k+2}
a b c d \begin{matrix} a & b \\ c & d \end{matrix} acbd\begin{matrix} a & b \\ c & d \end{matrix}
( a b c d ) \begin{pmatrix} a & b \\ c & d \end{pmatrix} (acbd)\begin{pmatrix} a & b \\ c & d \end{pmatrix}
[ a b c d ] \begin{bmatrix} a & b \\ c & d \end{bmatrix} [acbd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}
{ a b c d } \begin{Bmatrix} a & b \\ c & d \end{Bmatrix} {acbd}\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}
∣ a b c d ∣ \begin{vmatrix}a & b \\ c & d \end{vmatrix} acbd\begin{vmatrix} a & b \\ c & d \end{vmatrix}
∥ a b c d ∥ \begin{Vmatrix}a & b \\ c & d \end{Vmatrix} acbd\begin{Vmatrix}a & b \\ c & d \end{Vmatrix}
⋱ \ddots \ddots
⋯ \cdots \cdots or \ldots or
⋮ \vdots \vdots

字体&注释

公式符号代码段
F = m a \textcolor{blue}{F=ma} F=ma\textcolor{blue}{F=ma}
A B \Large AB AB\Large AB [large-Large-LARGE-huge-Huge]
A b 0 \mathit{Ab0} Ab0\mathit{Ab0} or \textit{Ab0} or \it Ab0
A b 0 \mathbf{Ab0} Ab0\mathbf{Ab0} or \textbf{Ab0} or \bf Ab0
A b 0 \bm{Ab0} Ab0\bm{Ab0}
A B \mathbb{AB} AB\mathbb{AB} or \Bbb{AB}
A B 0 \mathcal{AB0} AB0\mathcal{AB0} or \cal AB0
A B \mathscr{AB} AB\mathscr{AB}
5 \cancel{5} 5 \cancel{5},反向\bcancel{5}
a b c \sout{abc} abc\sout{abc}
a + b + c ⏞ note \overbrace{a+b+c}^{\text{note}} a+b+c note\overbrace{a+b+c}^{\text{note}},下边\underbrace{}
π = c d \boxed{\pi=\frac c d} π=dc\boxed{\pi=\frac c d}
✓ \checkmark \checkmark

将会持续更新…

推荐链接

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值