# Documentation

## UNINSTALL INSTRUCTIONS: WIRIS PLUGIN FOR MOODLE 2.X

## 1.- Enable Uninstall mode

Go to WIRIS filter - Maths settings and enable uninstall mode.

## 2.- Uninstall WIRIS filter

Once uninstall mode has been enabled, WIRIS filter can be uninstalled from general filter settings.

## WIRIS EDITOR for Java/Swing

**WIRIS EDITOR for Java Swing** is the specialized compilation of WIRIS EDITOR that targets Java Swing. With this Java component you can add to your appliation a full fledged formula (equation) editor for maths, physics and (inorganic) chemistry that works with the MathML standard. The usage is very similar to the JavaScript version.

## Arabic numbers and math notation by countries

Math notation in Arabic language changes from country to country.

The technical administrator of WIRIS editor can determine a personalized behaviour for your installation. You can configure the default arabic numbers that will be used and wheter to mirror math formulas or not.

The configuration for Arabic language, code ar, is to use **mirrored formulas** and **arabic numbers** (1234..)

## APIs

WIRIS EDITOR provides the following services:

- Generate images of formulas with the following formats: PNG, SVG, PDF, EPS, SWF
- Convert MathML from/to LaTeX.
- Generate textual representation of a formula. Accessibility.
- Convert presentation MathML from/to content MathML
- Provide a simple formula calculator. Works with floating point numbers.

Not to be confused with WIRIS CALC.

There are mainly two interfaces to the services:

## WIRIS EDITOR - reference

This is the class reference of the WIRIS EDITOR GUI. It complements the information that can be found in Embed WIRIS EDITOR. These classes and methods are JavaScript although the documentation itself is a Javadoc. To ensure always backward compatibility, we recomend using this API only when you host WIRIS EDITOR in your own server.

[see reference]This is the class reference of the WIRIS EDITOR services and complements the information that can be found in WIRIS EDITOR services. These classes are available both for Java and .NET although the documentation itself is a Javadoc. To use these classes you will need the WIRIS EDITOR base - server components.

[see reference]List of LaTeX commands currently supported by WIRIS EDITOR, with examples.

[see reference]This is a list of the MathML currently supported by WIRIS EDITOR.

[see reference]This is a gallery of formulas created with WIRIS EDITOR. You can also check the quality of the images of the formulas.

[see reference]This is an exhaustive gallery of the current formulas that WIRIS EDITOR is able to recognize.

[see reference]This is a list of all icons of the toolbar that can be used as a way to discover what id's write in a custom toolbar. See Custom toolbar page.

[see reference]## Appendix: List of icons - Release 3.4

The following images show all the icons available in the toolbar tabs.

## Embed WIRIS editor in a Web page

This document explains how to embed the WIRIS EDITOR in a Web page. The scenario when the editor is used together with an HTML rich editor is covered by the WIRIS plugins.

The embedding is compound by two steps. The first one is displaying the editor itself and the second one is calling the editor API to set and retrieve the MathML.

## LaTeX support

If you already have LaTeX code bits inside your texts, the WIRIS plugin will show you the actual formulas, and the WIRIS editor will allow you to edit them in WYSIWYG mode.

For exemple, imagine in your platform there is a text like:

The history of $$\sqrt(2)$$.

After installing the WIRIS plugin, students will see:

## Appendix: List of icons - Release 3.0

The following images show all the icons available in the toolbar tabs.

## Scaling symbols and parenthesis

Mathematical operations can be nested, and so symbols can contain expressions with symbols. Many symbols expand to match the size of their contents; note, for instance, the variable size of the square root symbol: