Possible Duplicate:
How does one insert a backslash or a tilde into LaTeX?
How do I express ~ in LaTeX. I have tried \~ but it doesn't work. Is there a specific syntax for it and is there a reason why it doesn't work?
Possible Duplicate:
How does one insert a backslash or a tilde into LaTeX?
How do I express ~ in LaTeX. I have tried \~ but it doesn't work. Is there a specific syntax for it and is there a reason why it doesn't work?
\textasciitildeor$\sim$, depending on your preference. You could also use\verb!~!, but this will typeset it using\ttfamily. – Werner Nov 10 '11 at 07:28\~is a command that provides a tilde accent, and therefore requires an argument:\~{a}or\~o. On the other hand, using only~is what is called an unbreakable space or "tie" in LaTeX. – Werner Nov 10 '11 at 07:36