郑重推荐WEB数学符号书写解决法

以往常见的都是在服务器端把tex转换为图片文件,嘿嘿。
多亏kzeng给出线索终于找到这个运用java script把Latex转换为MathML的方法,在浏览器firefox或者mozilla里面可以直接显示,而IE需要安装一个mathplayer插件,因为嫌麻烦,我以后的页面当中干脆不管IE了,所以要正确显示文中可能出现的数学符号,就得用firefox或者mozilla了哈哈!
这个作者的java小程序主页在:
http://www1.chapman.edu/~jipsen/mathml/asciimath.html
下面是示例:

<script type="text/javascript" src="http://krsna.lamost.org/ASCIIMathML.js"> </script>


`aleph``oint``\varphi``\forall``\nabla``\subseteq` `E=mc^2``e^(ipi)=-1`
$AA x in CC (sin^2x+cos^2x=1)$
`sum_(i=1)^ni^3=((n(n+1))/2)^2`
嵌入代码:

</p>
<script type="text/javascript" src="http://krsna.lamost.org/ASCIIMathML.js">
</script><p><body onload="translate()"><br />
 

Syndicate content Syndicate content