Rabskatran
Rabskatran

Reputation: 2299

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

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

Upvotes: 11

Views: 11124

Answers (12)

Alireza Fattahi
Alireza Fattahi

Reputation: 45465

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

  • AsciiMath
  • LaTeX
  • Tex
  • MathML

Upvotes: 1

Joshua Pinter
Joshua Pinter

Reputation: 47471

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

Upvotes: 3

George
George

Reputation: 212

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

Upvotes: 7

Dave Barton
Dave Barton

Reputation: 1449

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.

Upvotes: 1

Casey W. Stark
Casey W. Stark

Reputation: 757

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.

Upvotes: 5

jalopaba
jalopaba

Reputation: 8119

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.

Upvotes: 0

Andrew McGregor
Andrew McGregor

Reputation: 34592

What about jsMath, as used by MathOverflow?

Upvotes: 1

Graham Clark
Graham Clark

Reputation: 12966

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

Upvotes: 6

datageist
datageist

Reputation: 997

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

Upvotes: 1

mtrw
mtrw

Reputation: 35088

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

Upvotes: 1

Will
Will

Reputation: 75615

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/

Upvotes: 2

Oded
Oded

Reputation: 498904

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

Upvotes: 1

Related Questions