markdown 常用符号大全

markdown 常用符号大全

[dir]

标题符号
语法含义
#一级标题
##二级标题(# 越多,级数越多,依次类推)
+无序列表(可嵌套)
数学符号
含义语法效果
点乘a \times b a × b a\times b a×b
叉乘a \cdot b a ⋅ b a \cdot b ab
内积\langle a,b \rangle ⟨ a , b ⟩ \langle a, b\rangle a,b
外积a \otimes b a ⊗ b a\otimes b ab
任意\forall ∀ \forall
存在\exists ∃ \exists
花体字母

以字母A为例,其他字母类似

语法效果
\mathbb{A} R \mathbb{R} R
\mathcal{A} A \mathcal{A} A
\mathscr{A} A \mathscr{A} A
\mathrm{A} A \mathrm{A} A
\mathbf{A} A \mathbf{A} A
\mathit{A} A \mathit{A} A
\mathtt{A} A \mathtt{A} A
\mathfrak{A} A \mathfrak{A} A
\mathsf{A} A \mathsf{A} A
分段函数
$f(x) = \begin{cases}  
x^2 + 2x + 1, & \text{当 } x < 0 \text{ 时} \\  
3x + 2, & \text{当 } 0 \leq x < 1 \text{ 时} \\  
x + 3, & \text{当 } x \geq 1 \text{ 时}  
\end{cases}$

