30 LaTeX syntax in MathJax for H5P

Using LaTeX syntax in H5P elements

You can draft equations inside of H5P elements in Pressbooks with LaTeX notation. To enable this feature, a new H5P library needs to be installed. Download it here, and upload it through the library admin page on your H5P enabled site.

For details on using LaTeX refer to MathJax.

To warp the formula in H5P use any one of these LaTeX shortcodes.

LaTeX shortcodes are colored to show examples. The formula and the LaTeX shortcodes have to be the same color and style.

  • \(LaTeX\) 
  • $$LaTeX$$
  • \[LaTeX\]

Example in H5P

 

 

License

Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

SPSCC Pressbook Tutorial Copyright © 2021 by Alaka Pradhan is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

Share This Book