Website Content

Creating Mathematics Using LaTeX

In order to create Math Content using LaTeX, install any of the software or any LaTeX Editor and then follow the steps below :

LaTeX Creation Software
LaTeX Creation Software Support Documentation
MathType MathType Tips and Tricks
MathEQ Expression Editor MathEQ Expression Editor Online Documentation
MathMagic Personal Edition MathMagic Online User Guide
Scientific NoteBook Scientific Notebook Online Knowlegde Base
Code Cogs Online LaTeX Editor Code Cogs Online LaTeX Editor Help
  1. Using any of the softwares create your Math equation in the software's interface.

  2. MathType

    • The equations can be created in the Stand Alone Editor and using the Save As/Cut Copy Preferences option they can be exported into LaTeX code.
    • Alternatively, equations can be created in Microsoft Word/Powerpoint using the MathType Option in the Microsoft Ribbon.
      • In MS Word: Use the Convert to MathML option within the Microsoft Ribbon to generate the LaTeX code.
      • In MS Word/Powerpoint: Use the Publish to Math Page option to convert the whole document into LaTeX code and directly view on an Internet Browser (Note: Page Formatting may not be saved through this option).

    MathEQ Expression Editor

    • Create the Equations in the MathEQ Expression Editor.
    • Select the Entire Equation using the Mouse or use the Shortkey Ctrl-A within the editor.

      Selecting the Entire Equation

    • Go to Edit Menu --> Copy As Type --> TeX to export the equation into LaTeX code

      Copy equation in MathEQ as TeX format
      This copies the equation (selection) to the Clipboard.

    MathMagic Personal Edition

    • Open the Math Magic Personal Edition
    • Create the equations in the Stand Alone Editor
    • After creating your equation go to the File --> Save As option.

      Create Equations in Math Magic

      Save the Equation in MathMagic in LaTeX format

    • Choose Save As Type - LaTeX file (*.tex,*.latex,*.txt) and export your Math content into LaTeX code.

      Save as LaTeX file to convert to LaTeX

    • Open the created file in a text editor like Wordpad and copy the contents of the LaTeX code.

      Select and Copy generated LaTeX Code from a Text Editor


    Scientific Notebook

    • The equations can be created in the Stand Alone Editor.
    • Go to Tools --> Export Settings

      Create equations in the editor

    • In Export Settings Window, set the option to Convert to .tex format.

      Change Export Settings to convert to .tex format in Scientific Notebook Export Settings Window

    • Go to File --> Export Document and Save it in LaTeX format.

    Code Cogs Online Latex Editor

    • Create the Equations in the Code Cogs Online LaTeX Editor.
    • The standard form of the equation is generated below the online editor.
    • Copy the LaTeX markup for the equation that is generated at the bottom of the page.

      Creating equations and converting them to LaTeX format


  3. Create a folder MathJax on the server hosting your website.
  4. Install the MathJax Package in that folder.
  5. Add the following code in the head section of your webpage.
    <script type="text/javascript" src="MathJax/MathJax.js">
    MathJax.Hub.Config({      
    config: ["MMLorHTML.js"],      
    extensions: ["tex2jax.js"],      
    jax: ["input/TeX"],      
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]}    
    });  
    </script>
  6. In your webpage's HTML code, paste the LaTeX code generated for your equation between two $ operators.
    Example:
    Volume of a Cone : $V = \frac{1}{3}{\pi}{r^2}{h}$

An example of math content written in LaTeX and displayed with the MathJax plugin

Note: MathJax in conjuntion with MathPlayer in Internet Explorer allows the user to enlarge and hear the math content.