This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / formatters / LatexFormatter

MetaHasTraits

IPython.core.formatters:LatexFormatter

source: /IPython/core/formatters.py :859

Signature

def   LatexFormatter ( ** kwargs : t.Any )  →  None

Summary

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