Documentation page

20 Nov 2009

The behavior of the arrow keys is the usual one as long as we are working within pieces of text, but it is modified near symbols. Let us see an example of cursor movement in a fraction.

Initial state; cursor in the denominator
Pressing the left arrow key behaves as usual, since we move within the denominator, which is made up by text
However, pressing again the left arrow key moves the cursor to the numerator, as if instead of a fraction we had two lines of text
Pressing the down arrow key moves the cursor to the denominator
Pressing the right arrow key moves the cursor after the fraction; note the change of size of the cursor, indicating that it is affecting the whole fraction
Pressing the delete key selects the whole fraction, instead of deleting one character; if we pressed delete again, the whole fraction would be deleted.

This behavior can be a little bit confusing when first met; if at some point it seems you cannot exit from a power, click with the mouse where you want to go, or just keep pressing the right or left arrow keys until you exit from the problem area.

We can select text by holding down the shift key while we move the cursor with the arrow keys, or by pressing down the mouse left button at one end of the contents to select, moving it to the other end, and releasing the button. Pieces of formulae can be cut, copied and pasted as expected.

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.