Skip to main content Skip to navigation

Format text in a quiz

You can format text in questions, answers and feedback using Textile markup. When you publish the page, the Textile markup automatically converts to HTML. Alternatively, you can enter HTML directly in the questions, answers or feedback.

You can also use LaTeX to add equations.

In this article:

Textile markup

Error: Access denied for the source page. from 8a1785d88deff232018e0f91a2405180

Add equations using LaTeX

  1. Browse to your quiz page.

  2. Go to Edit > Edit quizbuilder page:

    The SiteBuilder 'Edit' menu, with the 'Edit quizbuilder page' option highlighted

  3. You see the Edit quiz screen:

    The 'Edit quiz' screen

  4. Create a new question, or select the Edit component button for an existing one.

  5. Enter the equation using LaTex markup in the Question, Choice or Feedback boxes. Put the equation inside a [latex] tag – for example:

    [latex]s = \frac{(u + v)t}{2}[/latex]
  6. For accessibility purposes, please also include alt text for your LaTeX code. You can do this by adding alt = '' in the LaTeX tag - for example:

    [latex alt = 'x equals minus b plus or minus the square root of b squared minus four a c all over 2a']
  7. Select Save to return to the Edit quiz screen.

  8. When you're finished editing your quiz, select Done and view the published quiz. Check that you can see an image of the equation in the published quiz – for example:

    s equals u plus v times t all over 2

Related articles