前言
介绍一些 Markdown
杂项。
操作系统:Ubuntu 20.04.5 LTS
参考文档
-
CSDN Markdown 公式编号
-
MarkDown数学公式基本语法
-
MarkDown编辑器字体颜色设置
-
Markdown如何实现表格的合并单元格
-
KaTeX
-
Latex#对齐(align)#入门教程
数学公式编号
\tag{n}
标签为数学公式
设置编号, n
为编号, 公式编号右对齐
.
1
| $$Dets = \mathcal{H(\Phi_{det})} \tag{1}$$
|
Dets=H(Φdet)(1)
常用符号
符号 |
TeX |
符号 |
TeX |
符号 |
TeX |
∨ |
$\vee$ or $\lor$ |
∧ |
$\wedge$ or $\land$ |
pi |
$pi$ |
⇒ |
$\Rightarrow$ |
∞ |
$\infty$ |
⋯ |
$\cdots$ |
ν |
$\nu$ |
≃ |
$\simeq$ |
L |
$\mathcal{L}$ |
γ |
$\gamma$ |
ℓ |
$\ell$ |
∈ |
$\in$ |
[] |
$[]$ |
{} |
$\{\}$ |
∣ |
$|$ |
∪ |
$\cup$ |
R |
$\mathbb{R}$ |
× |
$\times$ |
∣ |
$\mid$ |
space |
$\quad$ |
≤ |
$\leq$ |
θ |
$θ$ |
s^ |
$\hat{s}$ |
∘ |
$\circ$ |
h |
$\mathbf{h}$ |
J |
$J$ |
∥ |
$\parallel$ |
() |
$\left(\right)$ |
λ |
$\lambda$ |
Φ |
$\Phi$ |
xˉ |
$\bar{x}$ |
x |
$\vec{x}$ |
∞ |
$\infty$ |
ε |
$\varepsilon$ |
∩ |
$\cap$ |
⊂ |
$\subset$ |
≈ |
$\approx$ |
σ |
$\sigma$ |
= |
$\ne$ |
⋅ |
$\cdot$ |
⊙ |
$\odot$ |
X |
$\mathcal{X}$ |
⊤ |
$\top$ |
… |
$\dots$ |
R |
$\mathcal{R}$ |
⋮ |
$\vdots$ |
⋱ |
$\ddots$ |
= |
$\neq$ |
V |
$\mathcal{V}$ |
⟨⟩ |
$\langle\rangle$ |
⟺ |
$\iff$ |
Λ |
$\Lambda$ |
ϵ |
$\epsilon$ |
∀ |
$\forall$ |
✓ |
$\checkmark$ |
⊗ |
$\otimes$ |
⟮⟯ |
$\lgroup \rgroup$ |
Δ |
$\Delta$ |
E |
$\Epsilon$ |
Ψ |
$\Psi$ |
↦ |
$\mapsto$ |
η |
$\eta$ |
D |
$\mathcal{D}$ |
N |
$\mathcal{N}$ |
Θ |
$\Theta$ |
θ |
$\theta$ |
E |
$\mathcal{E}$ |
x~ |
$\tilde{x}$ |
ψ |
$\psi$ |
T |
$\mathcal{T}$ |
C |
$\mathcal{C}$ |
\ |
$\backslash$ |
G |
$\mathcal{G}$ |
O |
$\mathcal{O}$ |
α |
$\alpha$ |
κ |
$\kappa$ |
log |
$\log$ |
∥ |
$\Vert$ |
Re |
$\operatorname{Re}$ |
diag |
$\operatorname{diag}$ |
t |
$\overline{t}$ |
I |
$\Iota$ |
ι |
$\iota$ |
换行符 |
$\\$ |
φ |
$\varphi$ |
Ω |
$\Omega$ |
|
|
数学运算符
分数
NM
上标
R2
求和符号
1∑∞n
Max
a=1≤j≤smax
1 2 3
| $$ a=\max_{1\leq j \leq s} $$
|
并集
x~=h′∈E⋃(h′,r,t)∪t′∈E⋃(h,r,t′)
1 2 3
| $$ \tilde{x}=\bigcup_{h^{'}\in \mathcal{E}}(h^{'},r,t)\cup \bigcup_{t^{'}\in \mathcal{E}}(h,r,t^{'}) $$
|
根号
nM
分段函数
x={acif bif d
1 2 3 4 5 6
| $$ x = \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases} $$
|
公式块
a=be=b+c
1 2 3 4 5 6
| $$ \begin{gather} a=b \\ e=b+c \end{gather} $$
|
矩阵块
[acbd]
1 2 3 4 5 6
| $$ \begin{bmatrix} a & b \\ c & d \end{bmatrix} $$
|
括号
符号 |
TeX |
(((( |
$\big( \Big( \bigg( \Bigg($ |
[[[[ |
$\big[ \Big[ \bigg[ \Bigg[$ |
{{{{ |
$\big\{ \Big\{ \bigg\{ \Bigg\{$ |
⟨⟨⟨⟨ |
$\big \langle \Big \langle \bigg \langle \Bigg \langle$ |
⟩⟩⟩⟩ |
$\big \rangle \Big \rangle \bigg \rangle \Bigg \rangle$ |
∣∣∣∣∣∣∣∣ |
$\big| \Big| \bigg| \Bigg|$ |
∥∥∥∥∥∥∥∥ |
$\big\| \Big\| \bigg\| \Bigg\|$ |
⌈⌈⌈⌈ |
$\big \lceil \Big \lceil \bigg \lceil \Bigg \lceil$ |
⌉⌉⌉⌉ |
$\big \rceil \Big \rceil \bigg \rceil \Bigg \rceil$ |
⌊⌊⌊⌊ |
$\big \lfloor \Big \lfloor \bigg \lfloor \Bigg \lfloor$ |
⌋⌋⌋⌋ |
$\big \rfloor \Big \rfloor \bigg \rfloor \Bigg \rfloor$ |
对齐
fr(h,t)===Re(<h,r,t>)Re(i=1∑nhiriti)<Re(h),Re(r),Re(t)>+<Re(h),Im(r),Im(t)>+<Im(h),Re(r),Im(t)>−<Im(h),Im(r),Re(t)>
1 2 3 4 5 6 7 8
| $$ \begin{split}f_r(h,t)=&\operatorname{Re}(<h,r,\overline{t}>)\\ =&\operatorname{Re}(\sum_{i=1}^{n}h_ir_i\overline{t}_i)\\ =&<\operatorname{Re}(h),\operatorname{Re}(r),\operatorname{Re}(t)>\\ &+<\operatorname{Re}(h),\operatorname{Im}(r),\operatorname{Im}(t)>\\ &+<\operatorname{Im}(h),\operatorname{Re}(r),\operatorname{Im}(t)>\\ &-<\operatorname{Im}(h),\operatorname{Im}(r),\operatorname{Re}(t)>\end{split} $$
|
字体
颜色
1 2 3 4 5 6 7 8 9 10 11 12
| 浅红色文字:<font color="#dd0000">浅红色文字</font><br/> 深红色文字:<font color="#660000">深红色文字</font><br/> 浅绿色文字:<font color="#00dd00">浅绿色文字</font><br/> 深绿色文字:<font color="#006600">深绿色文字</font><br/> 浅蓝色文字:<font color="#0000dd">浅蓝色文字</font><br/> 深蓝色文字:<font color="#000066">深蓝色文字</font><br/> 浅黄色文字:<font color="#dddd00">浅黄色文字</font><br/> 深黄色文字:<font color="#666600">深黄色文字</font><br/> 浅青色文字:<font color="#00dddd">浅青色文字</font><br/> 深青色文字:<font color="#006666">深青色文字</font><br/> 浅紫色文字:<font color="#dd00dd">浅紫色文字</font><br/> 深紫色文字:<font color="#660066">深紫色文字</font><br/>
|
浅红色文字:浅红色文字
深红色文字:深红色文字
浅绿色文字:浅绿色文字
深绿色文字:深绿色文字
浅蓝色文字:浅蓝色文字
深蓝色文字:深蓝色文字
浅黄色文字:浅黄色文字
深黄色文字:深黄色文字
浅青色文字:浅青色文字
深青色文字:深青色文字
浅紫色文字:浅紫色文字
深紫色文字:深紫色文字
大小
1 2 3 4 5 6 7 8 9 10
| size为1:<font size="1">size为1</font><br/> size为2:<font size="2">size为2</font><br/> size为3:<font size="3">size为3</font><br/> size为4:<font size="4">size为4</font><br/> size为5:<font size="5">size为5</font><br/> size为6:<font size="6">size为6</font><br/> size为7:<font size="7">size为7</font><br/> size为8:<font size="8">size为8</font><br/> size为9:<font size="9">size为9</font><br/> size为10:<font size="10">size为10</font><br/>
|
size为1:size为1
size为2:size为2
size为3:size为3
size为4:size为4
size为5:size为5
size为6:size为6
size为7:size为7
size为8:size为8
size为9:size为9
size为10:size为10
字体
1 2 3 4 5
| <font face="黑体">我是黑体字</font><br/> <font face="宋体">我是宋体字</font><br/> <font face="微软雅黑">我是微软雅黑字</font><br/> <font face="fantasy">我是fantasy字</font><br/> <font face="Helvetica">我是Helvetica字</font><br/>
|
我是黑体字
我是宋体字
我是微软雅黑字
我是fantasy字
我是Helvetica字
背景色
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| <table> <tr> <td bgcolor=#FF00FF>背景色的设置是按照十六进制颜色值:#FF00FF</td> </tr> </table> <table> <tr> <td bgcolor=#FF83FA>背景色的设置是按照十六进制颜色值:#FF83FA</td> </tr> </table> <table> <tr> <td bgcolor=#D1EEEE>背景色的设置是按照十六进制颜色值:#D1EEEE</td> </tr> </table> <table> <tr> <td bgcolor=#C0FF3E>背景色的设置是按照十六进制颜色值:#C0FF3E</td> </tr> </table> <table> <tr> <td bgcolor=#54FF9F>背景色的设置是按照十六进制颜色值:#54FF9F</td> </tr> </table> <table> <tr> <td bgcolor=DarkSeaGreen>这里的背景色是:DarkSeaGreen</td> </tr> </table>
|
合并单元格
实现单元格合并的属性:
1 2
| 按行合并:rowspan 按列合并:colspan
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
| <table> <tr> <th colspan="3">计算机网络分层模型</th> </tr > <tr> <td >OSI七层模型</td> <td>TCP/IP四层模型</td> <td>TCP/IP五层模型</td> </tr > <tr > <td>应用层</td> <td rowspan="3">应用层</td> <td rowspan="3">应用层</td> </tr> <tr> <td>表示层</td> </tr> <tr> <td>会话层</td> </tr> <tr> <td>传输层</td> <td>传输层</td> <td>传输层</td> </tr> <tr> <td>网络层</td> <td>网络层</td> <td>网络层</td> </tr> <tr> <td>数据链路层</td> <td rowspan="2">网络接口层</td> <td>数据链路层</td> </tr> <tr> <td>物理层</td> <td>物理层</td> </tr> </table>
|
计算机网络分层模型 |
OSI七层模型 |
TCP/IP四层模型 |
TCP/IP五层模型 |
应用层 |
应用层 |
应用层 |
表示层 |
会话层 |
传输层 |
传输层 |
传输层 |
网络层 |
网络层 |
网络层 |
数据链路层 |
网络接口层 |
数据链路层 |
物理层 |
物理层 |
链接文字斜体
1
| [_Ray Tracing in One Weekend_](https://raytracing.github.io/books/RayTracingInOneWeekend.html)
|
Ray Tracing in One Weekend
结语
第三十八篇博文写完,开心!!!!
今天,也是充满希望的一天。