Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
Are you interested in other ways of drawing such diagrams, for example in TikZ? If yes, we could show how this example would look with TikZ, or PSTricks. –  Stefan Kottwitz Jan 21 '12 at 9:54
    
@Stefan: Personally, I use xymatrix and I'm happy with it, but perhaps it is valuable to the community that the question be answered most completely; I'll leave it to your judgement. Thank you for the interest. –  lentic catachresis Jan 21 '12 at 12:42
    
I just wanted to show you possibilities, and well readable syntax and fine output of TikZ. No need to extend if you don't really wish it. –  Stefan Kottwitz Jan 21 '12 at 12:48

1 Answer 1

up vote 8 down vote accepted

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}
share|improve this answer
1  
I really used this? My (lack of) memory amazes me. Thank you, this is nice. However, how could I get the arrows to curve a little bit more? –  lentic catachresis Jan 21 '12 at 0:55
2  
@BrunoStonek \rtwocell<6>...; page 45 of xyrefer.pdf –  egreg Jan 21 '12 at 1:00
    
Thank you very much! –  lentic catachresis Jan 21 '12 at 1:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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