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}".
Robert Dodier
2013-12-04
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.