本论坛加入mimetex描述数学公式

getsmile 2012-8-6 8160

mimetex用法参考:[url=http://www.forkosh.com/mimetex.html:n8wzcjmg]http://www.forkosh.com/mimetex.html[/url:n8wzcjmg]
mathtex用法参考:[url=http://www.forkosh.com/mathtex.html:n8wzcjmg]http://www.forkosh.com/mathtex.html[/url:n8wzcjmg]
latex用法参考:[url=http://zh.wikipedia.org/wiki/LaTeX:n8wzcjmg]http://zh.wikipedia.org/wiki/LaTeX[/url:n8wzcjmg]
其它参考资料:[url=http://blog.chinaunix.net/uid-20659338-id-318733.html:n8wzcjmg]http://blog.chinaunix.net/uid-20659338-id-318733.html[/url:n8wzcjmg]

下面看具体的例子:
1、如果我们要输入公式[math]a^2+b^2=c^2[/math]
那么我可以在编辑框中直接输入[code][math]a^2+b^2=c^2[/math] [/code]
2、如果我们要输入公式[math]\alpha^\beta\div\gamma=1[/math]
那么我可以在编辑框中直接输入[code]alpha^betadivgamma=1[/code]
(其中 显然 \alpha 转义为了希腊字母  ,\beta ,\gamma 同样也是. \div 表示除号,\alpha^\beta 中的 '^'表示上标,当上标是一个字母或者数字时可以直接这样写)
3、如果我们要输入公式[math]a^2+b^2=c^2[/math]
那么我可以在编辑框中直接输入[code][math]a^2+b^2=c^2[/math] [/code]
4、如果我们要输入公式[math]{\rm 2H^+ + CO_3^- =H_2O+CO_2\uparr}[/math]
那么我可以在编辑框中直接输入[code][math]{rm 2H^+ + CO_3^- =H_2O+CO_2uparr}[/math] [/code]
5、如果我们要输入公式[math]\frac {\sqrt{x-1}} {\sqrt{x+1}}[/math]
那么我可以在编辑框中直接输入[code][math]frac {sqrt{x-1}} {sqrt{x+1}}[/math] [/code]
6、如果我们要输入公式[math]\Large\hspace{5}\unitlength{1}%20%20%20%20\picture(175,100){~(50,50){\circle(100)}%20%20%20%20(1,50){\overbrace{\line(46)}^{4$\;\;a}}%20%20%20%20(52,50){\line(125)}~(50,52;115;2){\mid}~(52,55){\longleftar[60]}%20%20%20%20(130,56){\longrightar[35]}~(116,58){r}~(c85,50;80;2){\bullet}%20%20%20%20(c85,36){3$-q}~(c165,36){3$q}%20%20%20%20(42,29){\underbrace{\line(32)}_{1$a^2/r\;\;\;}}~}[/math]
那么我可以在编辑框中直接输入[code][math]Largehspace{5}unitlength{1}%20%20%20%20picture(175,100){~(50,50){circle(100)}%20%20%20%20(1,50){overbrace{line(46)}^{4$;;a}}%20%20%20%20(52,50){line(125)}~(50,52;115;2){mid}~(52,55){longleftar[60]}%20%20%20%20(130,56){longrightar[35]}~(116,58){r}~(c85,50;80;2){bullet}%20%20%20%20(c85,36){3$-q}~(c165,36){3$q}%20%20%20%20(42,29){underbrace{line(32)}_{1$a^2/r;;;}}~}[/math] [/code]
更多用法请参考:mimetex用法、部分latex语法也可以使用。
在回帖中试一试吧~!
[hr:n8wzcjmg][/hr:n8wzcjmg]
[math]\mathscr J^{ij}=\frac12\varepsilon_{ijk} \left[\begin{array}{cc}\sigma_k\sigma_k\end{array}\right][/math]
[code][math]mathscr J^{ij}=frac12varepsilon_{ijk} left[begin{array}{cc}sigma_ksigma_kend{array}right][/math] [/code]
最新回复 (4)
  • getsmile 2012-8-6
    4

    都是技术贴,支持!


    方便写数学公式
  • getsmile 2012-8-6
    3
    都是技术贴,支持!
  • getsmile 2012-8-6
    2
    [math]f(x)=\\int_{-\\infty}^xe^{-t^2}dt[/math]
    [hr:30ohyk2c][/hr:30ohyk2c]
    [math]c=\\sqrt{a^2+b^2}[/math]
  • getsmile 2012-8-6
    1
    [math]x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}[/math]
    • 四川民族学院论坛
      6
        登录 注册 QQ登录
返回