Do you want to write math equations in WordPress?
您是否要在WordPress中编写数学方程式?
Writing math equations in WordPress is a bit difficult as the default WordPress editor does not come with full support for mathematical equations.
在WordPress中编写数学方程式有点困难,因为默认的WordPress编辑器并未完全支持数学方程式。
In this article, we will show you how to easily write math equations in WordPress using 3 different methods.
在本文中,我们将向您展示如何使用3种不同的方法在WordPress中轻松编写数学方程式。

为什么用WordPress编写数学方程式比较困难? (Why Writing Math Equations in WordPress is Difficult?)
The way WordPress works is that it dynamically generates your website content and sends HTML output back to the users’ browsers to display it.
WordPress的工作方式是动态生成您的网站内容,并将HTML输出发送回用户的浏览器以显示它。
Writing mathematical and scientific equations in WordPress is difficult due to the lack of support for the characters in HTML.
由于缺乏对HTML字符的支持,因此用WordPress编写数学和科学方程很困难。
Currently, MathML and LaTeX are considered to be the standard for writing mathematical and scientific equations on the web.
当前,MathML和LaTeX被认为是在网络上编写数学和科学方程的标准。
Unfortunately, they are both less than ideal for beginners. They both require you to learn their own syntax which could get complicated for longer and more complex equations.
不幸的是,它们都不适合初学者。 它们都需要您学习自己的语法,对于更长或更复杂的方程式,它们可能会变得复杂。
That being said, let’s take a look at how to write math equations in your WordPress blog.
话虽如此,让我们看看如何在WordPress博客中编写数学方程式。
We’ll start off with an easy solution first before showing how to use MathML or LaTeX in WordPress.
在展示如何在WordPress中使用MathML或LaTeX之前,我们将首先从一个简单的解决方案开始。
方法1.使用Unicode字符在WordPress中编写数学方程式 (Method 1. Writing Math Equations in WordPress using Unicode Characters)
This method is simpler and is recommended for users who don’t need to write math equations frequently. For this method, we’ll be using Unicode characters and inserting them directly in the post editor.
此方法更简单,建议不需要频繁编写数学方程式的用户使用。 对于这种方法,我们将使用Unicode字符并将其直接插入到帖子编辑器中 。
Unicode is the encoding standard with the aim to provide character encoding support for all languages. It is supported by all