## Changing Applet parameters

There are various parameters that can be set inside the <APPLET> tag, to change particular options of the applet.

Language

<param name= language value= "en" >
The value is the name of the XML file, so this example refers to language file en.xml in the \lang folder. If the parameter is not used the default value is "en".

Output Format

<param name= outputFormat value= "MathML" >
The value is the name of the XML file, so this example refers to output format file MathML.xml in the \formats folder. The purpose of setting this is to have the default format to use automatically set when the software loads.

Open applet with an expression

<param name= openWithExpression value= "sin(1+x)" >
The value can be any expression you would like the applet to be opened with. The Maxima example on the DragMath website gives an example of this being used.

Hide the menu

<param name= hideMenu value= "true" >
By default the drop-down menus are shown. To hide them set the value of the parameter to "True" or "true".

Hide the toolbar

<param name= hideToolbar value= "true" >
By default the toolbar is shown. To hide it set the value of the parameter to "True" or "true".

Implicit multiplication

<param name= implicitMultiplication value= "true" >
By default implicit multiplication is set to off. To turn it on set the value of the parameter to "True" or "true".

Decimal Numbers

<param name= displayDecimalNumbers value= "true" >
By default decimal numbers which can be expressed as integers are converted. e.g. 1.0 becomes 1, and 1.5 remains as 1.5. If you wish all numbers to be displayed as decimal numbers set the value of the parameter to "True" or "true". Therefore, 1 becomes 1.0, and 1.5 remains as 1.5.

Customise toolbar

<param name= customToolbar value= "0 1 2 | 3 4 | 5 6 7 | 8" >
This parameter can be used to customise which buttons are shown and they order they are shown in. Each button has a numeric value as shown below

0 = Clear workspace
1 = Load Expression from file
2 = Save expression to file
3 = Undo
4 = Redo
5 = Cut
6 = Copy
7 = Paste
8 = Export
| = Separator

The default is set to "0 1 2 | 3 4 | 5 6 7 | 8"