[Xy-pic] moving the label away from the arrow (Baptiste Calm?s)

Christian Plattner Christian.Plattner at student.uibk.ac.at
Tue Apr 17 14:16:13 CEST 2007


My solution is not very beautiful, but try adding white wpace ("~" or 
"\," or \quad) to the label before/after the actual text...

$$\xymatrix{ A \ar@{}[r]|{\subseteq}^{\quad a} & B}$$

- chris

xy-pic-request at tug.org ha scritto:
> Hello,
> I'm trying to use a label on an arrow, and to move it away from the 
> arrow (because it overlaps for some reason). I have seen that there are 
> options to change the positioning of the label along the arrow, but I 
> can't find anything to move it away. Am I missing something?
> Here is the code in which I would like to move the label away:
> $$\xymatrix{ A \ar@{}[r]|{\subseteq}^{a} & B
> }$$
> As a replacement idea, I wanted to put the label on an extra invisible 
> arrow that I would curve, but for some reason, if I curve an invisible 
> arrow, it becomes visible. Is that normal?
> Here is the code:
> $$\xymatrix{
> A \ar@{}[r]|{\subseteq} \ar@{}@/^/[r]^{b} & B
> }$$
> I tried the manual and searching the mailing list, but I can't find 
> anything on this subject.
> Thanks for any hint,
> Baptiste

More information about the xy-pic mailing list