Test Latex and Code snippet in wordpress

There is one wp plugin to support latex. Mathjax.

\(i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>\)

 

例如\(\alpha+\beta\geq\frac12\)的输出结果是

\(\alpha+\beta\geq\frac12\)

使用\(...\)输出「行内公式」,例如\(\alpha+\beta\geq\frac12\)的输出结果是:\(\alpha+\beta\geq\frac12\)

使用\[...\]输出「行间公式」,例如\[\alpha+\beta\geq\frac12\]的输出结果则是:\[\alpha+\beta\geq\frac12\]

在公式最后添加「!」可输出公式源代码,如\(\alpha+\beta\geq\frac12!\)将输出:\(\alpha+\beta\geq\frac12\)!


void main()

{
int i = 0;
char j = 'c';
}

Leave a Reply

Your email address will not be published.