On Sun, Apr 5, 2009 at 1:15 PM, Tim Lahey <tim.la...@gmail.com> wrote:
> My recommendation is:
>
> \frac{\mathrm{d} f(x)}{\mathrm{d} x}
>
> This ensures an upright d. It's what I use for all derivatives based
> upon
> "A Guide to LaTeX". Also, I'm not sure you really need to use \left and
> \right for a single term. I think it's overkill. If you have multiple
> terms of varying heights, it makes sense, but not for a single letter or
> number.

I agree that using \left(, \right) for single term is overkilling
but this usage seems to be widespread. The reason is
during typesetting f(y), one calls latex() function recursively as
"y" itself could be a symbolic function like y(x) and so on.

Nevertheless, one can improve this by checking
whether the argument is an instance of symbolic variable.

Cheers,
Golam

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to