[Tex/LaTex] How to type \sim above another symbol x symbols I want to put a "~" above x, just like \hat x but replacing \hat with \sim. How to do that? Best Answer I think you're after \tilde x. Related Solutions[Tex/LaTex] How to produce a longer \sim with a small letter on top \usepackage{amsmath,graphicx} \newcommand{\widesim}[2][1.5]{ \mathrel{\overset{#2}{\scalebox{#1}[1]{$\sim$}}} } $A \widesim{S} B$ $A \widesim[2]{SS} B$ If the scaling is not excessive, the symbol should render well. The optional argument, that tells LaTeX how much to scale horizontally, should not be more than 2.5, otherwise some artifacts will appear. The default value is, as you requested, 1.5. [Tex/LaTex] Putting the symbol hat in math mode in LaTeX I understand, that it is like some kind of Fourier transform of the whole expression. An alternative version added. \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \newcommand{\Sel}{\operatorname{Sel}} \[ \Sel_{E}^{\Sigma_0}(\mathbb{Q}_\infty)_p{}\widehat{} \] But probably better \[ (\Sel_{E}^{\Sigma_0}(\mathbb{Q}_\infty)_p)\,\widehat{} \] \end{document} Related Question[Tex/LaTex] A symbol above a comma[Tex/LaTex] Arrow above text (like widehat)[Tex/LaTex] Different appearance of the `sim’ in \sim and \succsimHat over < symbol
Best Answer
I think you're after
\tilde x
.