Markdown文档数学公式集合

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cjqh_hao/article/details/83628906

正文(inline)中的LaTeX公式用$…$定义,单独一行用$ . . . . .... $定义

1. 上下标
^表示上标,如果是多个字符,请使用{},_表示下标,如果是多个字符,请使用()

$$ f(x) = x_i + y^x,f((x+y)^{u}) = (x+y)^{u+v}$$

f ( x ) = x i + y x f ( ( x + y ) u ) = ( x + y ) u + v f(x) = x_i + y^x,f((x+y)^{u}) = (x+y)^{u+v}

2. 开方
sqrt表示开方

$\sqrt[m]{n}$ # 表示对n开m次方
$$\sqrt{25}$$
$$\sqrt[3]{25}$$

25 25 3 \sqrt{25}, \sqrt[3]{25}

3. 省略号
\ldots 表示语文本底线对其的省略号,\cdots 表示与文本中线对其的省略号,\cdot 表示一个点,也就是点乘号

这里是省略号$\ldots$,底线对齐
这里是省略号$\cdots$,中线对齐
$$ f(x_1,x_2,\ldots,x_n) = x_1^2 +x_2^2+\cdots+x_n^2 $$

这里是省略号 \ldots ,底线对齐
这里是省略号 \cdots ,中线对齐
f ( x 1 , x 2 , , x n ) = x 1 2 + x 2 2 + + x n 2 f(x_1,x_2,\ldots,x_n) = x_1^2 +x_2^2+\cdots+x_n^2

4. 括号
(), []直接写即可,{}需要转义

这是小括号$()$
这是小括号$[]$
这是小括号$\{\}$

( ) , [ ] , { } (), [], \{\}

5. 分号
使用 \frac{分子}{分母},或者使用 分子 \over 分母

$$\frac{a+b}{c+d}$$

a + b c + d \frac{a+b}{c+d} , n + m m n {n+m} \over {m\cdot n}

6. 向量

\vec a \cdot \vec b = 0

a b = 0 \vec a \cdot \vec b = 0

7. 箭头

示例 代码 示例 代码
\leftarrow \Leftarrow
\rightarrow \Rightarrow
\leftrightarrow \Leftrightarrow
\longleftarrow \Longleftarrow
\longrightarrow \Longrightarrow
\longleftrightarrow \Longleftrightarrow
\uparrow \downarrow
\updownarrow

8. 求和, 求积

$$\sum_{i=1}^{n} x_i$$
$$\prod_{i=0}^n{1 \over {x^2}}$$

i = 1 n x i , i = 0 n 1 x 2 \sum_{i=1}^{n} x_i, \prod_{i=0}^n{1 \over {x^2}}

9. 积分

$$\int_0^\infty{f(x)dx}$$

0 f ( x ) d x \int_0^\infty{f(x)dx}

10. 方程式

$$\begin{cases}
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{cases}
$$

{ a 1 x + b 1 y + c 1 z = d 1 a 2 x + b 2 y + c 2 z = d 2 a 3 x + b 3 y + c 3 z = d 3 \begin{cases} 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{cases}

11. 矩阵

$$\begin{bmatrix}
{a_{11}}&{a_{12}}&{\cdots}&{a_{1n}}\\
{a_{21}}&{a_{22}}&{\cdots}&{a_{2n}}\\
{\vdots}&{\vdots}&{\ddots}&{\vdots}\\
{a_{m1}}&{a_{m2}}&{\cdots}&{a_{mn}}\\
\end{bmatrix}$$

[ a 11 a 12 a 1 n a 21 a 22 a 2 n a m 1 a m 2 a m n ] \begin{bmatrix} {a_{11}}&{a_{12}}&{\cdots}&{a_{1n}}\\ {a_{21}}&{a_{22}}&{\cdots}&{a_{2n}}\\ {\vdots}&{\vdots}&{\ddots}&{\vdots}\\ {a_{m1}}&{a_{m2}}&{\cdots}&{a_{mn}}\\ \end{bmatrix}

12. 希腊字符

字符 表达式 字符 表达式
α \alpha β \beta
γ \gamma δ \delta
ε \epsilon ζ \zeta
η \eta θ \theta
ι \iota κ \kappa
λ \lambda μ \mu
ν \nu ξ \xi
π \pi ρ \rho
σ \sigma τ \tau
υ \upsilon φ \phi
χ \chi ψ \psi
ω \omega

13. 连线

\overline{a+b+c+d}

\underline{a+b+c+d}

\overbrace{a+\underbrace{b+c}_{1.0}+d}^{2.0}

\hat{y} \check{y} \breve{y}

a + b + c + d , a + b + c + d , a + b + c 1.0 + d 2.0 , y ^ y ˇ y ˘ \overline{a+b+c+d} , \underline{a+b+c+d}, \overbrace{a+\underbrace{b+c}_{1.0}+d}^{2.0} , \hat{y} \check{y} \breve{y}

14. 集合运算符号

\emptyset \in \notin \subset \supset \subseteq \supseteq \bigcap \bigcup \bigvee \bigwedge \biguplus \bigsqcup

\emptyset \in \notin \subset \supset \subseteq \supseteq \bigcap \bigcup \bigvee \bigwedge \biguplus \bigsqcup

15. 算术运算符号

\pm \times \div \mid

± × ÷ \pm \times \div \mid

16. 极限符号

$$\lim_{n\rightarrow+\infty}\frac{1}{n(n+1)}$$

lim n + 1 n ( n + 1 ) \lim_{n\rightarrow+\infty}\frac{1}{n(n+1)}

17. 对数函数符号

示例 代码
ln15 \ln15
log210 \log_2 10
lg7 \lg7

18. 三角函数符号

示例 代码
sin \sin
cos \cos
cot \cot
tan \tan
csc \csc
sec \sec
30∘ 30^\circ

19. 逻辑运算符

代码 示例
\because
\therefore
\forall
\not=
\exists
\not> ̸ > \not>
\not\subset ⊄

参考文档
1 http://www.mohu.org/info/symbols/symbols.htm

猜你喜欢

转载自blog.csdn.net/cjqh_hao/article/details/83628906
今日推荐