1 minute Arithmetic Analysis  Geometry Statistics Menus, icons,... 
Mathematical Objects Linear algebra Functions 2D Graphics Combinatorics
WIRIS ++ Equations and systems of equations  Progressions 3D Graphics  Units of measurement
   

>>fast 
 Who can configure the toolbar?
 Why configure the toolbar?
 How do you configure the toolbar?
 Example


 Who can configure the toolbar?

Anyone can configure the toolbar.



 Why configure the toolbar?

By configuring the toolbar, the user can customize wiris and thus produce higher quality results. Making changes to the toolbar has no effect on the mathematical behaviour of the calculator.

For example, you can have a calculator where the only icons on display are those relating to units of measurement (metre, second, ...) which you want to learn about in a lesson.



 How do you configure the toolbar?

Once saved as an HTML page with the wiris material to be displayed, the page can be edited and a parameter added with the name ToolbarDef. The value of this parameter determines the toolbar configuration for this html document.



 Example

Suppose you want to add the tabs shown in the image:

  

To generate these tabs, we have added the following code (in bold) to the html file:

<applet code="..." codebase="..." width=... height=...>

<PARAM NAME='...' VALUE='...'/>

<PARAM NAME='...' VALUE='...'/>

<param name='ToolbarDef'

value='{Arithmetics}plus minus@{Analysis}integral iintegral | limit * leftlimit rightlimit@'/>


</applet>

Let us see in more detail how each part of the code is compiled:

First tab:{Arithmetics}plus minus@

Second tab:{Analysis}integral iintegral | limit * leftlimit rightlimit@

Note that:

  • separators can be inserted between symbols using the "|" symbol,
  • the space for an icon can be reserved using "*",
  • content can be left justified by entering "@" at the end of the line for that tab.

The codes for the symbols (plus, minus, integral, iintegral, limit, leftlimit, rightlimit,...) are provided in the section, Menus, icons,....

mathsformore.com powered by WIRIS

©2003 maths for more sl. All rights reserved. Legal notice