Take the 2-minute tour ×
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.

I find that using xymatrix with large nodes results in awkwardly placed arrows:

enter image description here

MWE:

\documentclass{book}
\usepackage{xypic}
\begin{document}
\xymatrix{
\textbf{Natural Numbers}
\ar@/_/[r]  &\textbf{Integers} \ar@/_/[l]
}
\end{document} 

Suggestions on placing these more elegantly would be gratefully received.

(If at all possible, I would prefer solutions that used xymatrix. I have a number of diagrams using xymatrix, most of which are unproblematic, and I would prefer not to have to convert them all to e.g. tikz.)

Note that the xymatrix manual has information on changing the target of an arrow, but not the source... and here it is the source ends that are problematic.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

I don't know the final product you have in mind but one of these can be selected (I don't know how to select the correct direction for the arrow head):

\documentclass{book}
\usepackage[all]{xy}
\begin{document}
\xymatrix{
\textbf{Natural Numbers} \ar@(ul,ur)[r] &\textbf{Integers} \ar@/^5mm/[l]
}
\end{document} 

enter image description here

share|improve this answer
    
\textbf{Natural Numbers}\ar@/^5.5mm/[r] &\textbf{Integers} \ar@/^5mm/[l] works nicely, with no arrow-head correction needed. –  Mohan Dec 18 '12 at 20:40

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.