# What formatting should I use on 'd' when writing an integral? [duplicate]

Possible Duplicate:
What’s the proper way to typeset a differential operator?

What formatting should I use on 'd' when writing an integral?

I normally use

$$\int_{-\infty}^{infty} e^{-x^2} \mathoperator{d}\!x = \pi$$


which produces

$\int_{-\infty}^{infty} e^{-x^2} dx = \pi$


Is there a better formatting for dx?

• Jan 2, 2013 at 3:42
• not really, perhaps \delta x, and if you are doing partial integration, then \partial x Jan 2, 2013 at 3:48
• Please let us know if the link provided by Scott resolves the issue :) Jan 2, 2013 at 4:28
• Yes, it resolves it. Jan 2, 2013 at 7:21
• Good to hear :) Jan 2, 2013 at 8:06