[Xy-pic] arrow length

Ross Moore ross at ics.mq.edu.au
Thu Nov 13 23:58:21 CET 2003


Hello Maja,


On Tue, 11 Nov 2003, Maja Karaga wrote:

>
> Dear everyone,
> I would like to know how to make my arrows shorter, i.e. how to make them
> finish a little before the object, all in \xymatrix environment.

You cannot do it easily *within* the \xymatrix structure,
but you *can* do it afterwards:

\begin{xy}
 \xymatrix...{....
   .... here's the matrix cells ...
 }%
 \POS "1,4",\ar@{}"3,5",\ar"3,5"!E-/15pt/*{}
\end{xy}

will draw an arrow from the "1,4" cell (top row, 4th col)
towards the "3,5" (i.e. [ddr] from the source cell)
but finish at a point shifted from where it would normally (!E)
by 15pt back along the arrow's direction.

My variant of your example at
   http://www-texdev.ics.mq.edu.au/MAJA/test2.pdf

now shows an example of this.

>
> Thanks in advance for your help,

Hope this helps,

	Ross Moore


> Maja
>
>
> M.Karaga,
> Department of Mathematics,
> University of Zagreb
>
>
> _______________________________________________
> xy-pic mailing list
> http://tug.org/mailman/listinfo/xy-pic
>


More information about the xy-pic mailing list