Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2667 tex1 of f(x)^n

None
open
nobody
tex (2)
5
2013-12-04
2013-12-03
David Bevan
No

With simp:false, tex1(sqrt(x)^n) gives "{\it sqrt}^{n}\left(x\right)", which can't possibly be right.

This seems to be part of a more general issue. tex1(f(x)^n) gives "f^{n}\left(x\right)" rather than the expected "f\left(x\right)^{n}". The form given should only be produced if f is sin, cos, etc.

Note that tex1(f(x)^(2*n)) does give "f\left(x\right)^{2\,n}".

Discussion

  • Robert Dodier
    Robert Dodier
    2013-12-04

    • labels: --> tex
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     With simp:false, tex1(sqrt(x)^n) gives "{\it sqrt}^{n}\left(x\right)", which can't possibly be right.
    
     This seems to be part of a more general issue. tex1(f(x)^n) gives "f^{n}\left(x\right)" rather than the expected "f\left(x\right)^{n}". The form given should only be produced if f is sin, cos, etc.