2

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 ~.

1 Answers1

6

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

enter image description here

\documentclass{article}

\begin{document}

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

\end{document}
David Carlisle
  • 757,742
  • 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 07: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 07:50