I want to typeset two different kinds of arrows, as in

  \cdot \ar@{{(}{-}{>}}[r]^a & \cdot \\
  \cdot \ar@{{)}{-}{>}}[r]^a & \cdot 

which produces

Custom arrow tail alignment

Object alignment is fine, of course, but I want the arrows to have the same length, too. That is, the left of ")" (red) should be vertically aligned to the left of "(" (green).

Does anybody know how to do it?

I know there are "similar", well-aligned tips and tails such as ^c and many others, and I also know, that TikZ is said to offer an easier way of redefining arrow tips. Sadly, it must be a xymatrix and it must be "(" and ")".

Any suggestion greatly appreciated!!!

1 Answer 1


Use a workaround similar to https://tex.stackexchange.com/a/177255/4427


\newdir{ )}{{}*!/-0.6em/@{)}} % exercise 14


  \cdot \ar@{(->}[r]^a & \cdot \\
  \cdot \ar@{ )->}[r]^a & \cdot


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .