# 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 at 17:32
Try drawing it in detexify. – lhf Jan 16 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 at 18:11

## marked as duplicate by Scott H., Claudio Fiandrino, Werner, barbara beeton, Stefan Kottwitz♦Jan 16 at 18:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 1 Answer

texdoc comprehensive is your friend

$X_i\sim N(\mu,\sigma)$

-