Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

latex typesetting for derivatives like g'

When i try:

f(x) = function('f',x)

g = diff(f(x),x)

latex(g)

I get: D[0]\left(f\right)\left(x\right)

But i would like to get something like: g'\left(x\right)

How can i do this with sage?

latex typesetting for derivatives like g'

When i try:

f(x) = function('f',x)function('f',x)
g = diff(f(x),x)
latex(g)

i get:

g = diff(f(x),x)

D[0]\left(f\right)\left(x\right)

latex(g)

I get: D[0]\left(f\right)\left(x\right)

But but i would like to get something like: g'\left(x\right)like:

g'\left(x\right)

How can i do this with sage?Sage?