When writing an integral, it seems like something should be done to separate the "d", as in \int f(x) dx, so as not to confuse it with a variable. I've seen it left as-is, bolded, and straightened. Even among those options there are several ways to accomplish each task; e.g., I could do a \mathrm or a \operatorname. What is the preferred method of dealing with the "d"?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
|
|||||||||||||||||||
|
|
I usually do this (which I've shamefully stolen from Niel de Beaudrap and modified):
It renders nicely, especially with multiple integrals:
|
|||||||||||||||||
|
|
I found a TUGboat article some years ago which seems to deal with the spacing around the differential operator in the correct way (at least to me). Example
|
|||||||||||||||
|



\mathrmor not depends on the traditions in your field. A thin space before the "d" in integrals is certainly required, Herbert's solution shows how to get it automatically (but using a macro for getting the "d"). – egreg Jun 20 '12 at 13:10