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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.