[Xy-pic] XY and babel: an example

Ross Moore ross at ics.mq.edu.au
Tue Apr 5 00:54:54 CEST 2005


By the way, this also works:


\documentclass[11pt]{article}
\usepackage[french]{babel}
\french
   \usepackage[all]{xy}
\english
\begin{document}

\xymatrix at M=0pt{
A\ar[dr]!L&&A\ar[dl]\\
&B\POS!R\ar[u]
}

\end{document}

This has the advantage of not needing an edit for
every diagram.
The downside is that you may get really weird error
messages, with incomplete Xy-pic coding that results
in the ! being expanded rather than parsed.
There may be some other uses, deep inside some packages
or extensions, where this will fail too.

So, be warned!


Cheers,

	Ross


------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia                                  fax: +61 +2 9850 8114
------------------------------------------------------------------------



More information about the xy-pic mailing list