TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

How to do that?

share|improve this question
up vote 15 down vote accepted

I think you're after \tilde x.

share|improve this answer
Or \widetilde if the character is (or are) long. – Loop Space Jun 10 '11 at 10:43
@Andrew Yes, good remark! – chl Jun 10 '11 at 10:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.