I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram:

enter image description here

looks like this one:

enter image description here

using exclusively the two-cell feature of xypic, or at least, keep the \uppertwocell and \lowertwocell commands and draw a {=>} arrow using -| feature.

Here is the code:

\xymatrix{\star &  & \star\lltwocell_{g{}_{1}g{}_{2}}^{g''_{1}g''_{2}}<7>{^{(\alpha'\circ\beta')\bullet(\alpha\circ\beta)}}}

Knowing that the second diagram was drawn using \ar commands, but in LyX environment, which prevent from scrolling horizontally the window, using only \ar commands is not very comfortable!

  • 1
    Just so you know: horizontal scrolling is coming. Not in LyX 2.1, but probably 2.2.
    – scottkosty
    Oct 4, 2013 at 19:58
  • Very good news! I hope it will not be after I finished my thesis :-D
    – ubugnu
    Oct 4, 2013 at 20:08

1 Answer 1


One approach with tikz-cd:


  \arrow[from=rr,bend right,"g_1 g_2"{above,name=U}] 
  \arrow[from=rr,bend left,"g_1'' g_2''"{below,name=D}] & 
(\alpha' \circ \beta') \bullet (\alpha \circ \beta) 
  \arrow[equal,from=U,shorten <=0.3333em] % 0.3333em from default inner sep value
  \arrow[Rightarrow,to=D,shorten >=0.3333em] & 

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .