Oh, this is really cool! Yes, it works.<br>Still I have to consider using diagxy... although my representation of diagrams is more for serializing/deserializing: <br>"({0}, {0: 0 -> 0, 1: 0 -> 0, 2: 0 -> 0}, {1 o 1 = 2, 1 o 2 = 0, 2 o 1 = 0, 2 o 2 = 1})"<br>
"({1, 2}, {1: 1->1, 2: 2->2, 2_1: 2->1}, {2 o 2_1 = 2_1})"<br><br clear="all">Thanks a lot anyway!<br>-Vlad<br>
<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 4:45 AM, Michael Barr <span dir="ltr"><<a href="mailto:barr@math.mcgill.ca">barr@math.mcgill.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The following works in diagxy and, although I haven't tested it, I can see no reason it wouldn't work in native xy-pic (for which diagxy is a front end):<br>
<br>
\documentclass{article}<br>
\input diagxy<br>
\begin{document}<br>
<br>
 $$\bfig<br>
\morphism/@{>}|-*@{|}/[A`B;]<br>
\morphism/@{>}|-*@{|}/<500,<u></u>500>[A`B;]<br>
 \efig$$<br>
<br>
\end{document}<br>
<br>
Notice that it also works at angles other than horizontal.  The crucial part is |-*@{|}.  The | means center it vertically (this on a horizontal arrow), the - means center it horizontally, the star means (if I recall correctly) put the label in a 0 width box and finally @{|} tells what to put there.<div>
<div></div><div class="h5"><br>
<br>
On Wed, 9 Nov 2011, <a href="mailto:xy-pic-request@tug.org" target="_blank">xy-pic-request@tug.org</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Message: 1<br>
Date: Tue, 8 Nov 2011 22:01:03 -0800<br>
From: Vlad Patryshev <<a href="mailto:vpatryshev@gmail.com" target="_blank">vpatryshev@gmail.com</a>><br>
To: <a href="mailto:xy-pic@tug.org" target="_blank">xy-pic@tug.org</a><br>
Subject: [Xy-pic] crossed arrow<br>
Message-ID:<br>
        <CAFhNTo8WEKO37=<a href="mailto:7RAfaFOt5khJuigi2kMdift_Ymrs0BPcb3WA@mail.gmail.com" target="_blank">7RAfaFOt5khJui<u></u>gi2kMdift_Ymrs0BPcb3WA@mail.<u></u>gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
Seems like all my attempts to render via xypic an arrow that looks like<br>
this:<br>
<br>
---|--><br>
<br>
just failed. Any ideas, hints?<br>
<br>
Thanks,<br>
-Vlad<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://tug.org/pipermail/xy-pic/attachments/20111108/7bc8012c/attachment-0001.html" target="_blank">http://tug.org/pipermail/xy-<u></u>pic/attachments/20111108/<u></u>7bc8012c/attachment-0001.html</a>><br>

<br>
------------------------------<br>
<br>
______________________________<u></u>_________________<br>
xy-pic mailing list<br>
<a href="mailto:xy-pic@tug.org" target="_blank">xy-pic@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xy-pic" target="_blank">http://tug.org/mailman/<u></u>listinfo/xy-pic</a><br>
<br>
<br>
End of xy-pic Digest, Vol 85, Issue 2<br>
******************************<u></u>*******<br>
<br>
</blockquote>
</div></div></blockquote></div><br>