This question already has an answer here:

I am new to using the tilde symbol in latex using the \tilde. It appears above one letter only. It seems to be this can be overlooked. Can I expand it somehow to be clearer? can the symbol be expanded to the whole word?

marked as duplicate by David Carlisle, marmot, Kurt, CarLaTeX, Zarko Feb 4 at 6:10

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.

up vote 1 down vote accepted

A possible way is to use \widetilde from yhmath, but it's a math mode command only, meaning that long words will look ugly unless using \text again.

In the very end, it does not look really nice for a word that has more than three or four letters.

\documentclass{article}

\usepackage{yhmath}
\begin{document}


$\widetilde{\text{alongword}}$
\end{document}

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