How to do something like this

enter image description here

using xymatrix?

  • 2
    what have you tried, please? there's a very similar example on p.43 of the manual xyrefer.pdf (texdoc xyrefer). that might help. – barbara beeton Jan 26 '17 at 14:27

with tikz-cd (its syntax is to my opinion less cryptic as at xymatrix):


A \ar[r, bend  left=60, ""{name=U}]
  \ar[r, bend right=60, ""{name=D,below}]
        & B \ar[Rightarrow, from=U, to=D, "\varphi" description]

enter image description here

for details see tikz-cd documentation, page 8 and 11.


I adding, now, my proposal with xymatrix package.

enter image description here

&& Y 
\ar@{=>}|-{\varphi}"7" ;"8"}
  • 1
    My problem was the vertical arrow in the middle LOL. Thanks anyway =) – Dion Jan 26 '17 at 22:05
  • 1
    I ended up using tikz ^.^ – Dion Jan 26 '17 at 22:05

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.