Markdown及Latex公式常用语法结构总结

1. 插入图片

  1. 一般方式插入图片:
![caption](the link to the picture)
  1. 插入图片,并将图片居中:
<div align=center><img src="the link to the picture"/></div>

2. 插入表格

|   1   |   1   |   1   |
| :---: | :---- | ----: |
|   1   |   1   |   1   |
|   1   |   1   |   1   |
|   1   |   1   |   1   |
111
111
111
111

3. 插入Latex公式及常见格式

3.1. 插入块公式:

$$
f(t) = \frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t}
$$

f ( t ) = 1 2 π ∫ − ∞ + ∞ F ( j ω ) ⋅ e j ω t f(t) = \frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t} f(t)=2π1+F(jω)ejωt

3.2. 插入行间公式:

text $f(t) = \frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t} $ text

text f ( t ) = 1 2 π ∫ − ∞ + ∞ F ( j ω ) ⋅ e j ω t f(t) = \frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t} f(t)=2π1+F(jω)ejωt test

3.3. 插入多行块公式,并将等号进行对齐:

$$
\begin{aligned}
f(t)&=\lim_{T\rightarrow \infty}\sum_{n=-\infty}^{+\infty}[\frac{F(n\Omega t)}{T}\cdot e^{j(n\Omega t)}]
\\&=\lim_{\Omega \rightarrow 0}\sum_{n=-\infty}^{+\infty}\frac{1}{2\pi}\Omega F(jn\Omega)\cdot e^{j(n\Omega t)}
\\&=\frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t}d\omega
\end{aligned}
$$

f ( t ) = lim ⁡ T → ∞ ∑ n = − ∞ + ∞ [ F ( n Ω t ) T ⋅ e j ( n Ω t ) ] = lim ⁡ Ω → 0 ∑ n = − ∞ + ∞ 1 2 π Ω F ( j n Ω ) ⋅ e j ( n Ω t ) = 1 2 π ∫ − ∞ + ∞ F ( j ω ) ⋅ e j ω t d ω \begin{aligned} f(t)&=\lim_{T\rightarrow \infty}\sum_{n=-\infty}^{+\infty}[\frac{F(n\Omega t)}{T}\cdot e^{j(n\Omega t)}] \\&=\lim_{\Omega \rightarrow 0}\sum_{n=-\infty}^{+\infty}\frac{1}{2\pi}\Omega F(jn\Omega)\cdot e^{j(n\Omega t)} \\&=\frac{1}{2\pi}\int_{-\infty}^{+\infty}F(j\omega)\cdot e^{j\omega t}d\omega \end{aligned} f(t)=Tlimn=+[TF(nΩt)ej(nΩt)]=Ω0limn=+2π1ΩF(jnΩ)ej(nΩt)=2π1+F(jω)ejωtdω

3.4. 插入大括号

$$
a_n=\frac{\int_{t_1}^{t_2}f(t)cos(n\Omega t)dt}{\int_{t_1}^{t_2}cos^2(n\Omega t)dt}=
\left\{
\begin{aligned}
&\frac{2}{t_2-t_1}\int_{t_1}^{t_2}f(t)cos(n\Omega t)dt, \space \space & n\neq0
\\&\frac{1}{t_2-t_1}\int_{t_1}^{t_2}f(t), \space \space & n=0
\end{aligned}
\right.
$$

a n = ∫ t 1 t 2 f ( t ) c o s ( n Ω t ) d t ∫ t 1 t 2 c o s 2 ( n Ω t ) d t = { 2 t 2 − t 1 ∫ t 1 t 2 f ( t ) c o s ( n Ω t ) d t ,    n ≠ 0 1 t 2 − t 1 ∫ t 1 t 2 f ( t ) ,    n = 0 a_n=\frac{\int_{t_1}^{t_2}f(t)cos(n\Omega t)dt}{\int_{t_1}^{t_2}cos^2(n\Omega t)dt}= \left\{ \begin{aligned} &\frac{2}{t_2-t_1}\int_{t_1}^{t_2}f(t)cos(n\Omega t)dt, \space \space & n\neq0 \\&\frac{1}{t_2-t_1}\int_{t_1}^{t_2}f(t), \space \space & n=0 \end{aligned} \right. an=t1t2cos2(nΩt)dtt1t2f(t)cos(nΩt)dt=t2t12t1t2f(t)cos(nΩt)dt,  t2t11t1t2f(t),  n=0n=0

$$
C_n=
\left\{
\begin{aligned}
&\frac{2A}{n\Omega T}sin(\frac{n\Omega \tau}{2}) \space\space\space &n\neq0
\\&\frac{2A\tau}{T}\space \space\space&n=0
\end{aligned}
\right\}
=\frac{A\tau}{T}Sa(\frac{n\Omega \tau}{2})
$$

C n = { 2 A n Ω T s i n ( n Ω τ 2 )     n ≠ 0 2 A τ T     n = 0 } = A τ T S a ( n Ω τ 2 ) C_n= \left\{ \begin{aligned} &\frac{2A}{n\Omega T}sin(\frac{n\Omega \tau}{2}) \space\space\space &n\neq0 \\&\frac{2A\tau}{T}\space \space\space&n=0 \end{aligned} \right\} =\frac{A\tau}{T}Sa(\frac{n\Omega \tau}{2}) Cn=nΩT2Asin(2nΩτ)   T2Aτ   n=0n=0=TAτSa(2nΩτ)

4. 常用特殊字符(随使用实时更新)

符号Letex语法
α , β , ω , Ω , φ , θ , τ , π \alpha, \beta, \omega, \Omega, \varphi, \theta, \tau, \pi α,β,ω,Ω,φ,θ,τ,π\alpha, \beta, \omega, \Omega, \varphi, \theta, \tau, \pi
∑ a b f ( n Ω ) \sum_{a}^{b}f(n\Omega) abf(nΩ)\sum_{a}^{b}f(n\Omega)
∫ a b f ( t ) d t \int_{a}^{b}f(t)dt abf(t)dt\int_{a}^{b}f(t)dt
∣ a ∣ \vert a\vert a\vert a\vert
a b ,   a + b \frac{a}{b}, \space \sqrt{a+b} ba, a+b \frac{a}{b}, \sqrt{a+b}
a a + b ,   a a + b ,   a a + b a + b a^{a+b},\space a_{a+b}, \space a^{a+b}_{a+b} aa+b, aa+b, aa+ba+ba^{a+b}, a_{a+b}, a^{a+b}_{a+b}
{ a ⋅ [ a + ( b + c ) ] } \{a \cdot [a+(b+c)]\} {a[a+(b+c)]}{a \cdot [a+(b+c)]}
= ,   ≠ ,   > ,   < ,   ≤ ,   ≥ =, \space \neq, \space >, \space <, \space \leq, \space \geq =, =, >, <, , =, \neq, >, <, \leq, \geq
a + b ‾ , a + b ‾ , a + b ⏟ 2 , a + b ⏞ 2 \overline{a+b},\underline{a+b}, \underbrace{a+b}_2, \overbrace{a+b}^2 a+b,a+b,2 a+b,a+b 2\overline{a+b}, \underline{a+b}, \underbrace{a+b}_2, \overbrace{a+b}^2
a ⃗ + b ⃗ \vec{a}+\vec{b} a +b \vec{a}+\vec{b}
a + b → \overrightarrow{a+b} a+b \overrightarrow{a+b}
∏ a b \prod_{a}^{b} ab\prod_{a}^{b}

5. 其他字符

参见:List of LaTeX mathematical symbols

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值