This site is a showcase for using LatexRender for mathematics in WordPress

Using LaTeX in WordPress

CodeCogs Equation Editor

Monday 11th February 2008

Filed under: — Steve @ 11:35 am

LaTeX Equation Editor is an innovative editor with a symbol table for those who are not sure of the LaTeX code as well as allowing the code to be typed directly. It uses Ajax so that the page does not need to be refreshed to see the rendered image.

This equation editor can be used in a number of ways:

    1. Create the equation and then copy and paste the image into your website;
    2. Fetch the code directly from CodeCogs site and use in your website like this
    <img src="http://www.codecogs.com/eq.latex?\tiny \int_{-\infty }^{\infty }e^{-x^{2}}\;dx=\sqrt{\pi }" /> which gives

    3. Incorporate the visual editor into your text box (for example in a forum such as phpBB) or the FCK Editor;
    4. Install the complete system on your server.

Method 1 does not require any code, method 2 only requres a small amount of HTML and is particularly suitable for example for Blogger. Method 3 needs some PHP code on your site and method 4 requires LaTeX and other software to be installed on your server. Full instructions are provided at Installing the CodeCogs Equation Editor v2

Please note that if you use method 3 you should display the following banner on your page CodeCogs - An Open Source Numerical Library and if you use methods 2 or 3 then do please contact CodeCogs first at CodeCogs Services.
Do let CodeCogs know of any customisations or innovative uses that you make of their equation editor.


 

This site is a showcase for using LatexRender for mathematics in WordPress