RapidQandA

Logo

RapidQandA — the fastest way to create your quizzes and lessons from plain old text.

🧮 Using MathsML

MathML is a complex markup language. It’s verbose and best created using an authoring tool. If that sounds a bit daunting, RapidQandA also has support for AsciiMath, which allows you to type mathematical expressions just using standard text characters. Its quick and simple and a lot less verbose than MathML. If that sounds like it’s the thing for you, check out Using AsciiMath first.

Although creating MathML may be complicated, using it is simple — just paste it into your lesson. Creating the MathML is a slightly different question though. Creating maths using MathML creates quite verbose lessons, and although you can write it by hand, using an equation writer will make it much easier. Here are two possible options:

Using LibreOffice

  1. To create the necessary MathML in LibreOffice, you will first need to install the application.
  2. Then launch LibreOffice Math.
  3. Use the equation editor to create the maths formula.
  4. Select File | Save As, and when the Save As dialog appears, set the Save As Type field to MathML 2.0 (*.mml), and save the file.
  5. Open the resulting file in a simple text editor such as Notepad on Windows or TextEdit on a Mac.
  6. Copy all the text starting from <math… and ending </math> — basically everything except the line <?xml version="1.0" encoding="UTF-8"?>.
  7. Paste it into your lesson.
  8. Enjoy the results.