bundles / IPython 9.3.0 / IPython / core / formatters / LatexFormatter
MetaHasTraits
IPython.core.formatters:LatexFormatter
source: /IPython/core/formatters.py:859
Signature
def LatexFormatter(**kwargs: t.Any) → NoneSummary
A LaTeX formatter.
Extended Summary
To define the callables that compute the LaTeX representation of your objects, define a _repr_latex_ method or use the for_type or for_type_by_name methods to register functions that handle this.
The return value of this formatter should be a valid LaTeX equation, enclosed in either `$`, `$$` or another LaTeX equation environment.
Aliases
IPython.core.formatters.LatexFormatter