# 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?

## marked as duplicate by Scott H., Joseph Wright♦Jan 2 '13 at 8:19

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