Markdown数学公式

内联公式,代码块前后一个$ $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ ∑ i = 0 n i 2 = ( n 2 + n ) ( 2 n + 1 ) 6 \sum\limits_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6} i=0ni2=6(n2+n)(2n+1)

独行公式,代码块前后两个$ $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$ ∑ i = 0 n i 2 = ( n 2 + n ) ( 2 n + 1 ) 6 \sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6} i=0ni2=6(n2+n)(2n+1)

上标、下标和组合

数学算式公式
a 3 a^3 a3a^3
a i a_i aia_i
a 32 a^{32} a32a^{32}
a ˉ \bar{a} aˉ\bar{a}
a ^ \hat{a} a^\hat{a}

字母

希腊字母

大写公式小写公式
Σ \Sigma Σ\Sigma σ \sigma σ\sigma
M \Mu M\Mu μ \mu μ\mu
Λ \Lambda Λ\Lambda λ \lambda λ\lambda

花体字母

符号公式花体公式
A \mathcal{A} A\mathcal{A} A \mathscr{A} A\mathscr{A}
B \mathcal{B} B\mathcal{B} B \mathscr{B} B\mathscr{B}
L \mathcal{L} L\mathcal{L} L \mathscr{L} L\mathscr{L}
O \mathcal{O} O\mathcal{O} O \mathscr{O} O\mathscr{O}
⋯ \cdots ⋯ \cdots ⋯ \cdots ⋯ \cdots

符号

运算

数学运算公式
正负 x ± y x\pm y x±yx\pm y
负正 x ∓ y x\mp y xyx\mp y
星乘 x ∗ y x\ast y xyx\ast y
叉乘 x × y x\times y x×yx\times y
点乘 x ⋅ y x \cdot y xyx \cdot y
内积 ⟨ x , y ⟩ \langle x,y\rangle x,y\langle x,y\ranle
外积 x ⊗ y x \otimes y xyx \otimes y
点积 x ⊙ y x \odot y xyx \odot y
点积 x ⨀ y x \bigodot y xyx \bigodot y
绝对值或向量模或矩阵行列式 ∣ x ∣ \lvert x \rvert x\lvert x \rvert
范数 ∥ x ∥ \lVert x \rVert x\lVert x \rVert

标记

标记代码
开方 x \sqrt{x} x \sqrt{x}
开n方 x n \sqrt[n]{x} nx \sqrt[n]{x}
a b c d e f g ‾ \overline{abcdefg} abcdefg\overline{abcdefg}
a b c d e f g ‾ \underline{abcdefg} abcdefg\underline{abcdefg}
1 + 2 + 3 + 4 ⏟ 10 \underbrace{1+2+3+4}_{10} 10 1+2+3+4\underbrace{1+2+3+4}_{10}
1 + 2 + 3 + 4 ⏞ 10 \overbrace{1+2+3+4}^{10} 1+2+3+4 10\overbrace{1+2+3+4}^{10}

省略符号

符号公式
⋅ \cdot \cdot
… \dots 用作带下标序列\dots
⋯ \cdots \cdots
⋮ \vdots \vdots
⋱ \ddots \ddots

关系符号

符号公式
正比 ∝ \propto \propto
相似 ∼ \sim \sim
近似 ≈ \approx \approx

空格

符号公式
123  ⁣ 456 123\!456 123456123\!456
123   456 123\,456 123456123\,456
123   456 123\:456 123456123\:456
123    456 123\;456 123456123\;456
123 456 123\quad456 123456123\quad456
123 456 123\qquad456 123456123\qquad456

独行显示 \frac{x+y}{y+z}$ x + y y + z \frac{x+y}{y+z} y+zx+y
下划线 $\underline{x+y}$ x + y ‾ \quad\underline{x+y} x+y
公式标号 $$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}\tag{1}$$ ∑ i = 0 n i 2 = ( n 2 + n ) ( 2 n + 1 ) 6 (1) \sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}\tag{1} i=0ni2=6(n2+n)(2n+1)(1)

Markdown数学公式语法
MathJax basic tutorial and quick reference
史上最全Markdown公式、符号总结!!!

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值