Latex符号与公式集合

本文提供了一份详细的LaTeX常用符号和公式的速查表,包括基本运算、高级运算、集合运算、三角运算、占位宽度、关系运算符、箭头、矩阵、希腊字符、分段函数、常见符号等。此外,还介绍了如何在Markdown中使用这些符号和公式,以及如何实现公式等号对齐。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

序言

    本篇文章记录的是自己在看文章中常见的Latex符号和公式,目前使用的Markdown软件为Typora,版本为0.10.11(beta)。

基本运算

符号代码描述
A B \frac{A}{B} BA\frac{A}{B}分数
b a \sqrt[a]{b} ab \sqrt[a]{b}开方
± \pm ±\pm加减
⋅ \cdot \cdot点乘
× \times ×\times
÷ \div ÷\div

高级运算

符号代码描述
∑ \sum \sum累加
∏ \prod \prod累乘
lim ⁡ n → + ∞ \lim_{n\to+\infty} limn+\lim_{n\to+\infty}极限
∫ b a f ( x ) d x \int^a_b{f(x)}{\rm d}x baf(x)dx\int^a_b{f(x)}{\rm d}x积分
∬ b a f ( x ) d x \iint^a_b{f(x)}{\rm d}x baf(x)dx\iint^a_b{f(x)}{\rm d}x积分
∭ b a f ( x ) d x \iiint^a_b{f(x)}{\rm d}x baf(x)dx\iint^a_b{f(x)}{\rm d}x积分
∇ \nabla \nabla梯度
∂ \partial \partial偏导

集合运算

符号代码描述
⊂ \subset \subset包含于
⫋ \subsetneqq \subsetneqq真包含于
⊃ \supset \supset包含
⫌ \supsetneqq \supsetneqq真包含
⊅ \not\supset \not\supset不包含
∈ \in \in属于
∩ \cap \cap相交
∪ \cup \cup相并
∀ \forall \forall任意
∃ \exists \exists存在
∅ \emptyset \emptyset空集
∵ \because \because因为
∴ \therefore \therefore所以
∨ \vee \vee
∧ \land \land
∼ \sim \sim波浪线

三角运算

符号代码描述
⊥ \bot \bot垂直
∠ \angle \angle
  A ∘ \ A^\circ  A\ A^\circ
sin ⁡ \sin sin\sin正弦
cos ⁡ \cos cos\cos余弦
tan ⁡ \tan tan\tan正切

占位宽度

符号代码
a b a\qquad b aba\qquad b
a b a\quad b aba\quad b
a   b a\ b a ba\ b
a    b a\; b aba; b
a   b a\, b aba, b
a  ⁣ b a\!b aba!b

关系运算符

符号代码描述
≥ \geq \geq大于等于
≤ \leq \leq小于等于
≠ \not= =\not=不等于
≮ \not< <\not<不小于
≈ \approx \approx约等于
≤ \leq \leq小于等于
≡ \equiv \equiv恒等于

箭头

符号代码
← \leftarrow \leftarrow
⇐ \Leftarrow \Leftarrow
→ \rightarrow \rightarrow
⇒ \Rightarrow \Rightarrow
↓ \downarrow \downarrow
⇓ \Downarrow \Downarrow
↑ \uparrow \uparrow
⇑ \Uparrow \Uparrow
⟶ \longrightarrow \longrightarrow
⟵ \longleftarrow \longleftarrow

矩阵

