MathType for Moodle

These apps are part of the set WIRIS math & science.
Type and handwrite mathematical notation in Moodle with MathType. The popular equation editor for MS Word is now seamlessly integrated into Moodle.
MathType is provided as a subscription that allows you to enjoy the same quality solution in your LMS and word processors. Free usage is available under specific circumstances. Please read the subscription conditions and prices at MathType store.
ChemType is a flavor of MathType designed to help you work with chemical notation. A personalized toolbar with the common chemical symbols but also a different user experience adapted to chemical notation needs. Look for the ChemType icon.

To install MathType plugin for Moodle 2 & Moodle 3, you should install two components:

  • The MathType filter. It is a compulsory component.
  • Depending on your Moodle version and configuration you may also install:
    • MathType plugin for ATTO
    • MathType plugin for TinyMCE

Download

MathType filter view in Moodle page Download
MathType for Atto view in Moodle page Download
MathType for TinyMCE view in Moodle page Download

Requirements

  • Moodle 2.x or higher
  • mbstring extension must be installed and enabled in the server.
  • There must be no errors in http://your_moodle_url/admin/environment.php.

Install MathType filter

MathType filter for Moodle is a Moodle filter. To install the filter, it suffices to copy the content of the package into the folder filter under the root of Moodle.

Install MathType plugin

Install MathType plugin for Atto

To install it just copy the wiris directory into lib\editor\atto\plugins under the root of Moodle.

Install MathType plugin for TinyMCE

For Moodle 2.4 and higher

Starting from Moodle 2.4, MathType plugin for TinyMCE is a standard Moodle plugin. To install it just copy the tiny_mce_wiris directory into lib\editor\tinymce\plugins under the root of Moodle.

For Moodle 2.2 and 2.3

  • Copy the files in TinyMCE plugins folder
  • You need to install a pre-configured version of the MathType plugin for TinyMCE that can be found here. Unzip the above file and copy the tiny_mce_wiris directory into lib\editor\tinymce\tiny_mce\<tiny_mce-version>\plugins under the root of Moodle.

Activate MathType icons in the TinyMCE editor

Edit the file lib\editor\tinymce\lib.php and before the line (which is by the end of the file) return $params; insert the following code:

$params['plugins'] .= ",tiny_mce_wiris";
$params['theme_advanced_buttons3'] = "tiny_mce_wiris_formulaEditor,tiny_mce_wiris_CAS,|," . $params['theme_advanced_buttons3']; 

Enable the filter

To enable the MathType plugin for Moodle, log in as administrator and go to Settings>Site administration>Plugins>Filters>Manage filters. You will see the MathType filter, and you will be able to enable it.

To avoid problems, MathType filter must be the first in the list. For sure it must be placed before Convert URLs into links and images.

Enable Chemistry editor

Log in as administrator and go to Settings>Site administration>Plugins>Filters>Math & Science by WIRIS. Mark the checkbox Chemistry editor if it is not checked by default.

Testing

The best way to check all is OK is just to create a formula, save, and display it. Additionally, there is an info page at http://your_moodle_url/filter/wiris/info.php.

First, you need to start uninstalling all components that depend on the filter.

Uninstall MathType for Tiny or Atto

Go to editor settings (Atto, TinyMCE or both) and uninstall MathType plugin.

Uninstall MathType filter

Once you have uninstalled all the components depending on the filter, you can uninstall MathType filter. MathType filter can be uninstalled from general filter settings.

To view and manage the general settings log in as administrator and go to Settings>Site administration>Plugins>Filters>Math & Science by WIRIS.