# How do you get a lower or higher tilde/~?

I want to presents hours and say from hour x to hour y by using sample '~'. Please guide me how I can present the symbol "~"?

In contrast to How does one insert a backslash or a tilde (~) into LaTeX?, I'm particularly interested in controlling the vertical placement of the ~.

-
–  cmhughes Jan 28 '13 at 21:53
If the link given by cmhughes helped, we would close the question as a duplicate, for a clean and structured site. –  Stefan Kottwitz Jan 28 '13 at 21:58
could you provide a complete MWE that illustrates the problem? :) –  cmhughes Jan 28 '13 at 22:04
Many people use $x \sim y$. –  Werner Jan 28 '13 at 22:07
Please try the several methods in cmhughes link, there are variations in vertical position. –  Stefan Kottwitz Jan 28 '13 at 22:12

In comments you indicated that it is the height of the ~ that is your concern, perhaps one of these does what you want:

\documentclass{article}

\begin{document}

a\textasciitilde b\raisebox{-1ex}{\textasciitilde}c\raisebox{-1.2ex}{\textasciitilde}d\raisebox{-2ex}{\textasciitilde}e

\end{document}

-
I’m assuming this question will be closed; we should then merge it into the other question since this answer would be a great addition to it! –  doncherry Jan 28 '13 at 22:26
@doncherry Not sure it should be closed, if the title were instead "how do you make a low tilde" it would stand on its own. Despite the title I think the problem is more to do with raising/lowering than with ~. –  David Carlisle Jan 28 '13 at 23:39
@doncherry: As the answer stands now, i.e. with a direct reference to the comments on this question, it's not suitable for merging by a moderator. –  Martin Scharrer Jan 30 '13 at 7:48
@DavidCarlisle: It's not just the question title. The body clearly just talks about how to inserting the tilde, which makes it a 100% duplicate. It needs to be rephrased to include the shifting requirement. Then it would make a good follow-up question. –  Martin Scharrer Jan 30 '13 at 7:50