[Tex/LaTex] way to resize a figure created with xymatrix

diagramsscalingxy-pic

I've drawn some figures using xymatrix, but they're much larger than I'd like them to be. Is there a way to resize them? I'd be happy to cut them down to a fixed percentage of the original or to a given size. I know how to change the size of the entries using the standard font size changing commands, but I really want to make the arrows shorter as well.

Best Answer

If you're using \xymatrix, you can change the row spacing, the column spacing, or both by adding the appropriate command in between the \xymatrix command and the opening brace. The file xyguide.pdf, in section 3.3 (Spacing and Rotation), on page 10, lists the commands as:

@=dimen   set spacing
@C=dimen  set column spacing
@R=dimen  set row spacing
You use this as in, e.g.,
\begin{equation*}
  \xymatrix@C=1em{
    {A} \ar[r] \ar[d]
    & {B} \ar[d]\\
    {C} \ar[r]
    & {D}
  }
\end{equation*}
Related Question