Xy-pic User's Guide: Next: 2 More Arrows and . Up: 1 Basics. Previous: 1.6 Bends.

## 1.7 Speeding up typesetting

One thing that you will notice is that Xy-pic is sometimes slow in typesetting diagrams (this is to be expected considering the number of drawing operations performed as reflected by the number last in each `xymatrix` message). If you followed the rule of starting all entries with a (nonexpandable) character or `{` then you can insert the declaration

`\CompileMatrices`

in the preamble of your document: this will create temporary files containing compiled versions of each matrix that can be loaded very quickly; they are automatically recreated when a matrix is changed.

If this causes some diagrams to not work, then such compilation can be explicitly switched off by using `\xymatrixnocompile` instead of `\xymatrix`. Compilation can be switched completely off with `\NoCompileMatrices` (which respects TeX grouping as does `\CompileMatrices`, by the way).

Xy-pic User's Guide: Next: 2 More Arrows and . Up: 1 Basics. Previous: 1.6 Bends.