# [Xy-pic] Environment form of Xy-pic

Rafael Villarroel rvf_lists at fastmail.fm
Wed Jun 2 22:33:04 CEST 2004

I want to do some macros for big commutative diagrams (with more than
9 arguments), and it would help a lot if there were an environment
equivalent of the \xymatrix command, so that for example

\newcommand{\arrowd}[3]{\xymatrix{#1\ar[r]^{#2}#3}}

is equivalent to

\newcommand{\arrowd}[3]{%
\begin{someenv}
#1\ar[r]^{#2}#3
\end{someenv}

for some suitable someenv environment.

Any comments on this would be appreciated. Thanks

Rafael