latex typesetting for derivatives like g'

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

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?

asked Jun 17 '11

roah gravatar image roah
5 3
i like this answer (click again to cancel)
1
i dont like this answer (click again to cancel) roah has selected this answer as correct

You can try to apply the patch attached to ticket #6344.

The patch review walk through contains instructions on how to apply patches.

link

posted Jun 17 '11

burcin gravatar image burcin
1058 10 31
http://erocal.org/burcin
Thanks! Will try... roah (Jun 18 '11)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Jun 17 '11

Seen: 236 times

Last updated: Jun 17 '11

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.