Title: Simple Mathjax
Author: Samuel Coskey
Published: <strong>2011 年 9 月 20 日</strong>
Last modified: 2025 年 9 月 10 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/simple-mathjax.svg)

# Simple Mathjax

 作者：[Samuel Coskey](https://profiles.wordpress.org/sgcoskey/)

[下载](https://downloads.wordpress.org/plugin/simple-mathjax.2.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-mathjax/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-mathjax/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-mathjax/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-mathjax/#developers)

 [支持](https://wordpress.org/support/plugin/simple-mathjax/)

## 描述

This wordpress plugin is yet another simple plugin to load the [MathJax](http://www.mathjax.org)
scripts at the bottom of all of your pages. It uses a very all-inclusive mathjax
configuration by default, with $’s and $$’s the default delimeters for in-line and
displayed equations.

A preference pane is added to the “Settings” group where you can choose whether 
to use MathJax version 2 or 3, change the MathJax server location (CDN) and the 
MathJax configuration settings. (See [the mathjax documentation](https://docs.mathjax.org/en/latest/web/start.html#configuring-mathjax)
for details on the options available.)
 You can also specify a LaTeX “preamble” 
of newcommands which will be loaded in a hidden element near the top of each page.

Fork this plugin on [GitHub](https://github.com/boolesrings/Simple-Mathjax-wordpress-plugin).

## 安装

Nothing unusual here!

## 评价

![](https://secure.gravatar.com/avatar/67d845721a80c9c4969b5d0e6a1d6768e0b838ee97ad043fb6555fd1c9008c77?
s=60&d=retro&r=g)

### 󠀁[My preferred MathJax plugin out of the 3 I’ve tried](https://wordpress.org/support/topic/my-preferred-mathjax-plugin-out-of-the-3-ive-tried/)󠁿

 [tinacious](https://profiles.wordpress.org/tinacious/) 2026 年 5 月 15 日

I will preface this review with the statement that I am not a math expert and that
I do not personally write LaTeX, though I do understand some basics about the syntax,
so take this review with a grain of salt. This is my preferred MathJax plugin. I’ve
tried 2 other plugins that can render LaTeX (1 KaTeX, 1 MathJax) and here are some
reasons I prefer this one: Custom config: I’m able to provide custom configuration
of the window.MathJax object which is very helpful, allowing me to configure custom
macros, which I needed to do in order to support dark mode for some of the colourized
syntax my client uses. Custom CDN: I’m able to configure the CDN that the plugin
pulls from. I experienced a performance issue on one of my client’s pages. Unfortunately
this plugin caused the tab to crash on one of my client’s pages (a page with a lot
of LaTeX). I was able to debug the issue and see that it was coming from font loading.
I don’t know enough about MathJax and LaTeX to understand why the font loading was
triggered on this one specific page and not others, but I did see it was related
to the font loading. Choosing a Cloudflare URL without fonts instead of the default
jsDelivr one with fonts was the workaround I used. I’d provide the specific CDN 
URLs here but the review guidelines say no URLs allowed. Non-developers would likely
have trouble debugging this issue, so it might be helpful if the developer chooses
to use a version without fonts by default, or surface the performance risks in the
configuration. I’m also not sure what will break by omitting the fonts but LaTeX
content seem to be working fine for the time being after providing a custom CDN 
URL. Supported everywhere: This plugin supports native MathJax syntax anywhere on
the site, not just in post and page bodies, and doesn’t require the use of shortcodes.
My client uses MathJax in menu links and in page titles so it’s super helpful that
this plugin isn’t restricted to post and page content. Out of the 3 MathJax and 
LaTeX plugins I tried, this one seems to be my preferred version for the time being.

![](https://secure.gravatar.com/avatar/80a79c36e9f2c97d8460a779beb8ebf9442d9ac1fc3f607760c63819f106879c?
s=60&d=retro&r=g)

### 󠀁[Incompatible with WP version 6.7](https://wordpress.org/support/topic/incompatible-with-wp-version-6-7/)󠁿

 [wengs](https://profiles.wordpress.org/wengs/) 2024 年 11 月 13 日

The plugin is great, but it’s not compatible with WP6.7, I used math symbols in 
$xxx$ format in the text, and it still shows $xxx$, no change, it only shows the
formula correctly when I use math symbols in $$xxx$$! Still need to wait for the
update

![](https://secure.gravatar.com/avatar/30fc91004637c9c0761bfc6219cf97e40bedae4fac177998d4f5b430f561a7c5?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-6210/)󠁿

 [sebasmurgue](https://profiles.wordpress.org/sebasmurgue/) 2020 年 8 月 20 日

This plugin has been very useful for our website. It simply works, and it works 
well. We have been able to add some customization (for example to number the equations)
without problem. I highly recommended it if you want to have MathJax in your wordpress
site!

![](https://secure.gravatar.com/avatar/cf65989ca2f27b1f67a5036ca3b2fd134a958d00f208b92f67362dc024dc3f13?
s=60&d=retro&r=g)

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-585/)󠁿

 [edwardw](https://profiles.wordpress.org/edwardw/) 2020 年 7 月 6 日

Works as expected on 5.4.2!

![](https://secure.gravatar.com/avatar/6b73a85a58fe419734d2e659a331f3b8fe76f7fb9c89ad8a1904cf81a00cf306?
s=60&d=retro&r=g)

### 󠀁[Great! Can use on specific pages](https://wordpress.org/support/topic/great-can-use-on-specific-pages/)󠁿

 [hrd123](https://profiles.wordpress.org/hrd123/) 2020 年 6 月 19 日 1 回复

Really like this plugin. It’s quick and very easy to use; the best Latex plugin 
I’ve tried. I initially had a problem where I only wanted to load the Mathjax on
certain pages, and I found the solution was to install a separate plugin which lets
you toggle all of your other plugins on and off on each page/post. ‘Plugin Load 
Filter’ worked for me, but it might not be useful to everyone though.

![](https://secure.gravatar.com/avatar/fa1d3907b6b9bb7c0cf7e424c3fbda8f499726792fd07f4602a6c7c482e12c69?
s=60&d=retro&r=g)

### 󠀁[Top plugin, everything as described!](https://wordpress.org/support/topic/top-plugin-everything-as-described/)󠁿

 [ars111](https://profiles.wordpress.org/ars111/) 2020 年 5 月 24 日

I would say that this is the best plugin that renders MathJax! I would recommend
it to anyone who needs to use LateX on their website.

 [ 阅读所有14条评价 ](https://wordpress.org/support/plugin/simple-mathjax/reviews/)

## 贡献者及开发者

「Simple Mathjax」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Samuel Coskey ](https://profiles.wordpress.org/sgcoskey/)
 *   [ pkra ](https://profiles.wordpress.org/pkra/)
 *   [ christianperfect ](https://profiles.wordpress.org/christianperfect/)

[帮助将「Simple Mathjax」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-mathjax)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-mathjax/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/simple-mathjax/)，或通过[RSS](https://plugins.trac.wordpress.org/log/simple-mathjax/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-mathjax/)。

## 更新日志

#### 2.1.1

The custom config no longer has the HTML escaping filter applied.

#### 2.1.0

Added support for MathJax 4.

#### 2.0.1

Bumped the default CDN URL for MathJax 2 to use 2.7.8.

#### 2.0

MathJax 3 support, and the default config makes MathJax ignore the new block editor.

#### 1.1

update latest mathjax version, load mathjax in footer instead of header

#### 1.0

send default url to new cdn

#### 0.5

minor code cleanup, allow mathjax in admin screens

#### 0.4

use safe mode (prevents evil scripts) by default

#### 0.3

use wp_enqueue_script to allow others to use mathjax as a dependency (christianp).
removed disqus compatibility due to reports of it no longer working.

#### 0.2

added disqus compatibility. enclosed the preamble in a hidden span to
 cover a small
space created by mathjax v.2

#### 0.1

improved loading of the LaTeX preamble so that it appears just
 below the body tag,
rather than in the header

#### 0.0

initial release

## 额外信息

 *  版本 **2.1.1**
 *  最后更新：**9 月前**
 *  活跃安装数量 **4,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-mathjax/)
 * 标签
 * [latex](https://cn.wordpress.org/plugins/tags/latex/)[MathJaX](https://cn.wordpress.org/plugins/tags/mathjax/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-mathjax/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  11 条 5 星评价     ](https://wordpress.org/support/plugin/simple-mathjax/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/simple-mathjax/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/simple-mathjax/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/simple-mathjax/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/simple-mathjax/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-mathjax/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-mathjax/reviews/)

## 贡献者

 *   [ Samuel Coskey ](https://profiles.wordpress.org/sgcoskey/)
 *   [ pkra ](https://profiles.wordpress.org/pkra/)
 *   [ christianperfect ](https://profiles.wordpress.org/christianperfect/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-mathjax/)