I was happy to find out that my intuition about setting differential operators and common math constants was right (see the accepted answer).
However, this got me thinking. My rationale for using upright 'e' and 'i' for Euler's constant and the imaginary number was that these are the names of some specific numbers. So just as one sets sin upright because it is the name of the trig function, one sets the constants upright...
But what about the function $f(x) = x^2$? It seems to me that this gives a name to the function $x^2$, so by the reasoning above one should set f upright... I do not like this, and nobody does it that way.
What is the difference between the two situations?
eis upright. – Peter Grill Oct 30 '14 at 04:56\pi, where more technical effort is required). – Joseph Wright Oct 30 '14 at 07:25fis upright or not as long as the readers understand what you mean byf(x). – percusse Oct 30 '14 at 08:28