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

后端 未结 12 1301
长发绾君心
长发绾君心 2020-12-16 19:29

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...

相关标签:
12条回答
  • 2020-12-16 20:15

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

    0 讨论(0)
  • 2020-12-16 20:15

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

    0 讨论(0)
  • 2020-12-16 20:17

    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.

    Katex sample

    0 讨论(0)
  • 2020-12-16 20:21

    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.

    0 讨论(0)
  • 2020-12-16 20:22

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

    0 讨论(0)
  • 2020-12-16 20:30

    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.

    0 讨论(0)
提交回复
热议问题