web网页使用mathjax数学公式
使用mathjaxhttp://www.mathjax.org/docs/1.1/start.html#tex-and-latex-input
在线输入测试数学公式http://lilydjwg.devio.us/misc/mathjax.html#\mathrm{Fermat(}x\mathrm{)} = \cos x + i\;\sin x
demo1:
<!DOCTYPE html><html><head><title>MathJax TeX Test Page</title><script type="text/x-mathjax-config">? MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script><script type="text/javascript"? src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script></head><body>When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$</body></html>