On Oct 25, 7:37 pm, Marshall Hampton <hampto...@gmail.com> wrote: > Latex doesn't actually support \sech, so this can't really be > considered an error on Sage's part. > > Note that > > sage: latex('sech(x)') > > gives > > \text{sech(x)}
On the other hand, sage: latex(sech) gives \sech I think the problem is in sage/functions/hyperbolic.py: PrimitiveFunction.__init__(self, "sech", latex=r"\sech", approx=lambda x: 1/math.cosh(x)) Which hyperbolic functions have broken latex methods? John --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---