[Xy-pic] Question about building new arrow-heads

Michael Abbott michael at araneidae.co.uk
Sat May 24 14:24:49 CEST 2003

I fear the core xy language is incompatible with my brain.  So I'll just
ask for the answers, please, if anybody knows.

1.  I want an open headed arrow.  I'm currently using the definition in
the reference which is:


but of course this has the problem that the arrowhead is *centered* on the
target rather than ending on the target.  As a hack I use

	\newdir{|> }{{}*!/-10pt/@{|>}}

but this is stupid: I'd rather define \dir{|>} right.  I've tried hacks
along the lines of

	% This one is a total mess:

I'm clearly missing the point altogether here.

2.  I want an arrow that looks like this: --->|>, ie an open head arrow
with an arrow right behind it.  I can't figure out which variant of the
xy language is in play inside the \newdir{>|>}{...} environment, and
everything I try is one of: wrong, a syntax error, an infinite loop.

I can't see how to drop one component and then move on to the next without
disturbing the first drop.

More information about the Xy-pic mailing list