<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>3.3 Spacing and rotation</TITLE>
<META NAME="description" CONTENT="3.3 Spacing and rotation">
<META NAME="keywords" CONTENT="xyguide-html">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="xyguide-html.css">
</HEAD>
<BODY LANG="EN" BGCOLOR="#FFFFFF">
<P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="entriesresizing" NAME="tex2html355" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html359" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html361" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html357" HREF="node25.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html363" HREF="node25.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00053000000000000000">3.3 Spacing and rotation</A></H2> The <code>*</code><em>object</em> form described above can be used to space
individual objects differently, however, it is also possible to
change the overall spacing of a matrix by inserting the
following codes <em>between</em> <code>\xymatrix</code> and the following <code>{</code>:<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=2><TR><TD> <code>@=</code><em>dimen</em> <TD> set spacing <TR><TD>
<code>@R=</code><em>dimen</em> <TD> set row spacing <TR><TD>
<code>@C=</code><em>dimen</em> <TD> set column spacing <TR><TD>
<code>@M=</code><em>dimen</em> <TD> set entry default margin <TR><TD>
<code>@W=</code><em>dimen</em> <TD> set entry default width <TR><TD>
<code>@H=</code><em>dimen</em> <TD> set entry default height <TR><TD>
<code>@L=</code><em>dimen</em> <TD> set label margin
</TABLE></CENTER><P>
<P>
<code>=</code> can be replaced by any of <code>+</code>, <code>+=</code>, <code>-</code>,
and <code>-=</code> of section <A HREF="node13.html#arrowsobjects">2.2</A> with the same meaning,
<I>i.e.</I>, replace "set" with "increase," "increase to at most,"
"decrease," and "decrease to at least," respectively. For example,
<code>$\xymatrix@1@=0pt@M=0pt{A&B\\C&D}$</code> in the text typesets <IMG WIDTH=31 HEIGHT=36 ALIGN=BOTTOM ALT="tex2html_wrap2750" SRC="img64.gif">.
<P>
In case <em>uniform spacing</em> is desired, several alternative
forms exist.
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=2><TR><TD> <code>@!</code> <TD> force all spaces equal <TR><TD>
<code>@!0</code> <TD> -- and ignore entry sizes <TR><TD>
<code>@!R</code> <TD> force equal row spacing <TR><TD>
<code>@!C</code> <TD> force equal column spacing
</TABLE></CENTER><P>
<P>
Finally a special notation allows <em>rotation</em> of an
entire matrix:
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=2><TR><TD> <code>@</code><I>d</I> <TD> rotate towards <I>d</I>
</TABLE></CENTER><P>
<P>
Only the matrix grid will rotate, however, not the actual contents.
<P>
<A NAME="Exercise17"> </A><H4><A NAME="SECTION00053010000000000000">Exercise 17.</A></H4> Typeset the "strip lemma" <BR><IMG WIDTH=206 HEIGHT=116 ALIGN=BOTTOM ALT="displaymath2752" SRC="img65.gif"><BR>
<P>
<A HREF="node33.html#Answer17">Answer.</A>
<P>
<P> <P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="tex2html355" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html359" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html361" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html357" HREF="node25.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html363" HREF="node25.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A><P><ADDRESS>
<BR><HR>
<a href="COPYING/index.html">�/a> <a href="http://www.brics.dk/~krisrose/">Kristoffer H. Rose</a>
<<a href="mailto:krisrose@brics.dk">krisrose@brics.dk</a>>
January 6, 1997
/
<a href="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT>v96.1-h</a>
</FONT>
</ADDRESS>
</BODY>
</HTML>
|