2

I have a diagram drawn with xypic, for example this one:

\begin{displaymath}
        \xymatrix@R=36pt@C=6pt{
\quad & C_7 \rtimes C_3 \\
C_7 \ar[ur] & C_3 \ar[u] \\
\end{displaymath}

and I want it to appear rotated by 90 degrees. I tried "adjustbox" but it gives me a "Bad math environment delimiter" error. What can I do?

  • How did you apply adjustbox? – Sango Aug 15 at 15:19
  • 1
    Your code is not compilable for me, add an complete MWE. – Jan Aug 15 at 20:30
3

Using rotating package with whatever correct code created with xy package (or xymatrix) works correctly. See this MWE (my syntax to create a commutative diagram with xy is perfect) with a rotation of 90 degrees (\begin{turn}{90}).

enter image description here

\documentclass[11pt]{article}
\usepackage{rotating}
\usepackage[all]{xy}
\begin{document}
\begin{turn}{90}
\begin{minipage}{\linewidth}
\xymatrix@1{A\ar[r]^<{+}&B}
\end{minipage}
\end{turn}
\end{document}

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.