f ( x ) = { x 2 + 2 x + 1 , 当  x < 0  时 3 x + 2 , 当  0 ≤ x < 1  时 x + 3 , 当  x ≥ 1  时 f(x) = \begin{cases} x^2 + 2x + 1, & \text{当 } x < 0 \text{ 时} \\ 3x + 2, & \text{当 } 0 \leq x < 1 \text{ 时} \\ x + 3, & \text{当 } x \geq 1 \text{ 时} \end{cases} f(x)= x2+2x+1,3x+2,x+3, x<0  0x<1  x1 

多行公式
$\begin{aligned}
s&=\frac{1}{2}(a+b)h\\
&=\frac{1}{2}(8+12)·6\\
&=10·6=60
\end{aligned}$

s = 1 2 ( a + b ) h = 1 2 ( 8 + 12 ) ⋅ 6 = 10 ⋅ 6 = 60 \begin{aligned} s&=\frac{1}{2}(a+b)h\\ &=\frac{1}{2}(8+12)·6\\ &=10·6=60 \end{aligned} s=21(a+b)h=21(8+12)6=106=60

数学符号
含义语法效果
底端对齐省略号1, 2, \ldots , n 1 , 2 , … , n 1, 2, \ldots , n 1,2,,n
中线对齐省略号1, 2, \cdots, n 1 , 2 , ⋯   , n 1,2,\cdots,n 1,2,,n
竖直省略号\vdots ⋮ \vdots
斜对齐省略号\ddots ⋱ \ddots
虚数集合\imath ı \imath
实数集合\mathbb{R} R \mathbb{R} R
自然数集合\mathbb{Z} Z \mathbb{Z} Z
空集$\emptyset$
上标\hat{x} x ^ \hat{x} x^
上标\check{x} x ˇ \check{x} xˇ
上标\breve{x} x ˘ \breve{x} x˘
上标\tilde{x} x ~ \tilde{x} x~
上标\bar{x} a ˉ \bar{a} aˉ
向量\vec{x} x ⃗ \vec{x} x
上标\acute{x} x ˊ \acute{x} xˊ
上标\mathring{x} x ˚ \mathring{x} x˚
一阶导\dot{a} a ˙ \dot{a} a˙
二阶导\ddot{a} a ¨ \ddot{a} a¨
上箭头\uparrow ↑ \uparrow
上箭头\Uparrow ⇑ \Uparrow
下箭头\downarrow ↓ \downarrow
下箭头\Downarrow ⇓ \Downarrow
左箭头\leftarrow ← \leftarrow
左箭头\Leftarrow ⇐ \Leftarrow
右箭头\rightarrow → \rightarrow
右箭头\Rightarrow ⇒ \Rightarrow
上划线\overline{AB} A B ‾ \overline{AB} AB
下划线\underline{AB} A B ‾ \underline{AB} AB
上括号\overbrace{1+2+\cdots+n} 1 + 2 + ⋯ + n ⏞ \overbrace{1+2+\cdots+n} 1+2++n
下括号\underbrace{1+2+\cdots+n} 1 + 2 + ⋯ + n ⏟ \underbrace{1+2+\cdots+n} 1+2++n
在字母下添加字母\mathop{Max}\limits_{x \in X} M a x x ∈ X \mathop{Max}\limits_{x \in X} xXMax
上取整\lceil x \rceil ⌈ x ⌉ \lceil x \rceil x
下取整\lfloor x \rfloor ⌊ x ⌋ \lfloor x \rfloor x
常用微分符号
语法效果语法效果
\nabla ∇ \nabla \partial x ∂ x \partial x x
\mathrm{d}x d x \mathrm{d}x dx\dot x x ˙ \dot x x˙
\ddot y y ¨ \ddot y y¨
希腊字母
字母实现字母实现
AAα\alhpa
BBβ\beta
Γ\Gammaγ\gamma
Δ\Deltaδ\delta
EEϵ\epsilon
ZZζ\zet
HHη\eta
Θ\Thetaθ\theta
IIι\iota
KKκ\kappa
Λ\Lambdaλ\lambda
MMμ\mu
NNν\nu
Ξ\Xξ\xi
OOο\omicron
Π\Piπ\pi
PPρ\rho
Σ\Sigmaσ\sigma
TTτ\tau
Υ\Upsilonυ\upsilon
Φ\Phiϕ\phi
XXχ\chi
Ψ\Psiψ\psi
Ω\vω\omega
运算符号
含义语法效果
求和\sum_{x>1}f(x) ∑ x > 1 f ( x ) \sum_{x>1}f(x) x>1f(x)
求和\sum\limits_{n=1}^{n<10}n ∑ n = 1 n < 10 n \sum\limits_{n=1}^{n<10}n n=1n<10n
乘积\prod_{i=1}^N x_i ∏ i = 1 N x i \prod_{i=1}^N x_i i=1Nxi
乘积\prod\limits_{i=1}^N x_i ∏ i = 1 N x i \prod\limits_{i=1}^N x_i i=1Nxi
极限\lim^{x \to \infty}_{y \to 0}{\frac{x}{y}} lim ⁡ y → 0 x → ∞ x y \lim^{x \to \infty}_{y \to 0}{\frac{x}{y}} limy0xyx
极限\lim\limits_{x \to \infty}^{y\to 0} \frac{x}{y} lim ⁡ x → ∞ y → 0 x y \lim\limits_{x \to \infty}^{y\to 0} \frac{x}{y} xlimy0yx
一重积分\int_{a}^{b}f(x)dx ∫ a b f ( x ) d x \int_{a}^{b}f(x)dx abf(x)dx
二重积分\iint_\Omega f(x,y)dS ∬ Ω f ( x , y ) d S \iint_\Omega f(x,y)dS Ωf(x,y)dS
三重积分\iiint_\Omega f(x,y,z)dV ∭ Ω f ( x , y , z ) d V \iiint_\Omega f(x,y,z)dV Ωf(x,y,z)dV
加减a \pm b a ± b a\pm b a±b
减加a \mp b a ∓ b a\mp b ab
乘法a \times b a × b a \times b a×b
除法a \div b a ÷ b a\div b a÷b
对数\log{a+b} log ⁡ a + b \log{a+b} loga+b
开方\sqrt{a + b} a + b \sqrt{a+b} a+b
n次根号\sqrt[n]{3} 3 n \sqrt[n]{3} n3
点乘a \cdot b a ⋅ b a \cdot b ab
叉乘a \times b$a \times b $
内积\langle x, b \rangle ⟨ x , b ⟩ \langle x, b \rangle x,b
外积a \otimes b a ⊗ b a \otimes b ab
分式\frac{a}{b} a b \frac{a}{b} ba
小于等于\leq ≤ \leq
大于等于\geq ≥ \geq
不等于\neq ≠ \neq =
不小于等于\nleq ≰ \nleq
不大于等于\ngeq ≱ \ngeq
约等于\approx ≈ \approx
恒等于\equiv ≡ \equiv
无穷\infty ∞ \infty
属于a \in A a ∈ A a\in A aA
不属于a \notin A a ∉ A a \notin A a/A
子集x \subset y x ⊂ y x \subset y xy
非子集x \not\subset y x ⊄ y x \not\subset y xy
真子集x \subseteq y x ⊆ y x \subseteq y xy
非真子集x \subsetneq y x ⊊ y x \subsetneq y xy
并集x \cup y x ∪ y x \cup y xy
交集x \cap y x ∩ y x \cap y xy
差集x \setminus y x ∖ y x \setminus y xy
同或$x \bigodot y x ⨀ y x \bigodot y xy
同与x \bigotimes y x ⨂ y x \bigotimes y xy
因为\beacuse ∵ \because
所以\therefore ∴ \therefore
矩阵

最后的\tag{1}表示序号

1. 简单矩阵
$$
\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)

