首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

web网页运用mathjax数学公式

2012-10-20 
web网页使用mathjax数学公式使用mathjaxhttp://www.mathjax.org/docs/1.1/start.html#tex-and-latex-input

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>

热点排行
Bad Request.