WP-KaTeX

The \KaTeX WordPress plugin integrates the super-fast \KaTeX math typesetting engine with your WordPress website. \text{WP-}\KaTeX allows you to put \LaTeX in a [latex]...[/latex] shortcode, and beautiful math appears on your post or page. The plugin also has an option to use the excellent jsDelivr CDN to load \KaTeX for even more speed.

Visit the WordPress Plugin Page, or check out the GitHub repo!

Demo

The meaning of life is \left(2^3\cdot\frac12+2\right)\cdot\sqrt{49}. Also, \pi is delicious. \KaTeX works great inline with text.

x=\frac{-b\pm\sqrt{b^2-4ac}}{2a} You can even make display style equations, centered on their own line.

f(x) = \int_{-\infty}^\infty \hat f(\xi)\,e^{2 \pi i \xi x} \,d\xi\KaTeX can even display big and complicated equations.

(Potentially) Frequently Asked Questions

Wait – I use MathJax and it’s fine!

\KaTeX is fast. It’s really fast, compared to MathJax. In fact, it’s a staggering 35 times faster than MathJax. Your page will load much faster with \KaTeX, especially if it’s heavy with equations.

How about Jetpack?

Jetpack has a \LaTeX plugin that uses the WordPress.com service to render the equations. However, it uses images, which look ugly when zoomed in, or on high-DPI (“retina”) displays. Also, it depends on WordPress.com’s servers, and a lot of equations can make the page slow (too many requests).

If you like this plugin, you can donate to contribute to the further development of this plugin.