What is the best way to embed LaTeX in a webpage?

Phenwoods picture Phenwoods · Sep 22, 2008 · Viewed 44.9k times · Source

I'm not asking about converting a LaTeX document to html.

What I'd like to be able to do is have some way to use LaTeX math commands in an html document, and have it appear correctly in a browser. This could be done server or client side.

Answer

user1433688 picture user1433688 · Jun 3, 2012

I prefer MathJax over solutions that choose to render images (which causes aliasing problems).

MathJax is an open source Javascript rendering engine for mathematics. It uses CSS and Webfonts instead of images or flash and can render LaTeX or MathML. That way you don't have problems with zoom and it's even screenreader compatible.