Document Classesxypic diagram is too big

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
ticaccio
Posts: 2
Joined: Thu Nov 06, 2008 8:44 am

xypic diagram is too big

Post by ticaccio »

Hi,

i am currently using xypic to draw commutative diagrams in latex. But one of these turns out to be too big and does not fit the right margin of the page!

Is there a way to scale a diagram or something to make it fit my page?

Any help would really be appreciated!


Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

xypic diagram is too big

Post by localghost »

You can try the \scalebox command from the graphicx package.


Best regards and welcome to the board
Thorsten¹
ticaccio
Posts: 2
Joined: Thu Nov 06, 2008 8:44 am

Re: xypic diagram is too big

Post by ticaccio »

Thanks for your quick reply. But how do I use that?

my code is

$$
\xy
\xymatrix{
*Here is the diagram*
}
\endxy
$$
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

xypic diagram is too big

Post by localghost »

Please, take a careful look at the documentation (Section 4.3 - Scaling, p. 9). Perhaps the \resizebox command is the better solution.
Post Reply