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

In \xymatrix, the command
\ar@{}[dr] |{\text{lab}}
typesets an empty arrow, broken by some text. Similarly, the command
\ar@/^10pt/ @{->}[ur] |{\text{lab}}
typesets a curving arrow, broken by some text. I would expect
\ar@/^10pt/ @{}[ur] |{\text{lab}}
then to typset a curving, empty arrow, broken by some text, but it doesn't. Is there a convenient way to achieve curving, empty, broken?

Here is a minimal example:

\documentclass{amsart}  
\usepackage[all]{xy}  
\begin{document}  
\begin{equation}  
\xymatrix{  
a \ar@/^10pt/ @{}[r] |{\text{lab}} & b  
}  
\end{equation}  
\end{document}
share|improve this question
up vote 2 down vote accepted

I don't know why this happens, but replacing \ar@{} by \ar@{{ }{ }} or \ar@{ { }} works. But \ar@{{ } } does not :). A minimal working example:

\documentclass{amsart}
\usepackage[all]{xy}
\begin{document}
\xymatrix{a \ar @{{ }{ }} @/^10pt/ [r] |{\text{lab}} & b}
\end{document}

If someone knows why this happens, edit me. My guess is that being more explicit to xy helps it.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.