[Xy-pic] distance betwen double arriws

Michael Barr barr at math.mcgill.ca
Wed Mar 19 21:07:37 CET 2014


If you use diagxy (or the barr option in the latest version of xy), the 
problem does not seem to arise.  Or you can use the arrow offset feature 
to place the arrows separately.

Michael

On Wed, 19 Mar 2014, xy-pic-request at tug.org wrote:

> Send xy-pic mailing list submissions to
> 	xy-pic at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://tug.org/mailman/listinfo/xy-pic
> or, via email, send a message with subject or body 'help' to
> 	xy-pic-request at tug.org
>
> You can reach the person managing the list at
> 	xy-pic-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of xy-pic digest..."
>
>
> Today's Topics:
>
>   1. Re: double arrows (Ross Moore)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 20 Mar 2014 06:53:59 +1100
> From: Ross Moore <ross.moore at mq.edu.au>
> To: Davide Sangiorgi <Davide.Sangiorgi at cs.unibo.it>
> Cc: "xy-pic at tug.org list" <xy-pic at tug.org>
> Subject: Re: [Xy-pic] double arrows
> Message-ID: <BB70F58F-528C-475A-8D6E-DACC5043CC1E at mq.edu.au>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Davide,
>
> On 20/03/2014, at 12:18 AM, Davide Sangiorgi wrote:
>
>> Dear Ross:
>> Putting postive numbers does not seem to help:
>> now the shortening of the line and the dots go at the other end of the lines.  Thanks.  If you happen to find out something, i'd be very interested (i use weak arrows a lot in my talks)
>
> Here is a way to do it; but there is a catch.
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: texshop_image.jpeg
> Type: image/jpeg
> Size: 12652 bytes
> Desc: not available
> URL: <http://tug.org/pipermail/xy-pic/attachments/20140320/c9fb8c67/attachment.jpeg>
> -------------- next part --------------
>
>
> \ar @<2pt>@{-}@*{[|(4)]}[d(.68)]
> \ar @<-2pt>@{-}@*{[|(4)]}[d(.68)]
> \ar @2@{{}>}@*{[|(4)]}[d]
>
> That number (.68) needs to be found by trial and error.
> It is the fraction of the distance to the matrix position
> of the cell [d] from the target.
> It will be different for different diagrams if you adjust the
> row spacing, and different for longer arrows connecting cells
> further apart, etc.
>
> But if you use it a lot, some numbers with become quite common
> for you.
> In practice, you can pass it as an argument to a macro
> e.g. with argument pattern
>    \dblar[#1](#2)
>   ---> \ar @<2pt>@{-}@*{[|(4)]}[#1(#2)] etc.
>
>
>> Best regards,
>> DS
>
>
> Hope this helps,
>
> 	Ross
>
> ------------------------------------------------------------------------
> Ross Moore                                       ross.moore at mq.edu.au
> Mathematics Department                           office: E7A-206
> Macquarie University                             tel: +61 (0)2 9850 8955
> Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
> ------------------------------------------------------------------------
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: logo.png
> Type: image/png
> Size: 5257 bytes
> Desc: not available
> URL: <http://tug.org/pipermail/xy-pic/attachments/20140320/c9fb8c67/attachment.png>
> -------------- next part --------------
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> xy-pic mailing list
> xy-pic at tug.org
> http://tug.org/mailman/listinfo/xy-pic
>
>
> ------------------------------
>
> End of xy-pic Digest, Vol 104, Issue 2
> **************************************
>

-- 
        Every gun that is made, every warship launched, every rocket fired
signifies, in the final sense, a theft from those who hunger and are not
fed, those who are cold and are not clothed. -Dwight D. Eisenhower




More information about the xy-pic mailing list