[Tex/LaTex] Natural transformation arrow

xy-pic

I'm trying to do the following with xymatrix:

image

This is a diagram I drew sometime ago… But now I don't have the source and I can't remember how I did it, nor can I find an easy, simple way to do it.

More specifically, what I forgot how to do is the vertical arrow in the middle.

Best Answer

The 2cell module is what you need:

\documentclass{article}
\usepackage[all,cmtip,2cell]{xy}
\UseTwocells

\begin{document}
\[
\xymatrix@C+2pc{
\mathsf{CRing} \rtwocell^{\mathsf{GL}_n}_{U}{\;\;\;\det} & \mathsf{Grp}
}
\]
\end{document}
Related Question