Skip to content

Support GinacFunction._print_latex_() customization #20888

Closed
@rwst

Description

@rwst

Defining a LaTeX print function (instead of just a latex name) is only possible for GinacFunctions by changing Pynac.

I think it would be more consistent to simply allow the same mechanism as with BuiltinFunctions. This should pose no problem, since there it is already channeled through Pynac. Effectively, if there is not a LaTeX print function defined in Pynac then the Python _print_latex_ member should be tried.

This s pynac/pynac#184

See also #11428

CC: @paulmasson

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/20888

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions