[Xy-pic] Conflict between xymatrix and 12pt ?
Robert Seely
rags at math.mcgill.ca
Sun Oct 31 20:34:41 CET 2010
It seems there may be a conflict between xymatrix and 12pt style, as
indicated by the following sample file:
%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}
\input xy
\xyoption{all}
\begin{document}
\[
\xymatrix at R=10pt at C=5pt{ x_1 & & x_2 \\
& *-[o]{\bullet} \ar@{-}[ul] \ar@{-}[ur] \\
}
\]
\end{document}
%%%%%%%%%%%%%%%%%%%%
This terminates with an error message:
Xy-pic Warning: division overflow [testac:13].
! Arithmetic overflow.
<recently read> \quotPTK@
HOWEVER: this doesn't appear to be a problem with xypic in general,
since if one uses Michael Barr's diagxy "front-end" to xypic, all is
fine. Eg, the following file TeXs just fine.
%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}
\input xy
\xyoption{all}
\input diagxy
\newdir{O}{\object{\bullet}}
\begin{document}
$$\bfig
\morphism(0,0)/-O/<175,-200>[x_1`;]
\morphism(350,0)/-O/<-175,-200>[x_2`;]
\morphism(600,0)/-O/<0,-200>[x_3`;]
\efig$$
\end{document}
%%%%%%%%%%%%%%%%%%%%%
Hoping for a "simple solution",
best regards, Robert (Seely)
--
<rags at math.mcgill.ca>
<www.math.mcgill.ca/rags>
More information about the xy-pic
mailing list