YW-LATEX WP Plugin
Introduction
This plugin enables to put latex formula in wordpress post by using mathtex.cgi running top of latex with divpng.
In order to use this plugin, you don’t need to install prerequisite software like latex, dvipng, or mathtex.cgi. However, if you don’t install the softwares on your own local server, it will use shared host server for mathtex.cgi, which will give a little bit of low performance and a burden to the host server as well.
Using Shared Server
If you decide to use shared host server for mathtex.cgi, you can use following sites and put it in the plugin option menu.
- http://www.forkosh.dreamhost.com/mathtex.cgi (the default location)
- http://www.openmaths.org/cgi-bin/mathtex.cgi
- http://www.quantnet.com/cgi-bin/mathtex.cgi
Using Your own mathtex.cgi
If you want to have your own mathtex.cgi, you need
Anyhow, what it needs is mathtex.cgi for this plugin.
Installation
To do a new installation of the plugin, please follow these steps
- Download the zipped plugin file to your local machine.
- Unzip the file.
- Upload the ‘yw-latex’ folder to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Optionally, go to the Options page (YW Latex), and choose the location of mathtex.cgi
Screenshots
Type latex syntax

Show in the post

Option menu in the dashboard panel

Option to specify mathtex.cgi

Usage
While writing your post, embrace latex syntax by [ math ] and [ /math ]
This is inline [math](a+b)/(b^2-a^2)[/math] test.
Sorry, Kirkpatrick,
The comment in latex syntax is not supported yet. I may implement it later on. Thanks for the test.
Hi,
first I have to say, great plugin! But I have one little problem, if I use the “\Large” setting, it won’t be converted into a larger version, instead the Backslash is just ignored and the “Large” is part of the expression:
“Largea+b=b+a”
I use this statement in a wordpress page:
[math]\Large a+b=b+a[/math]
Do you know why this might happen?
Hi Chris,
Sorry for delayed answer. I am currently moving to new area, and internet environment for home is not setup yet, so I am still struggling of it. Once the internet is setup for home, I will look at it.
Thanks,
Regards,
Daniel
Thanks, look forward to the solution!
Hi Chris,
Sorry for long delayed answer. After moving to new house, I forgot this.
I have checked this one, but it seems that there is no problem of “[math]\Large a+b=b+a[/math]” with this plugin.
Probably, one of your plugins might remove the backslash sign.
To check it out, could you disable all plugins in your place and turn on only “YW-LATEX WP Plugin” to see if it shows correctly?
To narrow it down, you may turn on each plugins to see which one would cause the problem.
Hope this would help.
Thanks,
Daniel
As I mentioned that, it is not integrated with comment in wordpress. I will do it later version. Thank you,