Xy-pic User's Guide: Next: 1.7 Speeding up typesetting. Up: 1 Basics. Previous: 1.5 Breaks.

1.6 Bends

Arrows can be made to curve, for example to avoid going through another entry, using the special style @/curving/. The simplest styles of curving are the following, shown applied to an arrow from A to B:

As the last example shows a dimension can be inserted just after ^ or _ if more or less curving is desired.

In case it is easier to specify the in- and out-going directions of the curving then that is also possible: use

@(in,out)

where in and out are one of the following directions named as simple hops:

I this case the curving is computed such that the curve begins at the base entry in the in direction and ends at the target entry from the out direction (this means that and are mirror images. See section 2.6 for more directions).

 

Exercise 5.

Typeset

Answer.


Xy-pic User's Guide: Next: 1.7 Speeding up typesetting. Up: 1 Basics. Previous: 1.5 Breaks.



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