Documentation page

20 Nov 2009

In the Matrix tab there are some icons to build matrices, vectors and tables; when you click on the icon, you are asked for the number of rows and columns you want your matrix to have. If you click on a matrix with the right mouse button, a menu appears giving you several options to handle rows and columns:

20 Nov 2009

What makes WIRIS editor a powerful tool is its ability to relate different expressions and symbols within a formula.

Let us start by seeing how to write «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msqrt»«mi»x«/mi»«/msqrt»«/math» ; there are two ways to do this:

  • Write first the square root symbol, and then the x inside it.
    Click on the icon in the General tab
    Type x
  • Type first x and then put the square root symbol around it:
    Type x
    Select x
    Click on the icon in the General tab

All symbols that involve only one expression work in the same way.

Let us see now how to use a symbol that involves two expressions, and let us write

 

«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mi»x«/mi»«mo»+«/mo»«mn»1«/mn»«/mrow»«mrow»«mi»x«/mi»«mo»-«/mo»«mn»1«/mn»«/mrow»«/mfrac»«/math»

As before, we have two ways to do this:

  • Draw first the fraction and then fill in numerator and denominator.
    Click on the icon in the General tab
    Type the numerator
    Click in the green denominator box
    Type the denominator
  • Write first the square root symbol, and then the x inside it.
    Type the numerator
    Select the text that will become the numerator
    Click on the icon in the General tab
    Click in the green denominator box
    Type the denominator

There are other symbols which involve up to five expressions, but they work in the same way than fractions. As an exercise, try to write the following formulae; all the icons you will need are in the General and Big Ops. tabs, except for the vector arrow, which is in the Script and accent tab:

There are three symbols you can accessed directly from the keyboard, by using shortcuts:

SymbolShortcutIcon
FractionCTRL + / (numeric keypad)
PowerCTRL + UP
SubscriptCTRL + DOWN
20 Nov 2009

The WIRIS editor window is split in two main areas: a tab menu which contains a big number of icons, and an edition area where you can see your current formula, the location of the cursor, and the text currently selected (if any). It also contains an Edit button to make sure you can always access to the cut, copy, paste, do and redo functions. When you are done, click on OK to save changes, or click on Cancel to exit without doing modifications.

Writing text is done just as in any other WYSIWIG editor: you can type keyboard characters, move the cursor with either arrow keys or the mouse, select a portion of contents, cut (CTRL-X), copy (CTRL-C), paste (CTRL-V), undo (CTRL-Z), redo (CTRL-Y), delete, and drag and drop in the same way you always do. Press Enter to add a new line.

In order to write a symbol, click on its icon and it will appear in the current location of the cursor. For instance, in order to write «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8704;«/mo»«mo»§#945;«/mo»«/math», click on the “Operators” tab, then on «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8704;«/mo»«/math», then on the “Greek” tab, and finally on the «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#945;«/mo»«/math» icon.

In order to change some text to bold face or italics, select it and click on the B and I icons.

19 Nov 2009

What is it?

WIRIS editor is a mathematical WYSIWYG editor. It is based on Java technology and the standard MathML, so it runs on any browser (Firefox, Explorer, Chrome...) and operating system (Windows, Linux, Mac...).

You can use the formula editor in different work scenarios:

  1. Final user
    Ask the web administrator to install WIRIS editor.
  2. Web administrator
    You can use WIRIS editor in your web platform within the HMTL editor you are currently using. Several WIRIS plugins are already developed, including a generic plugin for any HTML editor.
  3. Application developer
    You can integrate WIRIS editor in any web platform. Find the hints at Generic plugin. You may also be interested in installing all the components in your server, so that the images are generated on your side instead of on our servers.

Where?

WIRIS editor is integrated into several online platforms and HTML editors. Check the complete list of WIRIS plugins for a detailed list.

How?

Once installed, you will find a new icon in the HTML editor of your platform. This icon is the door to include a formula in your content. Since the formula shows in your browser as an image, you don't have to worry about your users’ browser or OS.

WIRIS editor is a Java Applet, technology widely supported throughout browsers and operating systems.

30 Oct 2009

DOWNLOAD

1 Requirements

  • Wordpress 3.0 or higher installed.
  • TinyMCE as text editor. Wordpress uses it as default.
  • A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.

2 Copy files

  1. Unzip WIRIS plugin for Wordpress and add tiny_mce_wiris.php inside /wp-content/plugins
  2. Unzip WIRIS Plugin for TinyMCE package and add tiny_mce_wiris directory inside /wp-includes/js/tinymce/plugins
  3. Activate Wordpress WIRIS Plugin in your Wordpress plugins administration.
  4. Give write permissions to /wp-includes/js/tinymce/plugins/tiny_mce_wiris/cache and /wp-includes/js/tinymce/plugins/tiny_mce_wiris/formulas directories to the web server user (it will be used to store formula MathML codes and temporal images).

3 Configure

Edit /wp-includes/js/tinymce/plugins/tiny_mce_wiris/configuration.ini to set your own values. This table specifies all possible parameters.

4 Clean and backup your WIRIS plugin for TinyMCE

Check this page.