2. 带括号的矩阵

中括号

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

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

大括号

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

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

3. 包含省略号
$$
\begin{bmatrix}
1 & 2 & \cdots & n \\
1 & 2 & \cdots & n \\
\vdots & \vdots & \ddots & \vdots \\
1 & 2 & \cdots & n
\end{bmatrix} \tag{4}
$$

[ 1 2 ⋯ n 1 2 ⋯ n ⋮ ⋮ ⋱ ⋮ 1 2 ⋯ n ] (4) \begin{bmatrix} 1 & 2 & \cdots & n \\ 1 & 2 & \cdots & n \\ \vdots & \vdots & \ddots & \vdots \\ 1 & 2 & \cdots & n \end{bmatrix} \tag{4} 111222nnn (4)

4. 行列式
$$
 \begin{vmatrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{vmatrix}
\tag{7}
$$

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

表格
1. 普通表格
$$
\begin{array}{|c|c|c|}
	\hline 2&9&4\\
	\hline 7&5&3\\
	\hline 6&1&8\\
	\hline
\end{array}
$$

2 9 4 7 5 3 6 1 8 \begin{array}{|c|c|c|} \hline 2&9&4\\ \hline 7&5&3\\ \hline 6&1&8\\ \hline \end{array} 276951438

说明: {c|c|c}中,每个字母代表一列,c表示居中,l 表示左对齐,r表示右对齐。

|表示竖直分隔线,|| 表示两条竖直分隔线。

\hline 表示在下一行输入前插入水平分割线。

2. 真值表
$$
\begin{array}{cc|c}
	       A&B&F\\
	\hline 0&0&0\\
	       0&1&1\\
	       1&0&1\\
	       1&1&1\\
\end{array}
$$

A B F 0 0 0 0 1 1 1 0 1 1 1 1 \begin{array}{cc|c} A&B&F\\ \hline 0&0&0\\ 0&1&1\\ 1&0&1\\ 1&1&1\\ \end{array} A0011B0101F0111

流程图

输入代码块

···mermaid
    ……流程图代码……
···

流程图代码示例如下:

graph TB
    A(开始)
    B[打开冰箱门]
    C{"冰箱小不小?"}
    D((连接))

效果为

开始
打开冰箱门
冰箱小不小?
连接

连线时用-->

graph TD
A[方形] --> B(圆角)
    B --> C{条件a}
    C --> |a=1| D[结果1]
    C --> |a=2| E[结果2]
    F[竖向流程图]
a=1
a=2
方形
圆角
条件a
结果1
结束
结果2
  • 42
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值