When I copy and paste the corrected code for example in this question, I get the following error message:
xymatrix 2x2 ! Missing number, treated as zero. to be read again \/ l.101 & C }
I've been using xymatrix/pic for a while now, and only recently I've been getting weird error messages like these when I try to implement diagonal arrows. What's going on?
So in a basic latex file, the code in question, and any code like it works just fine. So the problem lies in the particular file I'm working in now. What is possibly different about this file?
I isolated the problem. It turned out what made everything go awry was that I had renewed the command "
\char" in this file. So, original problem solved. However, can anyone tell me what
\char had to do with in the compilation of the diagram?