[Xy-pic] \newdir

Ross Moore ross.moore at mq.edu.au
Mon Mar 27 01:47:33 CEST 2017

Hi Michael,

On 27 Mar 2017, at 10:39, Michael Barr <barr at math.mcgill.ca<mailto:barr at math.mcgill.ca>> wrote:

Now I am really confused.  I tried the file you sent below and it didn't compile with an error that style file matrix not found.  So I changed {matrix} to [matrix] and got a message that \ar not defined.  So I changed [matrix] to [all] and it stopped with the following error message
! Xy-pic error: illegal <dir>: \dir { (} not defined.
\xyerror@ ...#2}\fi \errmessage {Xy-pic error: #1}
l.9   \xymatrix{A & B\\ C\ar@{{ (}->}[ur] & D }

Sorry,  it should start with


to pick up the      \newdir{ (}{….}    command.
Then the variant   \newdir_{ (}{….}   can be defined also.

Think: "you cannot have a variant of something that isn’t yet defined".

I am using the 2016 version of TeXLive, if it matters.


Hope this helps.


Dr Ross Moore

Mathematics Dept | 12 Wally’s Walk, 734
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>


[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/20170326/376cccca/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/20170326/376cccca/attachment.png>

More information about the xy-pic mailing list