[Xy-pic] xy-pic Digest, Vol 85, Issue 2

Michael Barr barr at math.mcgill.ca
Wed Nov 9 13:45:11 CET 2011


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):

\documentclass{article}
\input diagxy
\begin{document}

  $$\bfig
\morphism/@{>}|-*@{|}/[A`B;]
\morphism/@{>}|-*@{|}/<500,500>[A`B;]
  \efig$$

\end{document}

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.

On Wed, 9 Nov 2011, xy-pic-request at tug.org wrote:

>
> Message: 1
> Date: Tue, 8 Nov 2011 22:01:03 -0800
> From: Vlad Patryshev <vpatryshev at gmail.com>
> To: xy-pic at tug.org
> Subject: [Xy-pic] crossed arrow
> Message-ID:
> 	<CAFhNTo8WEKO37=7RAfaFOt5khJuigi2kMdift_Ymrs0BPcb3WA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Seems like all my attempts to render via xypic an arrow that looks like
> this:
>
> ---|-->
>
> just failed. Any ideas, hints?
>
> Thanks,
> -Vlad
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://tug.org/pipermail/xy-pic/attachments/20111108/7bc8012c/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> xy-pic mailing list
> xy-pic at tug.org
> http://tug.org/mailman/listinfo/xy-pic
>
>
> End of xy-pic Digest, Vol 85, Issue 2
> *************************************
>


More information about the xy-pic mailing list