Markdown用法记录

引言

持续更新总结不常用的方法。Cmd Markdown 公式指导手册

1.字体颜色

浅红色文字:<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 /> 

2.图片更改大小并居中

<center>
<img src="" width="60%" height="60%">

3.公式

$公式在同一行$
$$公式另起一行$$
\quad 空格

大括号: f ( x ) = { 0 x=0 1 x!=0 \qquad \qquad \qquad \qquad \qquad \qquad \qquad \qquad f(x)= \begin{cases} 0& \text{x=0}\\ 1& \text{x!=0} \end{cases} f(x)={01x=0x!=0

$$f(x)=
\begin{cases}
0& \text{x=0}\\
1& \text{x!=0}
\end{cases}$$

符号:

\partial         

∂ \partial

\tau

τ \tau τ

4.引用

引用格式:>

5.矩阵

简单Matrix
使用$$\begin{matrix}…\end{matrix}$$来生成矩阵,其中... 表示的是LaTeX 的矩阵命令,矩阵命令中每一行以 \\ 结束,矩阵的元素之间用&来分隔开。

$$
  \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)

$$
 \left\{
 \begin{matrix}```
$$f(x)=
\begin{cases}
0& \text{x=0}\\
1& \text{x!=0}
\end{cases}$$

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

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

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

$$
 \left[
 \begin{matrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{matrix}
  \right] \tag{3}
$$

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

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

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

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

[ 1 2 ⋯ 4 7 6 ⋯ 5 ⋮ ⋮ ⋱ ⋮ 8 9 ⋯ 0 ] (6) \left[ \begin{matrix} 1 & 2 & \cdots & 4 \\ 7 & 6 & \cdots & 5 \\ \vdots & \vdots & \ddots & \vdots \\ 8 & 9 & \cdots & 0 \\ \end{matrix} \right] \tag{6} 178269450(6)


$$
\left[
\begin{matrix}
 1      & 2      & \cdots & 4      \\
 7      & 6      & \cdots & 5      \\
 \vdots & \vdots & \ddots & \vdots \\
 8      & 9      & \cdots & 0      \\
\end{matrix}```
$$
 \begin{bmatrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{bmatrix} \tag{4}
$$

\right]\tag{6}
$$

$$ 
\left[
    \begin{array}{cc|c}
      1 & 2 & 3 \\
      4 & 5 & 6
    \end{array}
\right] \tag{7}
$$

[ 1 2 3 4 5 6 ] (7) \left[ \begin{array}{cc|c} 1 & 2 & 3 \\ 4 & 5 & 6 \end{array} \right] \tag{7} [142536](7)

6.公式颜色

标红用的代码是

\textcolor{#FF0000}{}

第一个{}中的 #FF0000 是红色的RGB值,第二个{} 把需要标红的部分用括号括起来。或者,一些常用的颜色可以直接打它的颜色英文,比如

\textcolor{red}{}

常用颜色:

red:红色
green:绿色
blue:蓝色
yellow:黄色
$$
 \begin{bmatrix}
   1 & 2 & 3 \\
   4 & 5 & 6 \\
   7 & 8 & 9
  \end{bmatrix} \tag{4}
$$

f ( x ) = { 0 x=0 1 x!=0 \textcolor{red}{f(x)}= \begin{cases} 0& \text{x=0}\\ 1& \text{x!=0} \end{cases} f(x)={01x=0x!=0

$$\textcolor{red}{f(x)}=
\begin{cases}
0& \text{x=0}\\
1& \text{x!=0}
\end{cases}$$

f ( x ) = { 0 x=0 1 x!=0 \textcolor{blue}{f(x)}= \begin{cases} 0& \text{x=0}\\ 1& \text{x!=0} \end{cases} f(x)={01x=0x!=0

$$\textcolor{blue}{f(x)}=
\begin{cases}
0& \text{x=0}\\
1& \text{x!=0}
\end{cases}$$

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

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

比 心 : ♡ ♡ ♡ ! ! ! 比心:\textcolor{red}{\heartsuit \heartsuit \heartsuit} !!! :!!!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值