Markdown数学公式语法

  1. 插入区块

一级标题

二级标题

三级标题

  1. Markdown格式的公式中,以反斜杠\+英文单词 作为一个特殊符号的实现,并且每一部分用大括号{}分隔。

  2. 行内公式插入
    \(xyz\)

  3. 独行公式,居中插入

\[xyz \]

  1. 上标与下标及其组合
    \(x^4\)
    \(x_5\)\(V_{初始}\)
    \({H}_8{O}_5\)

  2. 分数
    \(\displaystyle \frac{x+y}{y+z}\) \(\tag{11}\)

  3. 下划线
    \(\underline{x+y}\)

  4. 公式行计数标签
    \(\tag{11}\)

  5. 上大括号
    \(\overbrace{a+b+c+d}^{2.0}\)

  6. 下大括号
    \(\underbrace{b+c}_{1.0}\)

  7. 向量
    \(\vec{x}\)

  8. 省略号
    \({x_1,\dots,x_n}\)

占位符

  1. 两个空格距离
    \(x \qquad y\)

  2. 1个空格距离
    \(x \quad y\)

  3. 小空格距离
    \(x \ y\)

  4. 无空格距离
    \(xy\)

定界符

  1. 括号
    \(()\big(\big) \Big(\Big) \bigg(\bigg) \Bigg(\Bigg)\)

  2. 中括号
    \([x+y]\)

  3. 大括号-注意$前后不能有空格

\(\{x+y\}\)

  1. 组合公式
    \({n+1 \choose k}={n \choose k}+{n \choose k-1}\)

四则运算

\(x+y=z\)
\(x-y=z\)
\(x \pm y=z\)
\(x \mp y=z\)

\(x \times y=z\)
\(x \cdot y=z\)
\(x \ast y=z\)

\(x/y=z\)
\(\frac{x+y}{y+z}\)
\(x \div y=z\)

\(|x+y|\)

高级运算

  1. 平均数
    \(\overline{xyz}\)

  2. 平方根
    \(\sqrt x\)

  3. 开方运算
    \(\sqrt[3]{x+y}\)

  4. 对数运算
    \(\log(x)\)

5.极限运算
\(\displaystyle \lim^{x \to \infty}_{y \to 0}{\frac{x}{y}}\)

6.求和运算
\(\displaystyle \sum^{x \to \infty}_{y \to 0}{\frac{x}{y}}\)

  1. 积分运算
    \(\displaystyle \int^{\infty}_{0}{xdx}\)

  2. 微分运算
    \(\frac{\partial x}{\partial y}\)

  3. 矩阵表示
    \(\left[ \begin{matrix} 1 &2 &\cdots &4 &5 &6 &\cdots &8\\9 &\vdots &\ddots &\vdots &13 &14 &\cdots &16\end{matrix} \right]\)

逻辑运算

\(x+y=z\)
\(x+y>z\)
\(x+y<z\)

\(x+y \geq z\)
\(x+y \leq z\)
\(x+y \neq z\)
\(x+y \ngeq z\)
\(x+y \nleq z\)

\(x+y \approx z\)
\(x+y \equiv z\)

集合运算——转义符与英文运算符号间不能有空格

\(x \cup y\)
\(x \cap y\)
\(x \setminus y\)
\(\mathbb{R}\)
\(\mathbb{Z}\)
\(\emptyset\)

\(x\in y\)
\(x\notin y\)
\(x \subset y\)
\(x \supset y\)

\(x \subseteq y\)
\(x \subsetneq y\)
\(x \supseteq y\)
\(x \supsetneq y\)
\(x \not\subset y\)
\(x \not\supset y\)

\(x \bigodot y\)
\(x \bigotimes y\)

数学符号

\(\infty\)
\(\imath\)
\(\jmath\)
\(\hat{a}\)

\(\check{a}\)
\(\breve{a}\)
\(\tilde{a}\)
\(\bar{a}\)

\(\vec{a}\)

\(\dot{a}\)
\(\ddot{a}\)

\(\uparrow\)
\(\downarrow\)
\(\leftarrow\)
\(\rightarrow\)

\(1,2,\ldots,n\)
\(x_1^2 + x_2^2 + \cdots + x_n^2\)
\(\vdots\)
\(\ddots\)

**希腊字母

\(\alpha\)
\(\beta\)

\(\Gamma\)
\(\gamma\)

\(\Delta\)
\(\delta\)

\(\epsilon\)
\(\zeta\)
\(\eta\)

\(\Theta\)
\(\theta\)

\(\kappa\)

\(\Lambda\)
\(\lambda\)

\(\mu\)
\(\nu\)
\(\xi\)
\(\omicron\)

\(\Pi\)
\(\pi\)

\(\Sigma\)
\(\sigma\)

\(\rho\)

\(\tau\)

\(\Phi\)
\(\phi\)

\(\chi\)
\(\Psi\)
\(\psi\)

\(\Omega\)
\(\omega\)

Latex格式同理

"$$
\a 反斜杠表示变量

\[" \]

posted @ 2020-05-16 16:11  Parallax  阅读(506)  评论(0编辑  收藏  举报