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

-
add comment

## 1 Answer

I think you're after \tilde x.

-
Or \widetilde if the character is (or are) long. –  Andrew Stacey Jun 10 '11 at 10:43
@Andrew Yes, good remark! –  chl Jun 10 '11 at 10:44
add comment