Skip to content

Make \py check for ._repr_latex_ #54

@Cadair

Description

@Cadair

Some objects I have encountered have a _repr_latex method, like the _repr_html_ method for IPython notebook display. (https://github.com/astropy/astropy/blob/master/astropy/units/quantity.py#L942)

A check to see if an object knows how to display itself under LaTeX would be pretty simple and have some very cool results. If you could point me to the section of code called by \py I might be able to take a shot at implementing this one.

edit: wrong link

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions