3

We suppose that we have a code build with xy package. For example this or another MWE:

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage[all]{xy}
\begin{document}
\xymatrix{
\Omega \ar@{->}[r] \ar@/{}^{2pc}/[r] & \Upsilon \ar@{->}[r]  & \Psi
}
\end{document}

What are the command to shift a curved arrow to left or to right without altering the positions of symbols or adding &'s appropriately?

Thank you very much in advance everyone.

3

You can change the “in” and “out” directions (section 1.6 of the guide):

\documentclass[a4paper,12pt]{article}
\usepackage[all,cmtip]{xy}
\begin{document}

\[
\xymatrix{
\Omega \ar[r] \ar@/{}^{2pc}/[r] & \Upsilon \ar[r]  & \Psi
}
\]

\[
\xymatrix{
\Omega \ar[r] \ar@(u,u)[r] & \Upsilon \ar[r]  & \Psi
}
\]

\end{document}

enter image description here

You have more control with tikz-cd:

\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}

\begin{document}

\[
\begin{tikzcd}
\Omega \arrow[r] \arrow[r,bend left=90] & \Upsilon \ar[r]  & \Psi
\end{tikzcd}
\]


\[
\begin{tikzcd}
\Omega \arrow[r] \arrow[r,bend left=90,looseness=1.7] & \Upsilon \ar[r]  & \Psi
\end{tikzcd}
\]

\end{document}

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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