
· Vikram Aruchamy · LaTeX
How to Write LaTeX in IPython Notebook (Jupyter)
To write LaTeX in a Jupyter (IPython) notebook, switch a cell to Markdown and wrap the maths in dollar signs: single dollars for inline maths and double dollars for display equations. Jupyter renders them with MathJax when you run the cell. From Python code, use IPython.display.Math to show a LaTeX string as an equation.