How To Embed Inline Mathematical Formula In WordPress
GOAL
Today’s goal is to summarize how to embed inline formula such as \( f(x)=\sqrt{x^2}\) using plugin “MathJax-LaTeX” in WordPress.
If you haven’t installed “MathJax-LaTeX” yet, add the plug-in and activate it. Check the related article “How To Post Formula on Your WordPress Website”.
Environment
- WordPress 5.8.2
- MathJax-LaTeX 1.3.11
mathjax
Method
Inline formula
Put formula [latex] f(x)=\sqrt{x^2} [/latex] as a test.
Put formula \( f(x)=\sqrt{x^2} \) as a test.
Put formula \( f(x)=\sqrt{x^2} \) as a test.
Put formula \( f(x)=\sqrt{x^2} \) as a test.
Block formula
Put formula $$ f(x)=\sqrt{x^2} $$ as a test.
Put formula $$ f(x)=\sqrt{x^2} $$ as a test.
Put formula \[ f(x)=\sqrt{x^2} \] as a test.
Put formula \[ f(x)=\sqrt{x^2} \] as a test.