WP-Math-2 can help you insert math formula into WordPress posts or comments. You can use $$...$$
(block, only one math expression per line) and $...$
(inline, around the text) to insert math. This plugin will render them to HTML or MathML code snippets(Depends on your browser. If your browser supports MathML, it will use MathML, otherwise, use HTML and CSS instead). This work is done by javascript. So your browser must enable JavaScript.
But in most of RSS readers, any JavaScript snippets cannot execute. So I made a trick. WP-Math-2 will convert LaTeX text to images. So users can see math contents with their favorite RSS reader software.
- Upload
wp-math-2.tar.gz
to the wp-content/plugins
directory
- Active the plugin in WordPress 'Plugins' menu
Also, you may want to change the height of inline math formula. Open wp-math-2.php and find
define('MATH_IMG_INLINE_HEIGHT', '20');
The default height is '20' pixels. You can change it into a proper value.