Redundant brackets in exponents and sagetex

asked 10 years ago

sagefan gravatar image

updated 10 years ago

If I do

$\sage{1/exp(x)}$

in sagetex, it typeset's it as e(x) instead of ex. How to fix this?

By the way: Is it possible to make sagetex to typeset the Euler Number automatically as e instead of e?

Preview: (hide)

Comments

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 gravatar imageJohn Palmieri ( 10 years ago )

@John Palmieri Indeed I have choosen the wrong minimal example. See my updated question above.

sagefan gravatar imagesagefan ( 10 years ago )