TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not know any TikZ so I cannot use this post, which otherwise is precisely what I am looking for. So how do I make such a square? The best I could come up with was


but it doesn't look good and does not work on vertical lines/arrows.

Now, having done this square my guess would be that the corners would be empty, that is, the edges would not meet each other. How do I fix that problem?

share|improve this question
up vote 12 down vote accepted

You want an arrowhead in the middle of the arrow? Use the ‘break’ via |-*=0@{>}. This drops the directional tip, taking up no space. It should work whatever the direction of the arrow.

Hope this helps,


BTW, the list Xy-pic@tug.org is the best point of contact for Xy-pic related questions.

share|improve this answer
Welcome to tex.SX! I hope you don't mind if we try to prove your last sentence wrong ... – Loop Space Nov 28 '10 at 21:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.