Document Classes ⇒ Enlarge XY-Pic diagrams?
Enlarge XY-Pic diagrams?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Enlarge XY-Pic diagrams?
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
Re: Enlarge XY-Pic diagrams?
"\scalebox" works like a charm!