Submit a request
Submit a request

Inserting LaTeX into a Question using the Rich Text Toolbar's Math Editor

Our Math Editor allows you to easily input math expressions into any Question. This expands the types of Questions you can use to deliver your math and science content. 

The Math Editor can be found in any field that contains the rich text toolbar, and is denoted by the uppercase sigma symbol (Σ):

Rich_Text_Editor.png

Figure 1: the rich text toolbar in the Compose Question field of a multiple choice Question.

By default, the math markup language used by the Math Editor is set to LaTeX. You will see several options available in the editor, described in more detail below:

Math_editor.png

Figure 2: the Math Editor pop-up dialog window.

Math Keypad

You can enter math symbols using the keypad. Select from the drop down menu on the top left to navigate between our different available symbols groups. You can also type directly into the field and your input will be dynamically rendered.

Screen_Shot_2018-12-03_at_11.38.47.png

Figure 3: the LaTeX symbols drop down menu in the math keypad.

Edit ARIA Label

When this checkbox is selected, a field is exposed where you can input a custom label for the math. The field is populated automatically by our spokenmath engine. However, you can edit and customize the label as needed. This text label is saved with the Question and added to the page when the Question is loaded. This replaces the MathJax assistive MathML and is treated like any ARIA label by the assistive technology. See our article on creating accessible math for more information.

Aria_Label.png

Figure 4: the ARIA Label field in the Math Editor, which can be easily modified.

Display

You can also choose how the expression is presented by selecting between Inline or Block display.

Inline is the default setting and allows you to insert text on the same line as the math expression in the rich text field, for example:

Screen_Shot_2018-12-03_at_11.48.14.pngScreen_Shot_2018-12-03_at_11.47.52.png

Figure 5: inline LaTeX style

While the Block style places the math expression on a new line.

Screen_Shot_2018-12-03_at_11.48.16.png

Figure 6: block LaTeX style

Source

Clicking View Source will show you the LaTeX markup. This allows you to either modify the LaTeX of an expression you have already created or type in LaTex markup directly into this field when creating a new expression.

Inserting_LaTex.png

Figure 7: LaTeX source in the Math Editor. 

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity by clicking here.