Pima Tech Guides

H5P: Adding LaTeX to a Learning Object

Updated on

There are 3 main options for entering LaTeX into H5P learning content. You will wrap the LaTeX code with one of the following options:

A. Block/Standalone Content $$  $$

B. Inline Content \(  \)

C. Inline Content \[  \]

First, find an area where you can input text when creating a learning object. The example below is a multiple choice question. 

If you do not know LaTeX, then you will also need to find a LaTeX generator. There are several available online for free.

A. Block/standalone text

$$ Insert LaTeX $$

Image on the H5P text content insert area. An example of block text is shown highlighted in red with an arrow indicating to look at it. The main components are highlighted in yellow. It shows as: $$ Insert LaTeX $$

B. Inline text option 1

\( Insert LaTeX \)

Image on the H5P text content insert area. An example of inline with ( ) is shown highlighted in red with an arrow indicating to look at it. The main components are highlighted in yellow. It shows as: \( Insert LaTeX \)

C. Inline text option 2

\[ Insert LaTeX \]

Image on the H5P text content insert area. An example of inline with [ ] is shown highlighted in red with an arrow indicating to look at it. The main components are highlighted in yellow. It shows as: \[ Insert LaTeX \]

All of the text examples above are interpreted by H5P and rendered as a equation.

Image of all 3 examples are shown,  X^2 + Y^2 = Z^2 but all derived from the 3 different input methods mentioned above.

More information on the LaTeX format can be found here: Mathematical Formula Using LaTeX

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Previous Guide H5P: Determining the Accessibility of H5P Content Types
Next Guide H5P: Adding Collaborators
Want Help From A Human? → Contact Us