前言

介绍一些 Markdown 杂项。

操作系统:Ubuntu 20.04.5 LTS

参考文档

  1. CSDN Markdown 公式编号

  2. MarkDown数学公式基本语法

  3. MarkDown编辑器字体颜色设置

  4. Markdown如何实现表格的合并单元格

  5. KaTeX

  6. Latex#对齐(align)#入门教程

数学公式编号

\tag{n} 标签为数学公式设置编号, n 为编号, 公式编号右对齐.

1
$$Dets = \mathcal{H(\Phi_{det})} \tag{1}$$

Dets=H(Φdet)(1)Dets = \mathcal{H(\Phi_{det})} \tag{1}

常用符号

符号 TeX 符号 TeX 符号 TeX
\vee $\vee$ or $\lor$ \wedge $\wedge$ or $\land$ pipi $pi$
\Rightarrow $\Rightarrow$ \infty $\infty$ \cdots $\cdots$
ν\nu $\nu$ \simeq $\simeq$ L\mathcal{L} $\mathcal{L}$
γ\gamma $\gamma$ \ell $\ell$ \in $\in$
[][] $[]$ {}\{\} $\{\}$ | $|$
\cup $\cup$ R\mathbb{R} $\mathbb{R}$ ×\times $\times$
\mid $\mid$ space $\quad$ \leq $\leq$
θθ $θ$ s^\hat{s} $\hat{s}$ \circ $\circ$
h\mathbf{h} $\mathbf{h}$ JJ $J$ \parallel $\parallel$
()\left(\right) $\left(\right)$ λ\lambda $\lambda$ Φ\Phi $\Phi$
xˉ\bar{x} $\bar{x}$ x\vec{x} $\vec{x}$ \infty $\infty$
ε\varepsilon $\varepsilon$ \cap $\cap$ \subset $\subset$
\approx $\approx$ σ\sigma $\sigma$ \ne $\ne$
\cdot $\cdot$ \odot $\odot$ X\mathcal{X} $\mathcal{X}$
\top $\top$ \dots $\dots$ R\mathcal{R} $\mathcal{R}$
\vdots $\vdots$ \ddots $\ddots$ \neq $\neq$
V\mathcal{V} $\mathcal{V}$ \langle\rangle $\langle\rangle$     \iff $\iff$
Λ\Lambda $\Lambda$ ϵ\epsilon $\epsilon$ \forall $\forall$
\checkmark $\checkmark$ \otimes $\otimes$ \lgroup \rgroup $\lgroup \rgroup$
Δ\Delta $\Delta$ E\Epsilon $\Epsilon$ Ψ\Psi $\Psi$
\mapsto $\mapsto$ η\eta $\eta$ D\mathcal{D} $\mathcal{D}$
N\mathcal{N} $\mathcal{N}$ Θ\Theta $\Theta$ θ\theta $\theta$
E\mathcal{E} $\mathcal{E}$ x~\tilde{x} $\tilde{x}$ ψ\psi $\psi$
T\mathcal{T} $\mathcal{T}$ C\mathcal{C} $\mathcal{C}$ \\backslash $\backslash$
G\mathcal{G} $\mathcal{G}$ O\mathcal{O} $\mathcal{O}$ α\alpha $\alpha$
κ\kappa $\kappa$ log\log $\log$ \Vert $\Vert$
Re\operatorname{Re} $\operatorname{Re}$ diag\operatorname{diag} $\operatorname{diag}$ t\overline{t} $\overline{t}$
I\Iota $\Iota$ ι\iota $\iota$ 换行符 $\\$
φ\varphi $\varphi$ Ω\Omega $\Omega$

数学运算符

分数

MN\frac{M}{N}

1
2
3
$$
\frac{M}{N}
$$

上标

R2R^2

1
2
3
$$
R^2
$$

求和符号

1n\sum_1^\infty n

1
2
3
$$
\sum_1^\infty n
$$

Max

a=max1jsa=\max_{1\leq j \leq s}

1
2
3
$$
a=\max_{1\leq j \leq s}
$$

并集

x~=hE(h,r,t)tE(h,r,t)\tilde{x}=\bigcup_{h^{'}\in \mathcal{E}}(h^{'},r,t)\cup \bigcup_{t^{'}\in \mathcal{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^{'})
$$

根号

Mn\sqrt[n]{M}

1
2
3
$$
\sqrt[n]{M}
$$

分段函数

x={aif bcif dx = \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases}

1
2
3
4
5
6
$$
x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
\end{cases}
$$

公式块

a=be=b+c\begin{gather} a=b \\ e=b+c \end{gather}

1
2
3
4
5
6
$$
\begin{gather}
a=b \\
e=b+c
\end{gather}
$$

矩阵块

[abcd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}

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[ \Big[ \bigg[ \Bigg[$
{{{{\big\{ \Big\{ \bigg\{ \Bigg\{ $\big\{ \Big\{ \bigg\{ \Bigg\{$
\big \langle \Big \langle \bigg \langle \Bigg \langle $\big \langle \Big \langle \bigg \langle \Bigg \langle$
\big \rangle \Big \rangle \bigg \rangle \Bigg \rangle $\big \rangle \Big \rangle \bigg \rangle \Bigg \rangle$
\big| \Big| \bigg| \Bigg| $\big| \Big| \bigg| \Bigg|$
\big\| \Big\| \bigg\| \Bigg\| $\big\| \Big\| \bigg\| \Bigg\|$
\big \lceil \Big \lceil \bigg \lceil \Bigg \lceil $\big \lceil \Big \lceil \bigg \lceil \Bigg \lceil$
\big \rceil \Big \rceil \bigg \rceil \Bigg \rceil $\big \rceil \Big \rceil \bigg \rceil \Bigg \rceil$
\big \lfloor \Big \lfloor \bigg \lfloor \Bigg \lfloor $\big \lfloor \Big \lfloor \bigg \lfloor \Bigg \lfloor$
\big \rfloor \Big \rfloor \bigg \rfloor \Bigg \rfloor $\big \rfloor \Big \rfloor \bigg \rfloor \Bigg \rfloor$

对齐

fr(h,t)=Re(<h,r,t>)=Re(i=1nhiriti)=<Re(h),Re(r),Re(t)>+<Re(h),Im(r),Im(t)>+<Im(h),Re(r),Im(t)><Im(h),Im(r),Re(t)>\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
$$
\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>

背景色的设置是按照十六进制颜色值:#FF00FF
背景色的设置是按照十六进制颜色值:#FF83FA
背景色的设置是按照十六进制颜色值:#D1EEEE
背景色的设置是按照十六进制颜色值:#C0FF3E
背景色的设置是按照十六进制颜色值:#54FF9F
这里的背景色是:DarkSeaGreen

合并单元格

实现单元格合并的属性:

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

结语

第三十八篇博文写完,开心!!!!

今天,也是充满希望的一天。