I am trying to draw a commutative diagram using tikz-cd, where one of the arrow is an inequality. I know equality arrows are \ar[equal], does anyone know how to draw inequality arrows? Many thanks in advance.

| improve this question | | | | |
  • 1
    Welcome to TeX.SE and happy Christmas. Please can you add a picture, a code (.tex), anything to understand your question. – Sebastiano Dec 24 '18 at 19:20
  • 1
    What is the mathematical meaning of inequality arrow? – Sigur Dec 24 '18 at 19:21

Are you looking for something like this? (Orientation changed, thanks to @Sigur!)

mark=at position 0.5 with {\draw (1.5pt,4pt) -- (-1.5pt,-4pt);}}}}}
X \ar[equal]{r} & Y 

X \ar[equal,inequality]{r} & Y

enter image description here

| improve this answer | | | | |
  • 1
    I don't know why, but what came first to my mind was something related with \leq not with \neq... lol :-) – Sigur Dec 24 '18 at 19:28
  • @Sigur We will find out, I hope. I agree that your interpretation makes at least as much sense as mine, and as you may know my crystal ball got stolen, so I had to guess. – user121799 Dec 24 '18 at 19:30
  • I'm mathematician and so inequality to me first means \leq... a lot of inequalities in analysis. – Sigur Dec 24 '18 at 19:32
  • @Sigur I am a marmot, and use Wikipedia if it supports my claims. Otherwise I ignore it.;-) Anyway, according to Wikipedia, either of us could be right. Or someone who would argue that one should use \geq. – user121799 Dec 24 '18 at 19:38
  • 1
    Nice. Now it is more mathematical! – Sigur Dec 24 '18 at 19:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.