Latex在线公式编辑器
http://www.codecogs.com/latex/eqneditor.php
1. 行内公式:
code
$ \sqrt{a^2} $
display
$ \sqrt{a^2} $
2.行间公式
code
$$ \sqrt{a^2} $$
display
\[\sqrt{a^2}
\]
\]
3. 例子
Latex公式代码
$$$
h(x')= \begin{pmatrix}
\rho
\\ \phi
\\ \dot{\rho}
\end{pmatrix}
=
{\begin{pmatrix}
\sqrt{p_x^2 + p_y^2}
\\ arctan(p_y/p_x)
\\ {\frac{p_xv_x + p_yv_y}{\sqrt{p_x^2 + p_y^2}}}
\end{pmatrix}}
$$$
显示
\[$
h(x')= \begin{pmatrix}
\rho
\\ \phi
\\ \dot{\rho}
\end{pmatrix}
=
{\begin{pmatrix}
\sqrt{p_x^2 + p_y^2}
\\ arctan(p_y/p_x)
\\ {\frac{p_xv_x + p_yv_y}{\sqrt{p_x^2 + p_y^2}}}
\end{pmatrix}}
$\]
h(x')= \begin{pmatrix}
\rho
\\ \phi
\\ \dot{\rho}
\end{pmatrix}
=
{\begin{pmatrix}
\sqrt{p_x^2 + p_y^2}
\\ arctan(p_y/p_x)
\\ {\frac{p_xv_x + p_yv_y}{\sqrt{p_x^2 + p_y^2}}}
\end{pmatrix}}
$\]