Using babel and xypic

As widely documented, babel redefines the catcode for several characters, making xypic pictures to fail. The cure is to use \shorthandoff{}, like this (the spanish option redefines "):

\shortandoff{"}
\xy (stuff) \endxy
\shorthandon{"}
comments powered by Disqus