Math Mode – Spacing Around a Character

spacing

I'd like to use a character that looks like $\sim$, but has spacing like $\neg$ (in particular, which doesn't leave a huge gap to its right). I know I could do this by defining a symbol which expands to $\sim\hspace{-1pt}$, with 1pt replaced by some amount that looks about right to me, but is there a better way to do this (for instance, which doesn't rely on my guess about what spacing looks about right)?

Best Answer

To avoid this spacing you could define a symbol using \sym but as an ordinary math symbol instead of a relation symbol, such as

\newcommand*{\mysim}{\mathord{\sim}}
Related Question