# How do I print '~' in LaTeX? [duplicate]

Possible Duplicate:
How do I draw a tilde in math mode?

I need to print $X_i~N(\mu,\sigma)$ but ~ and \~ don't work in math mode in LaTeX.

-
Welcome to TeX.sx! You're looking for \sim, probably. –  egreg Jan 16 '13 at 17:32
Try drawing it in detexify. –  lhf Jan 16 '13 at 17:42
Karina, have a look at the question linked by Scott and let us know if it doesn't answer your question. If it does, your question will be closed to keep the place tidy. –  Vivi Jan 16 '13 at 18:11
texdoc comprehensive is your friend
$X_i\sim N(\mu,\sigma)$