The Simplest Way to Put Math on the Web

This describes the easiest and most direct way to put math on the Web accessibly. There are many advanced options for putting math online, however you must know all of the following information.

  1. The language you will write the math in (TeX, LaTeX, MathML, or something else)
  2. The type of HTML document you will be creating (HTML 4, XHTML, or HTML5)
  3. The correct doctype declaration to use

This tutorial will show you the simplest way to put math online, even if you do now know all of the above information.

How to Add the Math Equation to Your Page

  1. Create the equation in MathType
  2. Set your cut and copy preferences in MathType
    1. Go to the “Preferences” menu and select “Cut and Copy Preferences…”
    2. Select the “MathML or TeX” option
    3. Choose either “LaTeX 2.09 and later” or “Plain TeX”. It doesn’t matter which you choose.
    4. Uncheck “Include MathType data in translation
  3. Copy the equation from MathType
  4. Paste the equation into your HTML editor
  5. Include the following code in the <head> section of your page.
    1. <script type=”text/javascript” src=”http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML”></script>

Video Tutorial

Additional Resources

Examples