Markdown中编辑Latex数学公式

川长思鸟来 2023-07-12 05:22 173阅读 0赞

1、数学公式
























































































































































































































代码 公式 含义
$f(x)=ax^2+bx+c$ f ( x ) = a x 2 + b x + c f(x)=ax^2+bx+c f(x)=ax2+bx+c 同行插入公式
$$f(x)=ax^2+bx+c$$ f ( x ) = a x 2 + b x + c f(x)=ax^2+bx+c f(x)=ax2+bx+c 换行插入公式
$x^2$ x 2 x^2 x2 上标
$x2$ x 2 x_2 x2 下标
$e^{ln(x)}$ e l n ( x ) e^{ln(x)} eln(x) 复杂上标
$e{ln(x)}$ e l n ( x ) e{ln(x)} eln(x) 复杂下标
$x_j^{(i)}$ x j ( i ) x_j^{(i)} xj(i) 同时上下标
$\frac{ax+b}{cx+d}$ a x + b c x + d \frac{ax+b}{cx+d} cx+dax+b 分数
$\sqrt{5}$;$\sqrt[n]{3}$ 5 ; 3 n \sqrt{5};\sqrt[n]{3} 5 ;n3 开根号
$\vec{a} \cdot \vec{b}=0$ a ⃗ ⋅ b ⃗ = 0 \vec{a} \cdot \vec{b}=0 a b =0 矢量
$\int_3^2 x^2 {\rm d}x$ ∫ 3 2 x 2 d x \int_3^2 x^2 {\rm d}x 32x2dx 积分
$\int{-\infty}^{+\infty} f(x) \mathrm{d}x$ ∫ − ∞ + ∞ f ( x ) d x \int{-\infty}^{+\infty} f(x) \mathrm{d}x +f(x)dx 无穷限积分
$\int\limits{-\infty}^{+\infty}$ ∫ − ∞ + ∞ \int\limits{-\infty}^{+\infty} + limits模式积分
$\displaystyle \int{-\infty}^{+\infty}$ ∫ − ∞ + ∞ \displaystyle \int{-\infty}^{+\infty} + display模式积分
$\iint$ ∬ \iint 二重积分
$\iiint$ ∭ \iiint 三重积分
$\oint$ ∮ \oint 曲线积分
$\oiint$ ∯ \oiint 曲面积分
$\lim{n\rightarrow+\infty} n$ lim ⁡ n → + ∞ n \lim{n\rightarrow+\infty} n limn+n 极限
$\sum{i=1}^{10}x^{(i)}$ ∑ i = 1 10 x ( i ) \sum{i=1}^{10}x^{(i)} i=110x(i) 累加
$\prod{i=1}^{10}x^{(i)}$ ∏ i = 1 10 x ( i ) \prod_{i=1}^{10}x^{(i)} i=110x(i) 累乘
$y\prime x$ y ′ x y\prime x yx 导数
$\sin$ sin ⁡ \sin sin 三角函数
$\angle$ ∠ \angle
$30^\circ$ 3 0 ∘ 30^\circ 30 角度
$\exp$ exp ⁡ \exp exp 指数函数
$\ln15$;$\log_2{10}$;$\lg7$ ln ⁡ 15 \ln15 ln15; log ⁡ 2 10 \log_2{10} log210; lg ⁡ 7 \lg7 lg7 对数函数
$\frac{\partial^2 u}{\partial z^2}$ ∂ 2 u ∂ z 2 \frac{\partial^2 u}{\partial z^2} z22u 求偏导
$\overline{ABC}$; $\bar{A}$ A B C ‾ \overline{ABC} ABC; A ˉ \bar{A} Aˉ 字母上方横线
$\underline{ABC}$ A B C ‾ \underline{ABC} ABC 字母下方横线
$\tilde{A}$; $\widetilde{ABC}$ A ~ \tilde{A} A~; A B C ~ \widetilde{ABC} ABC 字母上方波浪线
$\hat{a}$, $\widehat{ABC}$ a ^ \hat{a} a^, A B C ^ \widehat{ABC} ABC 字母上方尖号
$\vec{a}$; $\overleftarrow{ab}$; $\overrightarrow{ab}$ a ⃗ \vec{a} a ; a b ← \overleftarrow{ab} ab ; a b → \overrightarrow{ab} ab 字母上方箭头
$\overbrace{1+2+3}$ 1 + 2 + 3 ⏞ \overbrace{1+2+3} 1+2+3 字母上方花括号
$\underbrace{1+2+3}$ 1 + 2 + 3 ⏟ \underbrace{1+2+3} 1+2+3 字母下方花括号
$\dot{a}$, $\ddot{a}$ a ˙ \dot{a} a˙, a ¨ \ddot{a} a¨ 字母上方点号
$\dots$, $\cdots$ … \dots ; ⋯ \cdots 省略号
$$y=x^2\tag{1.5a}$$ y = x 2 (1.5a) y=x^2\tag{1.5a} y=x2(1.5a) 公式编号
$$\begin{aligned}y&=ax+b \ &=cx+d \end{aligned}$$ y = a x + b = c x + d \begin{aligned}y&=ax+b \ &=cx+d \end{aligned} y=ax+b=cx+d 多行公式
$$\begin{aligned}m&=ax+b \ n&=cx+d \end{aligned}$$ m = a x + b n = c x + d \begin{aligned}m&=ax+b \ n&=cx+d \end{aligned} mn=ax+b=cx+d 方程组
$$f(x)=\begin{cases}x^2 \qquad & a \gt 0
\ e^x \qquad & a \lt 0\end{cases}$$
f ( x ) = { x 2 , a > 0 e x , a < 0 f(x)=\begin{cases}x^2, & a \gt 0 \ e^x, & a \lt 0\end{cases} f(x)={ x2,ex,a>0a<0 分段函数

2、矩阵

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

[ 1 2 3 4 5 6 7 8 9 ] (1) \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix} \tag{1} ⎣⎡​147​258​369​⎦⎤​(1)

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

{ 1 2 3 4 5 6 7 8 9 } (2) \begin{Bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{Bmatrix} \tag{2} ⎩⎨⎧​147​258​369​⎭⎬⎫​(2)

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

[ 1 2 ⋯ 4 7 6 ⋯ 5 ⋮ ⋮ ⋱ ⋮ 8 9 ⋯ 0 ] (3) \left[ \begin{matrix} 1 & 2 & \cdots & 4 \\ 7 & 6 & \cdots & 5 \\ \vdots & \vdots & \ddots & \vdots \\ 8 & 9 & \cdots & 0 \\ \end{matrix} \right] \tag{3} ⎣⎢⎢⎢⎡​17⋮8​26⋮9​⋯⋯⋱⋯​45⋮0​⎦⎥⎥⎥⎤​(3)

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

[ 1 2 3 4 5 6 ] (4) \left[ \begin{array}{cc|c} 1 & 2 & 3 \\ 4 & 5 & 6 \end{array} \right] \tag{4} [14​25​36​](4)

3、希腊字母














































































































































































































代码 符号 代码 符号 代码 符号
$\alpha$ α \alpha α        
$\beta$ β \beta β        
$\gamma$ γ \gamma γ $\Gamma$ Γ \Gamma Γ    
$\theta$ θ \theta θ $\Theta$ Θ \Theta Θ $\vartheta$ ϑ \vartheta ϑ
$\mu$ μ \mu μ        
$\delta$ δ \delta δ $\Delta$ Δ \Delta Δ    
$\epsilon$ ϵ \epsilon ϵ     $\varepsilon$ ε \varepsilon ε
$\sigma$ σ \sigma σ $\Sigma$ Σ \Sigma Σ $\varsigma$ ς \varsigma ς
$\pi$ π \pi π $\Pi$ Π \Pi Π $\varpi$ ϖ \varpi ϖ
$\omega$ ω \omega ω $\Omega$ Ω \Omega Ω    
$\xi$ ξ \xi ξ $\Xi$ Ξ \Xi Ξ    
$\zeta$ ζ \zeta ζ        
$\chi$ χ \chi χ        
$\rho$ ρ \rho ρ     $\varrho$ ϱ \varrho ϱ
$\phi$ ϕ \phi ϕ $\Phi$ Φ \Phi Φ $\varphi$ φ \varphi φ
$\eta$ η \eta η        
$\lambda$ λ \lambda λ $\Lambda$ Λ \Lambda Λ    
$\kappa$ κ \kappa κ        
$\nu$ ν \nu ν        
$\upsilon$ υ \upsilon υ $\Upsilon$ Υ \Upsilon Υ    
$\psi$ ψ \psi ψ $\Psi$ Ψ \Psi Ψ    
$\tau$ τ \tau τ        
$\iota$ ι \iota ι        
$o$ o o o        

4、特殊字符














































































































































































































































































































































代码 符号 代码 符号 代码 符号
$\times$ × \times × $\div$ ÷ \div ÷ $\pm$ ± \pm ±
$\mp$ ∓ \mp $\otimes$ ⊗ \otimes $\ominus$ ⊖ \ominus
$\oplus$ ⊕ \oplus $\odot$ ⊙ \odot $\oslash$ ⊘ \oslash
$\triangleq$ ≜ \triangleq $\ne$ ≠ \ne = $\equiv$ ≡ \equiv
$\lt$ < \lt < $\gt$ > \gt > $\le$ ≤ \le
$\ge$ ≥ \ge $\cup$ ∪ \cup $\cap$ ∩ \cap
$\Cup$ ⋓ \Cup $\Cap$ ⋒ \Cap $\bigcup$ ⋃ \bigcup
$\bigcap$ ⋂ \bigcap $\ast$ ∗ \ast $\star$ ⋆ \star
$\bigotimes$ ⨂ \bigotimes $\bigoplus$ ⨁ \bigoplus $\circ$ ∘ \circ
$\bullet$ ∙ \bullet $\bigcirc$ ◯ \bigcirc $\amalg$ ⨿ \amalg ⨿
$\to$ → \to $\infty$ ∞ \infty $\vee$ ∨ \vee
$\wedge$ ∧ \wedge $\lhd$ ⊲ \lhd $\rhd$ ⊳ \rhd
$\bigvee$ ⋁ \bigvee $\bigwedge$ ⋀ \bigwedge $\unlhd$ ⊴ \unlhd
$\unrhd$ ⊵ \unrhd $\sqcap$ ⊓ \sqcap $\sqcup$ ⊔ \sqcup
$\prec$ ≺ \prec $\succ$ ≻ \succ $\subset$ ⊂ \subset
$\supset$ ⊃ \supset $\sim$ ∼ \sim $\approx$ ≈ \approx
$\subseteq$ ⊆ \subseteq $\supseteq$ ⊇ \supseteq $\cong$ ≅ \cong
$\doteq$ ≐ \doteq $\setminus$ ∖ \setminus $\mid$ ∣ \mid
$\ll$ ≪ \ll $\gg$ ≫ \gg $\parallel$ ∥ \parallel
$\Join$ ⋈ \Join $\in$ ∈ \in $\notin$ ∉ \notin /
$\propto$ ∝ \propto $\neg$ ¬ \neg ¬ $\ldots$ … \ldots
$\cdots$ ⋯ \cdots $\forall$ ∀ \forall $\exists$ ∃ \exists
$\vdots$ ⋮ \vdots $\ddots$ ⋱ \ddots $\aleph$ ℵ \aleph
$\nabla$ ∇ \nabla $\imath$ ı \imath ı $\jmath$ ȷ \jmath ȷ
$\ell$ ℓ \ell $\partial$ ∂ \partial $\int$ ∫ \int
$\oint$ ∮ \oint $\uplus$ ⊎ \uplus $\biguplus$ ⨄ \biguplus
$\triangleleft$ ◃ \triangleleft $\triangleright$ ▹ \triangleright $\bigtriangleup$ △ \bigtriangleup
$\bigtriangledown$ ▽ \bigtriangledown $\uparrow$ ↑ \uparrow $\downarrow$ ↓ \downarrow
$\leftarrow$ ← \leftarrow $\rightarrow$ → \rightarrow $\Leftarrow$ ⇐ \Leftarrow
$\Rightarrow$ ⇒ \Rightarrow $\longleftarrow$ ⟵ \longleftarrow $\longrightarrow$ ⟶ \longrightarrow
$\Longleftarrow$ ⟸ \Longleftarrow $\Longrightarrow$ ⟹ \Longrightarrow $\leftrightarrow$ ↔ \leftrightarrow
$\longleftrightarrow$ ⟷ \longleftrightarrow $\Leftrightarrow$ ⇔ \Leftrightarrow $\Longleftrightarrow$ ⟺ \Longleftrightarrow
$\leftharpoonup$ ↼ \leftharpoonup $\rightharpoonup$ ⇀ \rightharpoonup $\leftharpoondown$ ↽ \leftharpoondown
$\rightharpoondown$ ⇁ \rightharpoondown $\rightleftharpoons$ ⇌ \rightleftharpoons $\nwarrow$ ↖ \nwarrow
$\nearrow$ ↗ \nearrow $\swarrow$ ↙ \swarrow $\searrow$ ↘ \searrow
$\triangle$ △ \triangle $\diamond$ ⋄ \diamond $\diamondsuit$ ♢ \diamondsuit
$\heartsuit$ ♡ \heartsuit $\clubsuit$ ♣ \clubsuit $\spadesuit$ ♠ \spadesuit
$\bot$ ⊥ \bot $\because$ ∵ \because $\therefore$ ∴ \therefore
$\forall$ ∀ \forall $\exists$ ∃ \exists $\not=$ ≠ \not= =
$\not>$ ≯ \not> > $\not\subset$ ⊄ \not\subset

发表评论

表情:
评论列表 (有 0 条评论,173人围观)

还没有评论,来说两句吧...

相关阅读