帮助文档


一、Mathtype公式转Mathjax代码

1.在Word文档中用Mathtype编辑好公式,然后点击Mathtype —— Conver Equations,如下图所示:

帮助文档 

2.在弹出的Convert Equations窗口中,Text using MathType translator 选项中选择Mathjax:LaTeX,然后转换公式为代码。

帮助文档

3.复制Word文档编辑好的文章及公式,粘贴到网站的编辑框中发布即可在网页上显示数学公式。

二、Latex数学公式命令大全

1.公式以\\(开始,以\\)结束,即形如\\(  \\)

2.常用Latex代码如下:

Latex公式代码(1)

符号\(\pi\)\(\theta\)\(\alpha\)\(\beta\)\(\gamma\)\(\xi\)\(\eta\)\(\varepsilon\)
代码\pi\theta\alpha\beta\gamma\xi\eta\varepsilon
符号\(\omega\)\(\varphi\)\(\lambda\)\(\mu\)\(\Omega\)\(\infty\)\(\tau\)\(\mathbf{R}\)
代码\omega\varphi\lambda\mu\Omega\infty\tau\mathbf{R}
符号\(\delta\)\(\mathbf{N}\)\(\sigma\)\(\mathbf{Z}\)\(\Delta\)
代码\delta\mathbf{N}\sigma\mathbf{Z}\Delta
符号\(\in\)\(\notin\)\(\emptyset\)\(\forall\)\(\exists\)\(\wedge\)\(\vee\)\(\lnot\)
代码\in\notin\emptyset\forall\exists\wedge\vee\lnot
符号\(\subseteq\)\(\supseteq\)\(\subsetneqq\)\(\supsetneqq\)\(\not\subset\)\(\cap\)\(\cup\)\(\complement_{U}{A}\)
代码\subseteq\supseteq\subsetneqq\supsetneqq\not\subset\cap\cup\complement_{U}{A}

Latex公式代码(2)

