# KB1254 - Using LaTeX Expressions in H5P

# Using LaTeX Expressions in H5P

**It's possible to embed LaTex notation into your H5P activities to render mathematical expressions. **Basically, anywhere you can insert text in an H5P activity, you should be able to insert LaTeX notation to render a mathematical expression.

**Usage**

Mathematical expressions can be added to all text fields in the H5P authoring tool. There are three different ways you can use to let H5P know this is LaTeX:

- \( some LaTeX \) for inline LaTeX, commonly used as part of sentences within a text
- \[ some LaTeX \] or optionally $$ some LaTeX $$ for block LaTeX, commonly used as a standalone formula that will be centered

**Rendering**

This supports MathJax for rendering Math. (There is no support for KaTeX, although this may be added in future.)

This page from H5P.com shows a sample of the display and its usage:

https://documentation.h5p.com/content/1290620298372631978

**Related Resources:**

- Equals sign Work-around: https://h5p.org/node/1027601

0 reviews

Print Article

## Details

Article ID:
1970

Created

Thu 9/9/21 10:18 AM

Modified

Tue 3/21/23 4:15 PM

## Related Articles (6)

Some H5P activities are aggregators, which can contain other H5P activities in it. This lets you combine activities to create more complex challenges, with richer presentations.