【学习经验】markdown入门
标题
1 |
|
字体
1 |
|
列表
无序列表
1
2
3+ dfji
+ dfj
+ dfj有序列表
1
2
31. sdf
2. sdf
3. sdf
表格
1 |
|
引用
1 |
|
分割线
1 |
|
折叠内容
1 |
|
数学公式
输入$$
回车后即可插入数学公式(公式为独立一行且居中)
基本运算符
下标:
_
放在字符下时加上\limits
上标:
^
根号:
\sqrt
分数:
\frac{up}{down}
例如
1
x_{ij} 、y^{ij} 、\max \limits_{a<x<b} \{f(x)\}、\frac{up}{down}、\sqrt{b}、 \sqrt[a]{b}
\[ x_{ij} 、y^{ij} 、\max \limits_{a<x<b}\{f(x)\}、\frac{up}{down}、\sqrt{b}、 \sqrt[a]{b} \]
括号
markdown语法 表示字符 markdown语法 表示字符 () () | | [] [] \{\} {} ⟨ ⟩ ⌈ ⌉ ⌊ ⌋ { } 需要显示大号的括号或分隔符时,用
1
2
3\left[
\frac{(x_{ij})_{max}^2}{MSE}
\right]\[ \left[ \frac{(x_{ij})_{max}^2}{MSE} \right] \]
运算符
输入 | 显示 | 输入 | 显示 |
---|---|---|---|
± | ∓ | ||
× | ⋅ | ||
÷ | ≈ | ||
≠ | ≡ | ||
≤ | ≥ |
求和求积
输入 | 显示 | 输入 | 显示 |
---|---|---|---|
∑ | ∏ |
集合运算符
输入 | 显示 | 输入 | 显示 |
---|---|---|---|
∈ | ∉ | ||
⊂ | ⊃ | ||
⊆ | ⊇ | ||
⋂ | ⋃ | ||
∅ | ¢ |
对数运算符
输入 | 显示 | 输入 | 显示 | 输入 | 显示 |
---|---|---|---|---|---|
log | lg | ln |
三角运算符
输入 | 显示 | 输入 | 显示 | 输入 | 显示 |
---|---|---|---|---|---|
30^ | 30° | ⊥ | A | ∠A | |
sin | cos | tan | |||
csc | sec | cot |
微积分运算符
输入 | 显示 | 输入 | 显示 | 输入 | 显示 |
---|---|---|---|---|---|
∫ | lim | ∞ |
逻辑运算符
输入 | 显示 | 输入 | 显示 |
---|---|---|---|
∵ | ∴ | ||
∀ | ∃ |
上下花括号
1 |
|
\[ \overbrace{a+b+\dots+n}^{m个}、\underbrace{a+b+\dots+n}_{m个} \]
箭头
输入 | 显示 | 输入 | 显示 | 输入 | 显示 |
---|---|---|---|---|---|
← | → | ⟵ | |||
↔︎ | ↑ | ⇓ |
- 首字母大写为双箭头
- 前面加long为长箭头
希腊字母
输入
\小写希腊字母英文全称
和\首字母大写希腊字母英文全称
来分别输入小写和大写希腊字母。对于大写希腊字母与现有字母相同的,直接输入大写字母即可。输入 显示 输入 显示 输入 显示 α β γ δ ϵ η θ λ μ σ π ω
字体
若要对公式的某一部分字符进行字体转换,可以用
{\字体 {需转换的部分字符}}
命令,其中\字体
部分可以参照下方选择合适的字体。一般情况下,公式默认为意大利体 。1
意大利体\it{sample}、罗马体\rm{sample}、粗体\bf{sample}、等线体\sf{sample}、打字机体\tt{sample}、旧德式字体\frak{sample}、花体\cal{sample}、黑板粗体\Bbb{sample}、数字斜体\mit{sample}、手写体\scr{sample}
\[ 意大利体\it{sample}、罗马体\rm{sample}、粗体\bf{sample}、等线体\sf{sample}、打字机体\tt{sample}、旧德式字体\frak{sample}、花体\cal{sample}、黑板粗体\Bbb{sample}、数字斜体\mit{sample}、手写体\scr{sample} \]
矩阵
\begin{matrix}...\end{matrix}
括起来,使用&分割同行元素,
1 |
|
\[ \begin{matrix} 1 & x & x^2\\ 1 & y & y^2\\ 1 & z & z^2\\ \end{matrix} \]
行列式
在矩阵基础上添加\left| ... \right|
1 |
|
\[ X=\left| \begin{matrix} x_{11} & x_{12} & \cdots & x_{1d}\\ x_{21} & x_{22} & \cdots & x_{2d}\\ \vdots & \vdots & \ddots & \vdots \\ x_{11} & x_{12} & \cdots & x_{1d}\\ \end{matrix} \right| \]
分段函数
\begin{cases} ... \end{cases}
包括
1 |
|
\[ f(n)= \begin{cases} n/2, & \text{if $n$ is even}\\ 3n+1,& \text{if $n$ is odd} \end{cases} \]
方程组
1 |
|
\[ \left\{ \begin{array}{c} a_1x+b_1y+c_1z=d_1\\ a_2x+b_2y+c_2z=d_2\\ a_3x+b_3y+c_3z=d_3 \end{array} \right. \]