DanielScully.co.uk

Web Design

A Beginner's Guide to MathML

Introduction

Here is a little tutorial on MathML which I wrote while learning it for myself.

The first thing to know about MathML is that it is divided into two parts:

Since my primary motivation for learning MathML was the inclusion of equations on my website, this tutorial deals exclusively with presenational mark-up (leaving content mark-up either to other websites or, if I become inclined to learn, a future article).

The article assumes familiarity with XML. It is also a beginner's guide and therefore not exhaustive.

Contents

  1. Getting Started
  2. Token Elements
  3. Grouping & Styling
  4. Brackets
  5. Fractions
  6. Roots
  7. Sub/Super-scripts
  8. Tensors & Pre-scripts
  9. Vectors & Matrices
  10. Useful Entities
  11. Using MathML

Change log

  1. [19/09/2010] - Added MathML browser test in resources section
  2. [22/07/2010] - Replaced live MathML examples with generated GIFs until browser support increases
  3. [21/07/2020] - Replaced old example boxes with new syntax-highlighted ones