Redundant brackets in exponents and sagetex
If I do
$\sage{1/exp(x)}$
in sagetex, it typeset's it as $e^{(-x)}$ instead of $e^{-x}$. How to fix this?
By the way: Is it possible to make sagetex to typeset the Euler Number automatically as $\mathrm{e}$ instead of $e$?
Can you provide an example? When I do
$x^{2-5} = \sage{x^(2-5)}$
, it prints it as\frac{1}{x^{3}}
.@John Palmieri Indeed I have choosen the wrong minimal example. See my updated question above.