Customizing latex output of derivative expressions
I'd like to change the output of
sage: latex(f.diff()-3*f)
-3 \, f\left(x\right) + \frac{\partial}{\partial x}f\left(x\right)
to be closer to
sage: latex(f.diff()-3*f)
f' - 3 f
Is there any way to adjust the presentation of derivatives, and the order in which they appear?