Skip to content

[WordPress] Use Latex Syntax to Display Mathematical Formulas

Last Updated on 2021-10-19 by Clay

Method 1: Use customize HTML block to show LaTex formula

LaTeX is a suitable for expressing calculations format. The WordPress website can support LaTex calculations and does not require additional plugins. (But maybe you need to enable the setting in Jetpack)

The usage method is also very simple, write the following format in the custom HTML block:

$latex YOUR_LATEX_CODE$



Method 2: Use LaTex result image

But if the built-in LaTex support does not work, what should we do?

In addition to install a plugin, you may consider using an online tool: Online LaTeX Equation Editor - create, integrate ... - CodeCogs:

First enter the formula you want to display, and adjust the output to a picture in PNG format, and then save the formula picture.

After that, paste it in the WordPress content editor, as follow:

In the case of pictures, there is no reason why WordPress does not support it.


References


Read More

Tags:

Leave a ReplyCancel reply

Exit mobile version