记录自己在学习中遇到的问题😍,持续更新中~
文章目录
1、嵌入代码块
整行代码块使用三个反单引号 `(半角的~键)
行内代码块使用两个反单引号`,将代码内容夹在其间即可
2、字相关
2.1 更改颜色、字体、大小等
<font face="黑体">黑体字</font>
<font face="微软雅黑">微软雅黑</font>
<font face="STCAIYUN">华文彩云</font>
<font color=blue>蓝色</font>
<font color=#008000>绿色</font>
<font color=Red>红色</font>
<font size=5>尺寸</font>
<font face="xx" color=xxxx size=xxx>xxx</font>
查看电脑已安装的字体的方法
1、设置——字体(fonts)
2、control panel——fonts
2.2 加粗、倾斜、删除线、高亮等
①加粗
**Hello world!**
Hello world!
②倾斜
*Hello world!*
Hello world!
注:需要倾斜加粗的话,在字的左右打上三个*即可
***Hello world!***
Hello world!
3、链接语法
3.1基本语法
[文本描述](文本地址)
<y-shi23tsinghua@outlook.com>
3.2如何链接到文本内容
<span id="example">example</span>
创建的链接是[example](#example)
比如:
[direct to the end](#end)
4、数学语法
4.0 插入数学符号/公式
使用“$$”插入行内公式,使用“$$(enter)$$”插入行间公式
如何在行内公式内换行
在行内之间按Enter
是无法实现换行的,正确的做法应该是
在键入两个\\
表示换行
$a=\sum_{m}^{n}$\\b\leqc
a = ∑ m n b ≤ c a=\sum_{m}^{n}\\b\leq c a=∑mnb≤c
更改字体:
$\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZabc123}$
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c 123 \mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZabc123} ABCDEFGHIJKLMNOPQRSTUVWXYZabc123
4.1 希腊字母
example(α):
$$ \alpha \tag1 $$
α (1) \alpha \tag1 α(1)
4.2 分式、开方、上下划线、向量
example(除法):
$$ \frac{abc}{xyz} \tag2 $$
a b c x y z (2) \frac{abc}{xyz} \tag2 xyzabc(2)
4.3 定界符
example(行列式):
$$ \left|\begin{matrix} a&b&c\\ d&e&f\\ g&h&i \end{matrix}\right| $$
∣ a b c d e f g h i ∣ \left|\begin{matrix} a&b&c\\ d&e&f\\ g&h&i \end{matrix}\right| adgbehcfi
输入矩阵的方法
4.4 积分、连加(乘)、交并集、积分
example(Σ):
$$ \sum_{i=0}^n \frac{1}{i^2} \prod_{i=0}^n \frac{1}{i^2} $$
∑ i = 0 n 1 i 2 ∏ i = 0 n 1 i 2 \sum_{i=0}^n \frac{1}{i^2} \prod_{i=0}^n \frac{1}{i^2} i=0∑ni21i=0∏ni21
4.5 其他符号
常用的数学符号
$$ \angle \hat{y} \rightarrow \Rightarrow \Longrightarrow \overline{a+b+c} \overbrace{a+\underbrace{b+c}^3+d}^2 \nabla \therefore \because \infity \forall \exists \not= \neq \equiv \leq \geq \in $$
∠ y ^ → ⇒ ⟹ a + b + c ‾ a + b + c ⏟ 3 + d ⏞ 2 ∇ ∴ ∵ ∞ ∀ ∃ ≠ ≠ ≡ ≤ ≥ ∈ \angle \hat{y} \rightarrow \Rightarrow \Longrightarrow \overline{a+b+c} \overbrace{a+\underbrace{b+c}_3+d}^2 \nabla \therefore \because \infty \forall \exists \not= \neq \equiv \leq \geq \in ∠y^→⇒⟹a+b+ca+3 b+c+d 2∇∴∵∞∀∃==≡≤≥∈
4.6 分段函数
$$ f(x) = \begin{cases} 2x,\,\,x>0\\ 3x,\,\,x\le0\\ \end{cases} $$
f ( x ) = { 2 x , x > 0 3 x , x ≤ 0 f(x) = \begin{cases} 2x,\,\,x>0\\ 3x,\,\,x\le0\\ \end{cases} f(x)={2x,x>03x,x≤0
4.7排列组合
$C_n^m$ $A_n^m$ $\binom{m}{n}$ ${m\choose n}$
C
n
m
C_n^m
Cnm
A
n
m
A_n^m
Anm
(
m
n
)
\binom{m}{n}
(nm)
(
m
n
)
{m\choose n}
(nm)
4.8 如何对齐=
aligned
对齐的
$$\begin{aligned} KPI&=(N+S)W \\ PI&=N+S \\ I&=W \end{aligned}$$ $$\begin{aligned} loss&=(y_i-Q(s,a;\theta))^2 \\ &=(r+\gamma \max Q(s^{'},a^{'};\theta^{-})-Q(s,a;\theta)) ^2\\ \end{aligned}$$
K P I = ( N + S ) W P I = N + S I = W \begin{aligned} KPI&=(N+S)W \\ PI&=N+S \\ I&=W \end{aligned} KPIPII=(N+S)W=N+S=W
l o s s = ( y i − Q ( s , a ; θ ) ) 2 = ( r + γ max Q ( s ′ , a ′ ; θ − ) − Q ( s , a ; θ ) ) 2 \begin{aligned} loss&=(y_i-Q(s,a;\theta))^2 \\ &=(r+\gamma \max Q(s^{'},a^{'};\theta^{-})-Q(s,a;\theta)) ^2\\ \end{aligned} loss=(yi−Q(s,a;θ))2=(r+γmaxQ(s′,a′;θ−)−Q(s,a;θ))2
参考资料
The End