.. _Adding MathJax: 

#################################
Adding MathJax to Text Components
#################################

.. tags:: educator, how-to

In the Text component editor, you can use MathJax in both visual view and
HTML view.

.. image:: /_images/educator_how_tos/MathJax_HTML.png
 :alt: A composite image of four views of the same text and MathJax markup. The
   Text component editor visual view and HTML view are shown at the top, with
   the rendered text and equation on the Studio unit page and in the LMS below.

************************************
Adding MathJax to Problem Components
************************************

In the problem component editor, you can use MathJax in either the simple
editor or advanced editor.

In the example that follows, note that the Einstein equation in the explanation
is enclosed in backslashes and parentheses, so it appears inline with the text.
The Navier-Stokes equation is enclosed in backslashes and brackets, so it
appears on its own line (display).

.. image:: /_images/educator_how_tos/MathJax_Problem.png
 :alt: A composite image of four views of the same single select problem. The
     simple editor Markdown and advanced editor OLX are shown at the top, with
     the rendered problem on the Studio unit page and in the LMS below.

.. _MathJax Documentation: http://docs.mathjax.org/en/latest/index.html
.. _Mathematics meta: http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
.. _Tree of Math: http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm

.. seealso::
 

 :ref:`MathJax in Studio` (reference)

**Maintenance chart**

+--------------+-------------------------------+----------------+--------------------------------+
| Review Date  | Working Group Reviewer        |   Release      |Test situation                  |
+--------------+-------------------------------+----------------+--------------------------------+
| 06/26/2025   | Leira (Currcu.me)             |  Sumac         | Pass                           |
+--------------+-------------------------------+----------------+--------------------------------+
