Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

share|improve this question
4  
    
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
1  
could you provide a complete MWE that illustrates the problem? :) –  cmhughes Jan 28 '13 at 22:04
2  
Many people use $x \sim y$. –  Werner Jan 28 '13 at 22:07
2  
Please try the several methods in cmhughes link, there are variations in vertical position. –  Stefan Kottwitz Jan 28 '13 at 22:12
show 1 more comment

1 Answer 1

up vote 5 down vote accepted

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}
share|improve this answer
    
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
add comment

Your Answer

 
discard

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.