6.6 Using the Equation Editor to Create Formatted Math Expressions - Maple T.A. 2016 Help
Maple T.A. Online Help

Instructor
Search Maple T.A. 2016 Help:

6.6 Using the Equation Editor to Create Formatted Math Expressions

The equation editor, shown in Figure 6.3, provides an easy way to create formatted math expressions.

Editing with the Equation Editor

Using the Equation Editor, you can add symbolic math expressions and symbols to the question text and answer regions in all question types available through the Question Editor.

Equation Editor

Figure 6.3: Equation Editor


Adding/Editing an Expression Using the Equation Editor

  1. Click the question text region or the answer text region and select the Sigma icon, , in the toolbar.
  1. In the Equation Editor dialog, click on the editor region. Then, click on any 2-D expression to insert it into the editor region.
  1. Click OK.

Note: You also have the option to insert 2-D expressions using MathML or LaTeX. To do so, lafter you click the Sigma icon, , in the toolbar, click the MathML/LaTeX tab. In this window, you are free to enter in your MathML or LaTeX code to display 2-D expressions. A preview is shown based off of your MathML or LaTeX code.

Keyboard Shortcuts

The Equation Editor accepts keyboard shortcuts.

Table 6.2: Keyboard Shortcuts for the Equation Editor

Result

Shortcut Characters

Fraction

/

Superscript

^ (caret)

Subscript

_ (underscore key)

Pre-superscript

Ctrl+^

Pre-subscript

Ctrl+_


Template Shortcuts

A second set of keyboard shortcuts handles the insertion of templates:

  • The Tab key cycles the cursor through the open template blanks in an expression.
  • Enter the first few characters of an expression or symbol name and select Ctrl + Space (Command + Space on Macintosh) to insert the expression or symbol name, or to display a list of commands to complete the entry.

Equation Editor Palette

The Maple T.A. system uses a Equation Editor for creating and displaying symbolic characters and expressions. The palette question type enables you to use customized Math editor toolbars and palettes in creating student response objects.

Using the Equation Editor Palette

The palette is used to insert equation templates and symbols. The standard palette contains one main panel organized into four categories: layout templates, expression templates, relational palettes, and symbol palettes. (See Figure 6.3.)

To display the options available in each panel, click the mouse over a template. A list of options displays. Continue to click the available palettes or scroll the mouse over the sub-templates. To insert a template, click the mouse over a highlighted template. The templates and character palettes are broadly organized by theme, such as calculus templates or arrow symbols. Spend a few minutes exploring the toolbar to familiarize yourself with the available templates and symbols.

Layout templates

The left side of the toolbar consists of popup palettes containing an assortment of layout templates. Templates are highlighted as you move the mouse over them.

Expression templates

The second section of the standard toolbar consists of popup palettes containing expression templates.

Relational palettes

The third section of the standard toolbar consists of popup palettes containing relational templates.

Symbol palettes

The fourth section of the standard toolbar consists of popup palettes containing symbol templates.

See Also:

Editing with the Equation Editor

Equation Editor Requirements and Syntax

When creating an Equation Editor for Palette-based questions, below is a list of possible palette entries. Note: All entries are case-sensitive. If the palette item syntax is not correct, the text will display on the button instead of the proper symbol.

To create a new toolbar definition, you need to create a question bank in plain-text script format and add the toolbar definition at the beginning of the file using the qu.env.palette.toolbarname= structure (see below). You can define one or more toolbar definitions at a time. A toolbar definition can define one or more palette entries at a time.

<btn> - name of the palette item.

<sub cols> - number of columns in the palette

<sep/> - palette separator

Table 6.3: Defining Palettes

Palette Definition

Palette

<btn>SYMBOLPALETTE</btn>
    <sub cols=3>
      <btn>pi</btn>
      <btn>e</btn>
      <btn>i</btn>
      <btn>I</btn>
      <btn>infin</btn>
      <btn>Sum</btn>
      <btn>Product</btn>
      <btn>int</btn>
      <btn>d</btn>
      <btn>lt</btn>
      <btn>gt</btn>
      <btn>le</btn>
      <btn>ge</btn>
      <btn>equals</btn>
      <btn>ne</btn>
    </sub>
<sep/>

<btn>LCGREEKPALETTE</btn>
   <sub cols=3>
      <btn>alpha</btn>
      <btn>beta</btn>
      <btn>gamma</btn>
      <btn>delta</btn>
      <btn>lambda</btn>
      <btn>mu</btn>
      <btn>nu</btn>
      <btn>psi</btn>
      <btn>phi</btn>
      <btn>sigma</btn>
      <btn>Delta</btn>
      <btn>Gamma</btn>
      <btn>omega</btn>
      <btn>epsilon</btn>
      <btn>zeta</btn>
      <btn>eta</btn>
      <btn>theta</btn>
      <btn>kappa</btn>
      <btn>rho</btn>
      <btn>upsilon</btn>
      <btn>xi</btn>
    </sub>
<sep/>

<btn>OPERATORPALETTE</btn>
    <sub cols=1>
      <btn>plus</btn>
      <btn>minus</btn>
      <btn>plusmn</btn>
      <btn>times</btn>
      <btn>middot</btn>
      <btn>divide</btn>
    </sub>
  <sep/>

<btn>SUBSUP</btn>
    <sub cols=2>
      <btn>FRAC</btn>
      <btn>SQRT</btn>
      <btn>SUB</btn>
      <btn>SUP</btn>
      <btn>SUBSUP</btn>
      <btn>UNDER</btn>
      <btn>OVER</btn>
      <btn>UNDEROVER</btn>
    </sub>
  <sep/>

<btn>TRIGPALETTE</btn>
    <sub cols=3>
      <btn>SIN</btn>
      <btn>COS</btn>
      <btn>TAN</btn>
      <btn>SEC</btn>
      <btn>CSC</btn>
      <btn>COT</btn>
      <btn>ARCSIN</btn>
      <btn>ARCCOS</btn>
      <btn>ARCTAN</btn>
    </sub>

  <btn>ARROWPALETTE</btn>
      <sub cols=2>
       <btn>rarr</btn>
       <btn>larr</btn>
       <btn>harr</btn>
       <btn>rlarr</btn>
       <btn>lharu</btn>
       <btn>rharu</btn>
      </sub>


Example Header Toolbar/Palette Definitions:

qu.env.palette.operator=
  <tb>
    <btn>OPERATORPALETTE</btn>
       <sub cols=1>
        <btn>times</btn>
        <btn>divide</btn>
       <btn>middot</btn>
      </sub>
  </tb>@

qu.env.palette.greek=
  <tb>
    <btn>SYMBOLPALETTE</btn>
  <sub cols=3>
    <btn>alpha</btn>
    <btn>beta</btn>
    <btn>gamma</btn>
  </sub>
  </tb>@