This question already has an answer here:

I am using letter R for notation for my relation. I have to use the wRw notation. My problem is that I can't write \not R as I would like to. So I would like to write that, let's say a,b are not in relation with each other and type a\not R b.

It just doesn't look good.

Any tips?

marked as duplicate by egreg, Werner, user13907, Arun Debray, barbara beeton Jan 21 '16 at 16:41

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.

  • 2
    Welcome to TeX.SX! I think you want to look at the centernot package: $a\mathrel{R}b$ and $a\centernot{R}b$ – egreg Jan 21 '16 at 15:28
  • It works for my purpose pretty well. Sorry for the duplicate if this indeed is one. – Zzz Jan 21 '16 at 16:35
  • Don't worry! However remember that a\mathrel{R}b is the correct input for the (non negated) symbol. With aRb the spacing is wrong. – egreg Jan 21 '16 at 16:42