Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I want to use both in the same document (they are sometimes used to symbolize different sorts of negation). How can I redefine \sim so that it gets the same spacing properties as \lnot? Commented Oct 27, 2011 at 8:14
  • 2
    @N.N.: As @egreg suggests, use a different name. For example, \newcommand{\simnot}{{\sim}}. Note the double braces. Commented Oct 27, 2011 at 8:18
  • 3
    as noted in comments to another question, the class of \lnot is ultimately \mathord, which is equivalent to what you've got here. but it's never a bad idea to be excruciatingly specific: \newcommand{\varlnot}{\mathord{\sim}} Commented Oct 27, 2011 at 13:43