Is there a way to have math formulas look nice on a web page (as in LateX, for instance)

半腔热情 提交于 2019-11-27 17:59:54

问题


I wonder if there is a framework or something else to display Math formula on a web page. Other than using images of those formulas...


回答1:


Check out MathOverflow, which uses jsMath. Looks pretty good, but can take a few seconds to render everything.




回答2:


You may also check MathJax, which supports rendering both LaTex and MathML.




回答3:


Check out this review of all of the options for web math display.

MathJax is the best option, but it's still in beta. As far as I can tell though, it's the only solution still under development and it should reach 1.0 soon.




回答4:


Katex

A couple of developers from the Khan Academy released a blazing quick library based off of Tex called Katex:

  • Fast
  • High-quality
  • Self-contained; and,
  • Can be rendered on the server

Looks like a great modern option.




回答5:


The portable way is to use images.

MathML really isn't widely adopted.

You can do it with CSS, but again its very different to look right across a wide range of browsers

Here is excellent advice: http://www.cs.tut.fi/~jkorpela/math/




回答6:


There is MathML, which some of the newer browsers support. But as a fallback, you will need to use images.




回答7:


Take a look at MathML, which has both presentation and content flavors.




回答8:


There's MathML: http://en.wikipedia.org/wiki/MathML




回答9:


What about jsMath, as used by MathOverflow?




回答10:


MathJax is the new version of jsMath. You might want to also check out jqmath at http://mathscribe.com/author/jqmath.html. I wrote it to be simple, small and fast.




回答11:


MathML should be the standard way to do this, but it's not supported by all browsers. The newest Google Chart Tools have support for mathematical (TEX) formulas.




回答12:


I found this https://github.com/mathjax/mathjax very useful. It supports:

  • AsciiMath
  • LaTeX
  • Tex
  • MathML


来源:https://stackoverflow.com/questions/2324718/is-there-a-way-to-have-math-formulas-look-nice-on-a-web-page-as-in-latex-for-i

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!