Document Classes ⇒ Enlarge XY-Pic diagrams?
Enlarge XY-Pic diagrams?
Does anyone know how to magnify XY-Pic diagrams?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Enlarge XY-Pic diagrams?
Hi Ed,
a simple method would be using \scalebox or \resizebox of the graphicx package, for example:
Alternatively you could change the spacing of the diagram, as it's described in the xy-pic user's guide, in the version on CTAN it's 3.3 Spacing and rotation. Of course the font size can be changed too.
Stefan
a simple method would be using \scalebox or \resizebox of the graphicx package, for example:
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[all]{xy}
\usepackage{graphicx}
\begin{document}
\scalebox{2}{
\begin{xy}
\xymatrix{
A \ar[r]^f \ar[d]_i & B \ar[d]^j \\
C \ar[r]_g & D
}
\end{xy}}
\end{document}
Stefan
LaTeX.org admin
Re: Enlarge XY-Pic diagrams?
Thanks!
"\scalebox" works like a charm!
"\scalebox" works like a charm!