[Xy-pic] xy-pic Digest, Vol 112, Issue 1

Michael Barr barr at math.mcgill.ca
Mon Jun 6 03:15:20 CEST 2016


You might get some ideas by looking at the diagxy package, invoked in xy by the [barr] option (sorry, it was not my choice of names):

\documentclass{article}
\usepackage[barr]{xy}

\begin{document}

 $$\bfig
 \node 1a(0,800)[R]
 \node 1b(1000,800)[S=\prod I(R)]
 \node 2a(400,400)[R/P]
 \node 2b(1000,400)[I(R/P)]
 \node 3a(0,0)[D]
 \node 3b(1000,0)[I(D)]
 \arrow [1a`1b;f]
 \arrow [1a`2a;]
 \arrow [1a`3a;g]
 \arrow [2a`2b;]
 \arrow |r|[1b`2b;\pi_P]
 \arrow [2a`3a;]
 \arrow [2b`3b;]
 \arrow |b|[3a`3b;=]
 \efig$$

\end{document}

A document/tutorial is loaded by:
texdoc diagxy.

Michael Barr


----- Original Message -----
From: xy-pic-request at tug.org
To: "<Unknown>" <xy-pic at tug.org>
Sent: Sunday, June 5, 2016 6:51:09 PM
Subject: xy-pic Digest, Vol 112, Issue 1

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. Arrow head direction using xy-pic (Ryan Sherrill)
   2. Re: Arrow head direction using xy-pic (Ross Moore)


----------------------------------------------------------------------

Message: 1
Date: Sun, 5 Jun 2016 17:35:07 -0500
From: Ryan Sherrill <ryanesherrill at gmail.com>
To: xy-pic at tug.org
Subject: [Xy-pic] Arrow head direction using xy-pic
Message-ID:
	<CAAN+52JvWc6Gdyn4_5ABNfvXs78=-9W6+oj_R=4Fq9qG58GPzg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Good afternoon all,

I joined the mailing list hoping for some suggestions with a problem I'm
having.  I've previously used xymatrix, but for a paper I'm working on I
need the ability to put lines with arrows at arbitrary locations in x-y
space.  In the following MWE I specified two points and then drew a line
between them. From the xy-pic reference manual I used `?>*' to combine two
commands and then tried to add an arrow head to the end of my line.

\documentclass{article}\usepackage[all]{xy}
\begin{document}
\xy(0,0)="A",(15,15)="B",
"A";"B"**@{.}?>*{>},\endxy
\end{document}

>From the MWE the arrow head appears but it is not in the same direction as
the line.  I would appreciate any assistance the group could offer.

Thank you,
Ryan Sherrill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xy-pic/attachments/20160605/b5428289/attachment-0001.html>

------------------------------

Message: 2
Date: Sun, 5 Jun 2016 22:50:57 +0000
From: Ross Moore <ross.moore at mq.edu.au>
To: Ryan Sherrill <ryanesherrill at gmail.com>
Cc: "xy-pic at tug.org" <xy-pic at tug.org>
Subject: Re: [Xy-pic] Arrow head direction using xy-pic
Message-ID: <DF3CA551-A08E-4ABA-8AF2-5C59EC242AFD at mq.edu.au>
Content-Type: text/plain; charset="utf-8"


On Jun 6, 2016, at 8:35 AM, Ryan Sherrill <ryanesherrill at gmail.com<mailto:ryanesherrill at gmail.com>> wrote:

Good afternoon all,

I joined the mailing list hoping for some suggestions with a problem I'm having.  I've previously used xymatrix, but for a paper I'm working on I need the ability to put lines with arrows at arbitrary locations in x-y space.  In the following MWE I specified two points and then drew a line between them. From the xy-pic reference manual I used `?>*' to combine two commands and then tried to add an arrow head to the end of my line.


\documentclass{article}
\usepackage[all]{xy}

\begin{document}

\xy
(0,0)="A",
(15,15)="B",
"A";"B"**@{.}?>*{>},


That just drops the ?>? character, not an arrowhead.

Instead try

"A";"B"**@{.}?>*@{>},

or simply   "A";"B"**@{.>}

Try also the effect of:    "A";"B"**@{>.>} or   "A";"B"**@{(.>}



\endxy

\end{document}

>From the MWE the arrow head appears but it is not in the same direction as the line.  I would appreciate any assistance the group could offer.

Thank you,
Ryan Sherrill
_______________________________________________
xy-pic mailing list
http://tug.org/mailman/listinfo/xy-pic

Hope this helps,
Ross


Dr Ross Moore

Mathematics Dept | Level 2, S2.638 AHH
Macquarie University, NSW 2109, Australia

T: +61 2 9850 8955  |  F: +61 2 9850 8114<tel:%2B61%202%209850%209695>
M:+61 407 288 255<tel:%2B61%20409%20125%20670>  |  E: ross.moore at mq.edu.au<mailto:rick.minter at mq.edu.au>

http://www.maths.mq.edu.au<http://mq.edu.au/>


[cid:image001.png at 01D030BE.D37A46F0]<http://mq.edu.au/>


CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.<http://mq.edu.au/>

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.<http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xy-pic/attachments/20160605/a38c90e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <http://tug.org/pipermail/xy-pic/attachments/20160605/a38c90e3/attachment.png>

------------------------------

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 112, Issue 1
**************************************


More information about the xy-pic mailing list