Loading [MathJax]/jax/output/HTML-CSS/jax.js

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 10 years ago

sagefan gravatar image

Redundant brackets in exponents and sagetex

If I ask sage for example:

simplify(x^(2-5))

it returns

x^(-3)

This makes sense on the command line, but when I use sagetex to include it to my latex document, it does the same and also typesets it in like x(3) and not as x3'. Is there any way to change this?

click to hide/show revision 2
No.2 Revision

Redundant brackets in exponents and sagetex

If I ask sage for example:

simplify(x^(2-5))

it returns

x^(-3)

This makes sense on the command line, but when I use sagetex to include it to my latex document, it does the same and also typesets it in like x(3) and not as x3'. x3. Is there any way to change this?

click to hide/show revision 3
No.3 Revision

Redundant brackets in exponents and sagetex

If I ask sage for example: do

simplify(x^(2-5))
$\sage{1/exp(x)}$

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

x^(-3)

This makes sense on By the command line, but when I use way: Is it possible to make sagetex to include it to my latex document, it does typeset the same and also typesets it in like x(3) and not Euler Number automatically as x3. Is there any way to change this?e instead of e?