# How to type \sim above another symbol x?

I want to put a "~" above x, just like \hat x but replacing \hat with \sim.

How to do that?

-
I think you're after \tilde x.
Or \widetilde if the character is (or are) long. –  Andrew Stacey Jun 10 '11 at 10:43