Xy-pic User's Guide: Next: 3.4 Entry style. Up: 3 More Entries. Previous: 3.2 Extra entries outside .

3.3 Spacing and rotation

The *object 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 between \xymatrix and the following {:

@=dimen set spacing
@R=dimen set row spacing
@C=dimen set column spacing
@! uniform spacing
@!R uniform row spacing
@!C uniform column spacing

In the first three you can use the operators +, +=, -, and -=, instead of = with the same meaning as in section 2.2, i.e., replace `set' with `increase', `increase to at most', `decrease', and `decrease to at least', respectively. For example, $\xymatrix@1@=0pt@!{A&B\\ C&D}$ in the text typesets .

Finally a special notation allows rotation of an entire matrix:

@d rotate towards d

Only the matrix grid will rotate, however, not the actual contents.


Xy-pic User's Guide: Next: 3.4 Entry style. Up: 3 More Entries. Previous: 3.2 Extra entries outside .



© Kristoffer Høgsbro Rose <kris@diku.dk> / October 18, 1995.