Using LaTeX in Formative

Use LaTeX to write Math notation in-line with text!

Rebecca Worden avatar
Written by Rebecca Worden
Updated over a week ago

Using LaTex

Using LaTeX, you can add almost any Math notation in Formative - including multi-line equations, geometry, set-builder notation, and matrices! (New to LaTeX? Check out an overview here.)

Formative uses Katex as its LaTeX engine to render mathematical expressions. You can find a list of supported functions here.

We support two main ways to add LaTeX anywhere you can edit Rich Text: in-line and using a Math keyboard. (A Rich Text box is any text box that has the blue "+" icon on the right edge.)

1. In-line

To get started, type the LaTeX code, then select it and choose "LaTeX" from the formatting menu:

Note, the yellow highlighted text is what the student will see. You can use the Student Preview to check how this will appear on the student side:

2. Math keyboard

In any rich text box, you can click to open a menu of advanced options, including Math:

Clicking on the mathematic equation that appears will allow you to edit with a full toolbar of mathematical options:

Note: this input field also supports LaTeX expressions that are typed in directly (however, be sure to click the space bar to trigger conversion).

Where can LaTex be used?

LaTeX can be used within questions, but also in answer options for most question types.

Anywhere that you see a Rich Text box can use LaTeX. This includes answer options for Multiple Choice, Multiple Selection, Matching, and Resequence questions; and items and categories for Categorize questions.

For more inspiration, the following formatives contain some fantastic examples of LaTeX:

  • This formative has examples of multi-line equations, geometry notation, and operations.

  • This formative can be assigned to guest students and used for professional development with teachers. It contains LaTeX examples (including matrices and multi-line equations) and asks those taking the formative to recreate them.

Students can use LaTeX, too!

Numeric questions provide a mathematical keyboard for your students. In Numeric questions, students can use the mathematical keyboard or type LaTeX code into the input directly, and when they hit the space bar, the code will render into the appropriate notation:

Additionally, in Free Response questions, students can use LaTeX in exactly the same way as teachers. They can either use the dropdown "+" menu for a mathematical keyboard or they can write the LaTeX code directly, then select it and choose "LaTeX" from the formatting menu:

LaTex Cheat Sheet

It can be difficult to remember all the LaTex expressions off the top of your head, and there's no need to! Download the attached LaTex Cheat Sheet for your convenience!

Did this answer your question?