[Xy-pic] problem with [@] in labels

Richard Lewis mapc01 at bangor.ac.uk
Fri Sep 5 16:59:46 CEST 2003

Consider the following two matrices. (See also the thread starting
with Message-ID: <3f554cde at shknews01> on comp.text.tex)


\xymatrix{ A & B \ar[dl]|*[@]{\labelstyle{foo}} \\ C & D}

\xymatrix{ A & B  \\ C\ar@{<-}[ur]|*[@]{\labelstyle{foo}} & D}

[@] is aligns the label with the direction of the arrow, which it does
correctly, but in the first case the `foo' is printed on top of the
arrow (the second case is correct, in that the arrow is broken to make
space for the `foo').  Is this a bug?

This happens in \xygraph too:

    B [dl] C
    "B":|*[@][F.]{\labelstyle{foo}} "C"
    b [dl] c
    "c":@{<-}|*[@][F.]{\labelstyle{foo}} "b"

More information about the xy-pic mailing list