I'm using the amsmath package, and I want to put in a sentence, the not similar binary operator. I tried this:
... bla bla $ a \nsim b $ bla bla ...
I get the error:
"Undefined control sequence".
By the way, if I put \sim it works, but I want negate it.

\usepackage{amssymb}, which isn't automatically loaded byamsmath. – egreg Mar 10 '14 at 17:59