All Collections
Event features and settings
For intermediate to advanced
Does Wooclap support mathematical and chemical formulas?
Does Wooclap support mathematical and chemical formulas?

Add equations to your questions using the AsciiMath and LaTeX formats.

Updated over a week ago

Wooclap allows you to insert mathematical and chemical formulas in a question and its possible answers by using the AsciiMath and LaTeX formats. Know that it is possible to import into Wooclap a Moodle quizz including LaTeX equations. Conversely, importing into Moodle a Wooclap question including LaTeX content is also possible.

Note : These formats are not supported in the answers of Matching questions and for the categories of the Brainstorming questions. These answers/categories are displayed on students' phones as drop-down lists, the design of which we can't control. We are currently looking for a way to work around that limitation.

AsciiMath

Simply surround formulas by backticks  ` or by the elements <math> and </math>.

Examples:

<math>1/(x+1)</math>
or
`1/(x+1)`
<math>sum_(i=1)^n i^3=((n(n+1))/2)^2</math>
or
`sum_(i=1)^n i^3=((n(n+1))/2)^2`

You will find a summary of the available symbols here.

LaTeX

Examples:

$\frac{1}{x+1}$
$e^{i \pi} + 1 = 0$
$\oiint_{\partial \Omega} \mathbf{E}\cdot\mathrm{d}\mathbf{S} = \frac{1}{\varepsilon_0} \iiint_\Omega \rho \,\mathrm{d}V$

The formulas are rendered using the KaTeX engine. The list of supported functions is available here: https://katex.org/docs/supported.html.

N.B. If you wish to use the "dollar" sign in your question, here is how you can obtain it, without messing up your LaTeX format. You have to add a \ just before the "dollar":

 $$ 500 or \$ 500

Chemical formulas

Chemical equations can also be created in Wooclap thanks to the mhchem format. You just need to put a $ at the beginning and the end of the equation to make it appear in Wooclap. You will find more examples and information about the mhchem extension here.

Here are some examples:

  • Chemical formulae

$\ce{Sb2O3}$
  • Charges

$\ce{Y^99+}$
  • Nuclides/Isotopes

$\ce{^227_90Th+}$
  • Reaction arrows

$\ce{A <--> B}$
  • Parentheses and brackets

$\ce{[\{(X2)3\}2]^3+}$
  • Variables

$\ce{x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + x NH3 ^ + x H2O}$

These resources could also help you 👇

...nothing to see? Then how about checking out some of our other question types? 🔍

Did this answer your question?