该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Insert math

描述

Add math support for your site. Insert block/inline formulas in your text with useful and fancy modal. Watch and monitor rendered math in process of typing formula. Change formula color.

Features

  • Math support on both frontend and admin panel
  • Useful and fancy modal for inserting and editing math in posts
  • Insert both block and inline math
  • Changing formula color
  • Set ID and classes for formula
  • Automatic highlighting math in visual editor
  • Adding x-scrollbar to block math if browser viewport is smaller then formula

屏幕截图

  • Inserting and editing formulas with handy dialog. Monitor the results in process of typing formula.
  • All formulas will have default site text color.
  • Insert formulas in block/inline format. Choose the color for any formula.

安装

Best is to install directly from WordPress.

Manual installation is simple if required. Only 2 steps:

  1. Upload the entire ‘insert-math’ folder from downloaded archive to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s it! You now can use math on your site!

常见问题

Installation Instructions

Best is to install directly from WordPress.

Manual installation is simple if required. Only 2 steps:

  1. Upload the entire ‘insert-math’ folder from downloaded archive to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

That’s it! You now can use math on your site!

Why do I see LaTeX math in first second when page is loading?

You see LaTeX math in first second because math renderer is loading. When it fully loads all LaTeX math on the page will be automatically converted to normal math.

Which library do you use to add math support?

Plugin is using MathJax library. It was created long ago (in 2009) and it has support for most of the browsers. All redundant extensions are removed in order to speed up loading.

How to set a color for a part of formula?

You can set a color for a part of formula by wrapping this part with \color{color}{text} LaTeX command. Everything inside {text} will have a color specified in {color}. Example: \color{red}{a^2}=\color{blue}{b^2}+\color{green}{c^2}.

I have a problem/idea. Who should I talk with?

Open an issue at plugin GitHub repository.

评价

2021年1月9日
even though it has not received updates for a while, the plugin works very well on most current installations. If you use the classic editor and not the new block editor, of course. Insert Math is a splendid way to insert TeX-like math symbols and formulae, which makes it very handy for scientific blogs.
阅读所有1条评价

贡献者及开发者

“Insert math” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Insert math”插件已被翻译至1种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Insert math”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0

  • Selected in visual editor formula automatically change its highlighting color
  • Added an ability to set formula color
  • Added an ability to set an ID for formula
  • Added an ability to set classes for formula

1.0

First version