From 31087f318836d9ed37e6a792e45036ce633e7fd0 2015-10-11 09:18:56 From: Min RK Date: 2015-10-11 09:18:56 Subject: [PATCH] Merge pull request #8889 from jdfreder/latexdoc Better document the %%latex magic latex support. --- diff --git a/IPython/core/magics/display.py b/IPython/core/magics/display.py index ed7eb06..d9eacb2 100644 --- a/IPython/core/magics/display.py +++ b/IPython/core/magics/display.py @@ -38,7 +38,12 @@ class DisplayMagics(Magics): @cell_magic def latex(self, line, cell): - """Render the cell as a block of latex""" + """Render the cell as a block of latex + + The subset of latex which is support depends on the implementation in + the client. In the Jupyter Notebook, this magic only renders the subset + of latex defined by MathJax + [here](https://docs.mathjax.org/en/v2.5-latest/tex.html).""" display(Latex(cell)) @cell_magic