Markdown数学符号

上标

语法:

x^2

效果:

\(x^2\)

下标

语法:

x_i

效果:

\(x_i\)

整体

语法:

x^{2y}

效果:

\(x^{2y}\)

大括号

语法:

\{\}

效果:

\(\{\}\)

分数线

语法:

\frac12

\frac{12}{23}

效果:

\(\frac12\)

\(\frac{12}{23}\)

开方

语法:

\sqrt{x}

\sqrt[3]{x}

效果:

\(\sqrt{x}\)

\(\sqrt[3]{x}\)

省略号

语法:

\ldots \cdots

效果:

\(\ldots \cdots\)

矢量

语法:

\vec{ a }

效果:

\(\vec{ a }\)

积分

语法:

\int_0^2 x^2 {\rm d}x

\(\int_0^2 x^2 {\rm d}x\)

极限

语法:

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

效果:

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

累加

语法:

\sum_{i=0}^n i^2

\Sigma_{i=0}^n i^2

效果:

\(\sum_{i=0}^n i^2\)

\(\Sigma_{i=0}^n i^2\)

累乘

语法:

\prod_{i=1}^n i^2

\Pi_{i=1}^n i^2

效果:

\(\prod_{i=1}^n i^2\)

\(\Pi_{i=1}^n i^2\)

希腊字母

语法(大写) 效果(大写) 语法(小写) 效果(小写)
\Alpha \(\Alpha\) \alpha \(\alpha\)
\Beta \(\Beta\) \beta \(\beta\)
\Gamma \(\Gamma\) \gamma \(\gamma\)
\Delta \(\Delta\) \delta \(\delta\)
\Epsilon \(\Epsilon\) \epsilon \(\epsilon\)
\Zeta \(\Zeta\) \zeta \(\zeta\)
\Eta \(\Eta\) \eta \(\eta\)
\Theta \(\Theta\) \theta \(\theta\)
\Iota \(\Iota\) \iota \(\iota\)
\Kappa \(\Kappa\) \kappa \(\kappa\)
\Lambda \(\Lambda\) \lambda \(\lambda\)
\Mu \(\Mu\) \mu \(\mu\)
\Nu \(\Nu\) \nu \(\nu\)
\Xi \(\Xi\) \xi \(\xi\)
\Omicron \(\Omicron\) \omicron \(\omicron\)
\Pi \(\Pi\) \pi \(\pi\)
\Rho \(\Rho\) \rho \(\rho\)
\Sigma \(\Sigma\) \sigma \(\sigma\)
\Tau \(\Tau\) \tau \(\tau\)
\Upsilon \(\Upsilon\) \upsilon \(\upsilon\)
\Phi \(\Phi\) \phi \(\phi\)
\Chi \(Chi\) \chi \(\chi\)
\Psi \(\Psi\) \psi \(\psi\)
\Omega \(\Omega\) \omega \(\omega\)

关系运算符

语法 效果
\pm \(\pm\)
\times \(\times\)
\div \(\div\)
\mid \(\mid\)
\nmid \(\nmid\)
\cdot \(\cdot\)
\circ \(\circ\)
\ast \(\ast\)
\bigodot \(\bigodot\)
\bigotimes \(\bigotimes\)
\bigoplus \(\bigoplus\)
\le \(\le\)
\ge \(\ge\)
\ne \(\ne\)
\approx \(\approx\)
\equiv \(\equiv\)
\sum \(\sum\)
\prod \(\prod\)
\coprod \(\coprod\)

集合运算符

语法 效果
\emptyset \(\emptyset\)
\in \(\in\)
\notin \(\notin\)
\subset \(\subset\)
\supset \(\supset\)
\subseteq \(\subseteq\)
\supseteq \(\supseteq\)
\bigcap \(\bigcap\)
\bigcup \(\bigcup\)
\bigvee \(\bigvee\)
\bigwedge \(\bigwedge\)
\biguplus \(\biguplus\)
\bigsqcup \(\bigsqcup\)

对数运算符

语法 效果
\log \(\log\)
\lg \(\lg\)
\ln \(\ln\)

三角运算符

语法 效果
\bot \(\bot\)
\angle \(\angle\)
30^\circ \(30^\circ\)
\sin \(\sin\)
\cos \(\cos\)
\tan \(\tan\)
\cot \(\cot\)
\sec \(\sec\)
\csc \(\csc\)

微积分运算符

语法 效果
\prime \(\prime\)
\int \(\int\)
\iint \(\iint\)
\iiint \(\iiint\)
\iiiint \(\iiiint\)
\oint \(\oint\)
\lim \(\lim\)
\infty \(\infty\)
\nabla \(\nabla\)

逻辑运算符

语法 效果
\because \(\because\)
\therefore \(\therefore\)
\forall \(\forall\)
\exists \(\exists\)
\not= \(\not=\)
\not> \(\not>\)
\not\subset \(\not\subset\)

戴帽符号

语法 效果
\hat{y} \(\hat{y}\)
\check{y} \(\check{y}\)
\breve{y} \(\breve{y}\)

连线符号

语法 效果
\overline{a+b+c+d} \(\overline{a+b+c+d}\)
\underline{a+b+c+d} \(\underline{a+b+c+d}\)
\overbrace{a+b+c+d} \(\overbrace{a+b+c+d}\)
\underbrace{a+b+c+d} \(\underbrace{a+b+c+d}\)

箭头符号

语法 效果
\uparrow \(\uparrow\)
\downarrow \(\downarrow\)
\Uparrow \(\Uparrow\)
\Downarrow \(\Downarrow\)
\rightarrow \(\rightarrow\)
\leftarrow \(\leftarrow\)
\Rightarrow \(\Rightarrow\)
\Leftarrow \(\Leftarrow\)
\longrightarrow \(\longrightarrow\)
\longleftarrow \(\longleftarrow\)
\Longrightarrow \(\Longrightarrow\)
\Longleftarrow \(\Longleftarrow\)
上一篇:原 2019牛客暑期多校训练营(第九场) D Knapsack Cryptosystem 超大背包(二分搜索)


下一篇:SP11469 SUBSET-Balanced Cow Subsets meet-in-the-middle+状压