How to show equations with Latex in wordpress?

The KaTeX WordPress plugin integrates the super-fast KaTeX math typesetting engine with your WordPress website. The plugin allows you to put LaTeX in a ... shortcode, and beautiful math appears on your post or page. like :

\R=-k_1 t^{0.5}-k_2 t^{1.0}-k_3 t^{1.0}+k_4 t^y+k_n t^z

[latex]
\R=-k_1 t^{0.5}-k_2 t^{1.0}-k_3 t^{1.0}+k_4 t^y+k_n t^z
[/latex]

The plugin also has an option to use the excellent jsDelivr CDN to load the KaTeX scripts, further increasing the performance of the plugin.

Equations in ... will be rendered in display mode (rather than inline mode) and centered on its own line.

You can see list of supported functions by https://katex.org/docs/supported.html .

Share this Post