MCPcopy Index your code
hub / github.com/ipython/ipython / latex

Method latex

IPython/core/magics/display.py:60–67  ·  view source on GitHub ↗

Render the cell as a block of LaTeX The subset of LaTeX which is supported 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).

(self, line, cell)

Source from the content-addressed store, hash-verified

58
59 @cell_magic
60 def latex(self, line, cell):
61 """Render the cell as a block of LaTeX
62
63 The subset of LaTeX which is supported depends on the implementation in
64 the client. In the Jupyter Notebook, this magic only renders the subset
65 of LaTeX defined by MathJax
66 [here](https://docs.mathjax.org/en/v2.5-latest/tex.html)."""
67 display(Latex(cell))
68
69 @cell_magic
70 def svg(self, line, cell):

Callers

nothing calls this directly

Calls 2

displayFunction · 0.90
LatexClass · 0.90

Tested by

no test coverage detected