简单矩阵

    使用\begin{matrix}…\end{matrix}来生成矩阵,其中…表示的是 LaTeX 的矩阵命令,矩阵命令中每一行以 \结束,矩阵的元素之间用 & 来分隔开

  \begin{matrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{matrix} \tag{1}

1 2 3 4 5 6 7 8 9 (1) \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \tag{1} 147258369(1)

带括号的矩阵

    使用 \left … \right 或者把公式命令中的 matrix 改成 pmatrix、bmatrix、Bmatrix、vmatrix、Vmatrix等。

 \left\{
 \begin{matrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{matrix}
  \right\} \tag{2}

{ 1 2 3 4 5 6 7 8 9 } (2) \left\{ \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right\} \tag{2} 147258369 (2)

 \left(
 \begin{matrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{matrix}
  \right) \tag{3}

( 1 2 3 4 5 6 7 8 9 ) (3) \left( \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right) \tag{3} 147258369 (3)

 \begin{Bmatrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{Bmatrix} \tag{4}

{ 1 2 3 4 5 6 7 8 9 } (4) \begin{Bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{Bmatrix} \tag{4} 147258369 (4)

\left|
 \begin{matrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{matrix}
  \right| \tag{5}

∣ 1 2 3 4 5 6 7 8 9 ∣ (5) \left| \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right| \tag{5} 147258369 (5)

 \begin{Vmatrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{Vmatrix} \tag{6}

∥ 1 2 3 4 5 6 7 8 9 ∥ (6) \begin{Vmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{Vmatrix} \tag{6} 147258369 (6)

希腊字符

符号代码
α \alpha α\alpha
β \beta β\beta
γ \gamma γ\gamma
Γ \Gamma Γ\Gamma
δ \delta δ\delta
Δ \Delta Δ\Delta
ϵ \epsilon ϵ\epsilon
ε \varepsilon ε\varepsilon
ζ \zeta ζ\zeta
η \eta η\eta
θ \theta θ\theta
Θ \Theta Θ\Theta
ι \iota ι\iota
κ \kappa κ\kappa
λ \lambda λ\lambda
Λ \Lambda Λ\Lambda
μ \mu μ\mu
ν \nu ν\nu
ξ \xi ξ\xi
ν \nu ν\nu
ο \omicron ο\omicron
π \pi π\pi
Π \Pi Π\Pi
ρ \rho ρ\rho
σ \sigma σ\sigma
Σ \Sigma Σ\Sigma
υ \upsilon υ\upsilon
Υ \Upsilon Υ\Upsilon
ϕ \phi ϕ\phi
Φ \Phi Φ\Phi
φ \varphi φ\varphi
χ \chi χ\chi
ψ \psi ψ\psi
Ψ \Psi Ψ\Psi
ω \omega ω\omega
Ω \Omega Ω\Omega

分段函数

f(x)=\left\{
\begin{aligned}
1 & & {S_L \leq 0 < S_M} \\
2  & & {S_L \leq 0 < S_M} \\
\end{aligned}
\right.

f ( x ) = { 1 S L ≤ 0 < S M 2 S L ≤ 0 < S M f(x)=\left\{ \begin{aligned} 1 & & {S_L \leq 0 < S_M} \\ 2 & & {S_L \leq 0 < S_M} \\ \end{aligned} \right. f(x)={12SL0<SMSL0<SM

常见符号

符号代码描述
A \mathbb{A} A\mathbb{A}空心字母
B \mathfrak{B} B\mathfrak{B}Fraktur字母
+ ∞ +\infty ++\infty正无穷
− ∞ -\infty -\infty负无穷
⨂ \bigotimes \bigotimes
⨁ \bigoplus \bigoplus

杂七杂八

公式等号对齐

\begin{align*}
  A &= B + C \\
    &= C + D + C \\
    &= 2C + D
\end{align*}

或者:

\begin{equation*}
  \begin{aligned}
    f(n) &= f(n-1) + f(n-2) \\
         &= f(n-2) + f(n-3) + f(n-2) \\
         &= 2f(n-2) + f(n-3) \\
  \end{aligned}
\end{equation*}

等号对齐

其他字母表

符号代码描述
a \rm a a\rm a罗马体
a \it a a\it a意大利体
a \bf a a\bf a黑体
a \tt a a\tt a打印机体
a \sf a a\sf a等线体
其他字母表

字母上加符号

符号代码
a ^ \hat a a^\hat a
a ^ \widehat a a \widehat a
a ‾ \overline a a\overline a
a ~ \widetilde a a \widetilde a
a ˙ \dot a a˙\dot a
a ¨ \ddot a a¨\ddot a
a ‾ \underline a a\underline a
a ⏞ s \overbrace a^{s} a s\overbrace a^{s}
a ⏟ s \underbrace a_{s} s a\underbrace a_{s}

下标置于文本正下方

通用方案:

a\limits_{b}^{c}

但是 \limits 命令要求a必须的数学符号,否则会报错,于是可以修改为:

\mathop{a}\limits_{b}^{c}

a b c \mathop{a}\limits_{b}^{c} bac

参考链接

markdown 数学公式Latex语法
[LaTeX 公式] 数学模式里的拉丁字母表
markdown数学符号汇总
Latex 字母上面加符号 波浪线 横线 角号等
Markdown数学符号&公式
Latex各种命令、符号、公式、数学符号、排版等
LaTex中把下标置于文本正下方的方法

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值