Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Mathematics.


From MoodleDocs
Revision as of 02:29, 19 December 2013 by German Valero (talk | contribs) (added link to spanish translation of document)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Until there is time to integrate in to the rest of this page, the time has come to note that development of SEE (Super Equation Editor, a nickname for a set of plugins being developed by Mauno that now far outstrips the notion of a "plain old equation editor") that Colin has created a page to address those tools at Advanced_Maths_Tools (yes, Maths has an "s" which makes the page arguably undiscoverable by people in the US, but Americans don't speak English anyway.)

Why is this exciting? Because so many of the tools you (student, pupil, admin) need are handily packaged up in something that approaches a transparent and universal Mathematics interface. Yes, you can use the editor to create and modify constructions, yes you have graphing calculators, yes you have TeX and asciimathml and mathml and the list goes on and on and on. BUT, this is not yet a full production package and the docs are "alpha" - Please install and use and report.

Equation Construction and Display


There are a variety of tools that are available for the purpose of constructing equations, providing text expressions that can be converted to equations, and displaying equations.

The most common text expression syntax is LaTeX or a derivative with probably the most common form of display being a conversion of the equation to an image file. However, is demonstrated with ASCIIMathML simple text expressions can now be be converted to MathML on the fly.

Some tools for creating and displaying equations on-line that may be of interest to those teaching mathematics are:

  • Moodle offers in core a basic TeX filter and an Algebra filter. These are simple but not simplistic. An overview of using these tools can be found at the Using TeX Notation pages. Be aware that these packages are subsets of complete TeX packages and the conventions used are designed more for ease of use within Moodle rather than as complete TeX packages.
  • ASCIIMathML, which both converts equations into MathML on the fly and provides a text expression syntax more easily mastered than Tex, though the filter will convert TeX expressions as well. The ASCIIMathML 2.0.2 zip provides all the files necessary for setting ASCIIMathML up as a Moodle filter as well creating run-time graphs with ASCIIsvg. An on-line calculator is also included. Just recently an ASCIIMathML export format for DragMath was added to version 0.7.2, available here, so that you have access to both a GUI and text expression syntax for creating and displaying equations. Quick and GIFless. ASciencePad is also available and consists of htmlarea enhanced with the ASCIIMathML functionality.
  • Tim Hunt's Moodle MathTran Module converts Tex into images on the fly. You can also use mathtran_img.js on a page by page basis.
  • The jsMath filter, which does a similar job but using Javascript on the user's computer
  • MathJax, a next generation for jsMath from David Cervone et al that now includes MathML and web font features: [1] A discussion regarding deploying the beta release can be found here: [2]
  • Calculated question type
  • DragMath equation editor, a WYSIWYG equation editor that integrates easily with the Moodle HTML editor.
  • WIRIS, is a suite of math and science tools.
    • WYSIWYG equation editor with a Javascript interface. Based on MathML.
    • Advanced calculator. Integrals, derivatives, limits, ploting in 2D and 3D,...
    • New question types for math and science topics
  • MathType, a commercial product created by DSI (the folk who also offer MathPlayer, a plugin many IE users employ). Bob Mathews recently posted [3] that info on how to use MathType with Moodle can be found at Beginning with MathType 6.7, MathType includes a "translator" to convert a MathType equation into the LaTeX code required by the Moodle TeX filter.

Mathematics teachers may also be interested to follow the work of York University Maths department, who are working on some projects to augment Moodle, particularly its Quiz module for online assessment, for example by integrating a system which is able to mark algebraic and trigonometric answers to open-ended questions.

Accessibility Display Matrix

Note: This section is a work in progress. Please use the page comments for any recommendations/suggestions for improvement. (August 2008)

■ Feature Key appears below the matrix.

Notation Tex/LaTex ASCIIMath MathML WIRIS
Ease of Use Plain text system. Knowledge of LaTeX notation required. Being a plain text system, LaTeX notation is straightforward to create and edit. Plain text system. Easy to learn. Notation simple. Being a plain text system, ASCIIMath is very easy to create and edit. XML-based. Not easy to create and edit: an editor is required. Visual interface for MathML.
Toolbar navigation is accessible.
LateX plain text notation is also available.
Conversion to Braille Output directly to Braille display via screen reader (fn 2) ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details. Converted to suitable textual format and Brailled using screen reader (fn 3) Image alternative text outputs directly to Braille display via screen reader (fn4)
Transmission via TTS Notation spoken "as-is" via screen reader (fn 2) ASCIIMath notation is converted to MathML or LaTeX. Please refer to those formats for details. Converted to suitable textual format and spoken using screen reader. Note that MathPlayer add-on for IE has TTS functionality built-in (fn 3). Image alternative text spoken via screen reader (fn 4)

fn1. MathPlayer claims to do math-to-speech by parsing the MathML, not by parsing TeX. See where it is stated:

All of these examples were written in Microsoft Word and MathType and exported to MathML using MathType’s “MathPage” technology. MathPage technology was added to MathType in version 5.0. No special work is needed to author the expressions to make them accessible. Any product that exports MathML will produce pages that MathPlayer can speak.

For a larger real life example, see this page. Also, MSN Encarta uses MathML on many of their web pages that contain math, so much of their Math should be accessible using MathPlayer.

fn2. The alt attribute of the rendered graphic is spoken and/or Braillled. As LaTeX is a plain text notation, the notation can be spoken and Brailled by the screen reader directly. This does, of course, assume an understanding of LaTeX notation on the part of the screen reader user.

fn3. In the case of Internet Explorer, screen readers require the MathPlayer plugin to be installed before MathML is rendered (IE does not include native MathML support). By using MSAA, the screen reader can obtain a textual version of the math notation from MathPlayer, which it can then TTS and Braille. Note that MathPlayer also contains built-in TTS functionality (employing MS SAPI) which can be used to speak the math notation without having to employ a screen reader. See [4] for further details. At time of writing, screen reader support for Firefox is via MSAA and a special custom, Firefox-specific IAccessible2 interface (to reveal text attributes and character positions). Math notation is spoken via a screen reader which interrogates these interfaces.

fn4. The alt attribute of the rendered image is filled with a textual version of the math notation. Screen readers can read the alternative text without additional plugins.

Using Java for Curriculum

Java Tools for Building Applets for Interactive Demonstration

These tools can be integrated in or used with Moodle Resources

Java Sketchpad, is an applet developed by Key Curriculum Press. The applet has been the focus of quite a bit of discussion and demonstrations and discussions are widely available. An introductory article from the Journal of Online Mathematics can be found here: Usage focuses largely on Geometry

CabriJava, an applet offered by the University of Cabri, also focuses on interactive geometry. Quite a number of examples employing CabriJava can be found here:

Descartes, is an applet developed under the auspices of the Spanish Ministerio de Educacion Politica Social y Diporte. An English introduction can be found here at The Ministery has produced an extensive Mathematics curriculum using Descartes, which is available in English and can be freely downloaded and used. Much of what is available is still only in Spanish so anyone interested in doing translation work please post to the Moodle Math Tools forum.

Sympl, an open source Java application/applet for creating interactive graphs.

Additional Curricular Use of Applets

Applet Tools

Java Applet Collections

Mathematics Assessment

Assessment is a key driver for mathematics. There are a number of ways of getting students to answer mathematical questions through Moodle.

See also

Using Moodle forum discussions: