Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions docs/course_authors/source/advanced_problems.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ symbolic expressions.
When you create a math expression input problem for your students in
Studio, you'll use `MathJax <http://www.mathjax.org>`_ to change your
plain text into "beautiful math." For more information about how to use
MathJax in Studio, see *A Brief Introduction to MathJax in
Studio*.
MathJax in Studio, see :ref:`MathJax in Studio`.

.. image:: Images/MathExpressionInputExample.gif

Expand Down
58 changes: 58 additions & 0 deletions docs/course_authors/source/appendices/g.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.. _MathJax in Studio:

A Brief Introduction to MathJax in Studio
=========================================

To write clear and professional-looking symbols and equations, we use a LaTeX-like
language called
`MathJax <http://www.google.com/url?q=http%3A%2F%2Fwww.mathjax.org%2F&sa=D&sntz=1&usg=AFQjCNGef2H-mZCdmCo7-kWHfu9fUGVCfg>`_.
Your MathJax equations can appear with other text in the paragraph (inline equations) or
on their own lines (display equations).

- For inline equations, you can do either of the following.

- Surround your Mathjax expression with backslashes and **parentheses**.

``\( equation \)``

- Surround your Mathjax expression with [mathjaxinline] tags. Note that these
tags use square brackets ([]).

[mathjaxinline] equation [/mathjaxinline]

- For display equations, you can do either of the following.

- Surround your Mathjax expression with backslashes and **brackets**.

``\[ equation \]``

- Surround your Mathjax expression with [mathjax] tags. Note that these tags use
square brackets ([]).

[mathjax] equation [/mathjax]

You can use MathJax in HTML (text) components and in Problem components.

.. note:: Complete MathJax documentation (together with a testing tool) can be
found at `http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm <http://www.google.com/url?q=http%3A%2F%2Fwww.onemathematicalcat.org%2FMathJaxDocumentation%2FTeXSyntax.htm&sa=D&sntz=1&usg=AFQjCNEV8PtCX6Csp0lW7lDKOLIKCOCkHg>`_.


HTML (Text) Components
----------------------

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

.. image:: ../Images/MathJax_HTML.gif

Problem Components
------------------

In the Problem component editor, you can use MathJax both in the Simple Editor
and in the Advanced Editor.

In the example problem below, 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.

.. image:: ../Images/MathJax_Problem.gif