CREATING SIMPLE EXPRESSIONS IN DRAG MATH
DragMath is based on the idea of templates for each operator or function. You can insert a template, which will consist of the traditional notation and layout for that particular operator/function and also blank boxes. The number of boxes depending upon the number of arguments the operator/function takes.
For example, inserting addition would look like this:
Any text from the keyboard can then be entered into the boxes, by clicking on a box to select it, and then typing into the box the desired data.
TO INSERT A TEMPLATE FROM THE TOOLBAR, THERE ARE TWO MAIN WAYS:
POINT AND CLICK
Clicking on the object in the toolbar and then clicking onto the workspace area.
DRAG AND DROP
Dragging an object from the toolbar onto the workspace area.
If an operator is inserted anywhere on the workspace area it will be appended to the end of the current expression. To build up expressions of varying content, you need to insert the Mathematical objects into particular areas of the expression. They can be inserted in the following ways:
ONTO A TEXT BOX
Inserting an object onto a text box will insert the object at the position of the text box, and use the text box as an argument. If it is an operator the box will form the left argument, if it is a function it will form its only argument.
For example, inserting Sine onto a box of addition would look like this:
Before:
After:
ONTO THE NOTATION OF ANOTHER TEMPLATE
By inserting onto any notation related to a particular template, for example a ‘+’, ‘√’ or a bracket, then the same effect happens as when inserting onto a box. The whole math object that is associated with that notation is treated as a box. So inserting the Sine function onto the symbol ‘+’, would take the whole operator template (including its arguments), and make them the argument of the Sine function.
Before:
After:



EXPORTING OUT MATH SYMBOLS IN LATEX
OR MOODLE LATEX
Imagine you have created the rational equation below in Drag Math and you want to export the rational equation out as LaTex. See below.
Go to the menu at the top of the Drag Math module and click on "Options." Choose the "Set export option." See below.
A small window will come up. See below. The two options that are important to you are "LaTeX" and "Moodle Tex." You need to click on one of these two options and the LaTex code will be exported to the clipboard. See below.
I will left click on "Moodle Tex" and then click "OK." See below.
Go to the menu at the top of Drag Math and click on "File" and choose "Export to clipboard." See below.
You have now copied the LaTex in Moodle Format to the clipboard. I'll bring up Notepad(or your Moodle environment) and choose "Edit" then "Paste." See Below.
Below is the LaTex formatted for Moodle. Notice the double dollar signs around the Latex code \frac{X+5}{X3} + \frac{X8}{X+2} =27.
Usually you would have Drag Math up while you are working in your Moodle environment by having two tabs up in your browser.
Hope this has been helpful.
