I would like to draw something like this, preferably with tikzcd.

enter image description here

Any ideas for that?


Why tikz-cd?

\node[circle,fill,scale=0.3,label=right:$x$] (x1) at (0,0) {};
\node[circle,fill,scale=0.3,label=right:$y$] (y1) at (2,0) {};
\node[circle,fill,scale=0.3,label=left:$x$] (x2) at (4,0) {};
\draw[-latex] (0,-4) -- (0,4) node[left,yshift=-1cm]{$\gamma$};
\draw[-latex] (2,-4) -- (2,-0.5) arc(270:90:0.5) -- (2,4)
\draw[-latex] (4,-4) -- (4,-0.5) arc(-90:90:0.5) -- (4,4)

enter image description here

  • Erh, you're not using tikz-cd in that example, just plain til. Nice solution though – daleif Jul 16 '18 at 9:40
  • @daleif I am aware of that, which is why I wrote "Why tikz-cd?", and do not see any point in using tikz-cd for it (unless there is a bigger picture, which is however not obvious from the question). – user121799 Jul 16 '18 at 10:38
  • Oh, I misread the op question – daleif Jul 16 '18 at 11:51
  • That's exactly what I wanted, thanks! I suggested tikz-cd because I am more familar with, but that's a great solution – mathstackuser Jul 17 '18 at 7:18

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.