KaTeX
The KaTeX WordPress plugin enables you to use the fastest TeX math typesetting engine on your WordPress website. You can include TeX inside a [katex]...[/katex] shortcode or in a Gutenberg block. Either way the math will render beautifully on your website. When using Gutenberg blocks, the equations
The KaTeX WordPress plugin enables you to use the fastest TeX math typesetting engine on your WordPress website. You can include TeX inside a [katex]...[/katex] shortcode or in a Gutenberg block. Either way the math will render beautifully on your website. When using Gutenberg blocks, the equations will render immediately inside your editor!
Equations in blocks or using the [katex display=true]...[/katex] shortcode will render on page in display mode–with bigger symbols–centered on their own line.
For compatibility with other LaTeX plugins, this plugin optionally supports [latex]...[/latex] shortcodes.
Plugin Website
Assets
This plugin includes minified assets provided by the KaTeX project. The source code is available in the KaTeX git repository on GitHub .
Screenshots & previews.
- 01Upload the katex folder to your /wp-content/plugins/ directory or automatically download and install the plugin through WordPress’s plugin manager;
- 02Activate the plugin in WordPress; and
- 03Use the [latex] shortcode or KaTeX Gutenberg blocks in your posts and pages.
Frequently asked questions.
Can I move from LaTeX plugin X to this plugin?
You should be able to replace any other LaTeX plugin using [latex] shortcodes without having to make changes to existing posts. Other plugins might handle display-mode latex other than [latex display=true]...[/latex] , in which case old posts unfortunately have to be changed.