符号\(\Rightarrow\)\(\Leftarrow\)\(\Leftrightarrow\)\(\Longrightarrow\)\(\Longleftarrow\)
代码\Rightarrow\Leftarrow\Leftrightarrow\Longrightarrow\Longleftarrow
符号\(\Longleftrightarrow\)\(\longrightarrow\)\(\longmapsto\)\(\searrow\)\(\nearrow\)
代码\Longleftrightarrow\longrightarrow\longmapsto\searrow\nearrow
符号\(\pm\)\(\mp\)\(\times\)\(\div\)\(\neq\)
代码\pm\mp\times\div\neq
符号\(\bullet\)\(\cdot\)\(\odot\)\(\overset{\frown} {AB}\)\(\vartriangle{ABC}\)
代码\bullet\cdot\odot\overset{\frown} {AB}\vartriangle{ABC}
符号\(\geqslant\)\(\leqslant\)\(\sim\)\(\cong\)\(\equiv\)
代码\geqslant\leqslant\sim\cong\equiv
符号\(\approx\)\(\leftrightarrow\)\(\perp\)\(\angle\)\(45^\circ\)
代码\approx\leftrightarrow\perp\angle45^\circ
符号\(\dfrac{a}{b}\)\(\sqrt{x}\)\(\sqrt[n]{x}\)\(x_{i+1}^{n+1}\)\(a^{2x+1}\)
代码\dfrac{a}{b}\sqrt{x}\sqrt[n]{x}x_{i+1}^{n+1}a^{2x+1}
符号\(A_n^m\)\(\left\vert x \right\vert\)\(\because\)\(\therefore\)\(\cdots\)
代码A_n^m\left\vert x \right\vert\because\therefore\cdots
符号\(\left ( a,b \right )\)\(\left[ a,b \right]\)\(\left( -\infty,a \right]\)\(\left[ a , +\infty \right)\)\(\left\{ a_n \right\}\)
代码\left ( a,b \right )\left[ a,b \right]\left( -\infty,a \right]\left[ a , +\infty \right)\left\{ a_n \right\}
符号\({f}'(x)\)\({f}''(x)\)\(\vec{a}\)\(\overrightarrow{AB}\)\(\boldsymbol{a} \bullet \boldsymbol{b}\)
代码{f}'(x){f}''(x)\vec{a}\overrightarrow{AB}\boldsymbol{a} \bullet \boldsymbol{b}
符号\(\hat{a}\)\(\bar{x}\)\(\overline{x+y}\)\(\surd\)\(\lg{x}\)
代码\hat{a}\bar{x}\overline{x+y}\surd\lg{x}
符号\(\ln{x}\)\(\bar{x}\)\(\log_{a}{x}\)\(\sin{x}\)\(\cos{x}\)
代码\ln{x}\bar{x}\log_{a}{x}\sin{x}\cos{x}

Latex公式代码(3)

符号\(\sum\limits_{k=1}^N k^2\)\(\prod\limits_{i=1}^N x_i\)\(\mathop {\lim }\limits_{\Delta x \to 0} \dfrac{{\Delta y}}{{\Delta x}}\) $\left\{ \begin{align}
& a=1 \\
& b=2 \\
\end{align} \right.$
代码\sum\limits_{k=1}^N k^2\prod\limits_{i=1}^N x_i\mathop {\lim }\limits_{\Delta x \to 0} \dfrac{{\Delta y}}{{\Delta x}}\left\{ \begin{align}
\& a=1 \\
\& b=2 \\
\end{align} \right.

Latex公式代码(4)

表格$$
\begin{array}{c|lcr}
n & \text{Left} & \text{Center} & \text{Right} \\
\hline
1 & 0.24 & 1 & 125 \\
2 & -1 & 189 & -8 \\
3 & -20 & 2000 & 1+10i
\end{array}
$$
$$
\begin{array}{c|lcr}
n & \text{Left} & \text{Center} & \text{Right} \\
\hline
1 & 0.24 & 1 & 125 \\
2 & -1 & 189 & -8 \\
3 & -20 & 2000 & 1+10i
\end{array}
$$
矩阵$$
\begin{pmatrix}
1 & a_1 & a_1^2 & \cdots & a_1^n\\
1 & a_2 & a_2^2 & \cdots & a_2^n \\
\vdots & \vdots & \ddots & \vdots \\
1 & a_n & a_n^2 & \cdots & a_n^n \\
\end{pmatrix}
$$
$$
\begin{pmatrix}
1 & a_1 & a_1^2 & \cdots & a_1^n\\
1 & a_2 & a_2^2 & \cdots & a_2^n \\
\vdots & \vdots & \ddots & \vdots \\
1 & a_n & a_n^2 & \cdots & a_n^n \\
\end{pmatrix}
$$
矩阵$$ \left[
\begin{array}{cc|c}
1&2&3\\
4&5&6
\end{array}
\right] $$
$$ \left[
\begin{array}{cc|c}
1&2&3\\
4&5&6
\end{array}
\right] $$
多行公式\begin{equation}\begin{split}
H(Y|X)&=\sum_{x\in X} p(x)H(Y|X)\\
&=-\sum_{x\in X} p(x)\sum_{y\in Y}p(y|x)\log p(y|x)\\
&=-\sum_{x\in X} \sum_{y\in Y}p(y,x)\log p(y|x)
\end{split}\end{equation}
\begin{equation}\begin{split}
H(Y|X)&=\sum_{x\in X} p(x)H(Y|X)\\
&=-\sum_{x\in X} p(x)\sum_{y\in Y}p(y|x)\log p(y|x)\\
&=-\sum_{x\in X} \sum_{y\in Y}p(y,x)\log p(y|x)
\end{split}\end{equation}
不同行等号对齐\begin{align*}
E(X+Y)&=\sum\limits_{i}{\sum\limits_{j}{({{x}_{i}}+{{y}_{j}}){{p}_{ij}}}} \\
& =\sum\limits_{i}{\sum\limits_{j}{{{x}_{i}}{{p}_{ij}}}}+\sum\limits_{i}{\sum\limits_{j}{{{y}_{j}}{{p}_{ij}}}} \\
& =\sum\limits_{i=1}^{\infty }{{{x}_{i}}}\sum\limits_{j=1}^{\infty }{{{p}_{ij}}}+\sum\limits_{j=1}^{\infty }{{{y}_{j}}}\sum\limits_{i=1}^{\infty }{{{p}_{ij}}} \\
& =\sum\limits_{i=1}^{\infty }{{{x}_{i}}{{p}_{i.}}}+\sum\limits_{j=1}^{\infty }{{{y}_{j}}{{p}_{.j}}} \\
& =E(X)+E(Y)
\end{align*}
\begin{align*}
E(X+Y)&=\sum\limits_{i}{\sum\limits_{j}{({{x}_{i}}+{{y}_{j}}){{p}_{ij}}}} \\
& =\sum\limits_{i}{\sum\limits_{j}{{{x}_{i}}{{p}_{ij}}}}+\sum\limits_{i}{\sum\limits_{j}{{{y}_{j}}{{p}_{ij}}}} \\
& =\sum\limits_{i=1}^{\infty }{{{x}_{i}}}\sum\limits_{j=1}^{\infty }{{{p}_{ij}}}+\sum\limits_{j=1}^{\infty }{{{y}_{j}}}\sum\limits_{i=1}^{\infty }{{{p}_{ij}}} \\
& =\sum\limits_{i=1}^{\infty }{{{x}_{i}}{{p}_{i.}}}+\sum\limits_{j=1}^{\infty }{{{y}_{j}}{{p}_{.j}}} \\
& =E(X)+E(Y)
\end{align*}
大括号嵌套$$\begin{cases}
A&XXX\\
B&XXX\\
C&
\begin{cases}
D&XXX\\
E&XXX
\end{cases}\\
F&XXX
\end{cases}$$
$$\begin{cases}
A&XXX\\
B&XXX\\
C&
\begin{cases}
D&XXX\\
E&XXX
\end{cases}\\
F&XXX
\end{cases}$$
大括号嵌套$$\left\{\begin{array}{ll}
A&XXX\\
B&XXX\\
C&\left\{
\begin{array}{ll}
D&XXX\\
E&XXX
\end{array}
\right.\\
F&XXX
\end{array}
\right.$$
$$\left\{\begin{array}{ll}
A&XXX\\
B&XXX\\
C&\left\{
\begin{array}{ll}
D&XXX\\
E&XXX
\end{array}
\right.\\
F&XXX
\end{array}
\right.$$
大括号嵌套$$\begin{cases}
A&XXX\\
B&XXX\\
C&\left\{
\begin{array}{ll}
D&XXX\\
E&XXX
\end{array}
\right.\\
F&XXX
\end{cases}$$
$$\begin{cases}
A&XXX\\
B&XXX\\
C&\left\{
\begin{array}{ll}
D&XXX\\
E&XXX
\end{array}
\right.\\
F&XXX
\end{cases}$$
分类 \mbox{特殊向量}
\begin{cases}
\mbox{零向量}\\
\mbox{单位向量}
\end{cases}
\mbox{内层}&
\begin{cases}
\mbox{零向量}\\
\mbox{单位向量}
\end{cases}

\mbox{外层}
\begin{cases}
\mbox{零向量}\\
\mbox{单位向量}
\end{cases}

Insert math as
Block
Inline
Additional settings
Formula color
Text color
#333333
Type math using LaTeX
Preview
\({}\)
Nothing to preview
Insert