X
Y
pic User’s Guide
Kristoffer H. Rose
h
[email protected]
i
×
Version 3.7, February 16, 1999
Abstract
X
Y
pic is a package for typesetting graphs and diagrams
using Knuth’s T
E
X typesetting system. X
Y
pic works with
most of the many formats available;
e
.
g
., plain T
E
X,
L
A
T
E
X, and
A
M
S
T
E
X. Several styles of input for various
diagram types are supported; they all share a mnemonic
notation based on the
logical composition of visual com
ponents
.
This guide concentrates on how to typeset
“matrixlike” diagrams, such as commutative diagrams,
in the following style:
U
y
x
%
(
x,y
)
#
X
×
Z
Y
q
p
/
X
f
Y
g
/
Z
was typeset by the X
Y
pic input lines
\xymatrix{
U \[email protected]/_/[ddr]_y \[email protected]/^/[drr]^x
\[email protected]{.>}[dr]{(x,y)}
\\
& X \times_Z Y \ar[d]^q \ar[r]_p
& X \ar[d]_f
\\
& Y \ar[r]^g
& Z
}
Such diagrams have the following characteristics:
•
Specified as a matrix of entries that are automati
cally aligned in rows and columns.
•
Any entry may be connected to any other en
try using a variety of arrow styles all rotated and
stretched as required.
•
Arrows may be decorated with labels that are tied
to a specified point along the arrow and extend in
a particular direction; and arrows may be paired,
cross, and visit/bend around other entries “on the
way.”
Several other styles of input are supported; a short survey
of the possibilities is included last at the end along with
information on how X
Y
pic can be obtained.
Contents
Preface
2
1
Basics
2
1.1
Loading
. . . . . . . . . . . . . . . . .
2
1.2
Entries
. . . . . . . . . . . . . . . . . .
2
1.3
Arrows
. . . . . . . . . . . . . . . . . .
2
1.4
Labels
. . . . . . . . . . . . . . . . . .
3
1.5
Breaks
. . . . . . . . . . . . . . . . . .
3
1.6
Curving
. . . . . . . . . . . . . . . . .
4
1.7
Speeding up typesetting
. . . . . . . .
4
2
More Arrows and Labels
4
2.1
Explicit label positioning
. . . . . . .
4
2.2
Labeling with any object
. . . . . . . .
5
2.3
More arrow styles
. . . . . . . . . . . .
5
2.4
Sliding arrows sideways
. . . . . . . .
6
2.5
More targets
. . . . . . . . . . . . . .
6
2.6
Changing the target
. . . . . . . . . .
7
2.7
Arrows passing under
. . . . . . . . .
7
2.8
More bending arrows
. . . . . . . . . .
8
2.9
Defining new arrow types
. . . . . . .
8
3
More Entries
9
3.1
Manual entry formatting
. . . . . . . .
9
3.2
Extra entries outside the matrix
. . .
9
3.3
Spacing and rotation
. . . . . . . . . .
9
3.4
Entry style
. . . . . . . . . . . . . . .
10
3.5
Naming for later use as targets
. . . .
10
3.6
Grouping objects
. . . . . . . . . . . .
10
4
Availability and Further Information
11
4.1
Getting X
Y
pic
. . . . . . . . . . . . . .
11
4.2
Backwards compatibility
. . . . . . . .
11
4.3
Further reading
. . . . . . . . . . . . .
12
4.4
Credits
. . . . . . . . . . . . . . . . . .
13
A Answers to all exercises
13
References
14
Index
15
×
Laboratoire de l’Informatique du Parall´
elisme, Ecole Normale Sup´
erieure de Lyon; 46, All´
ee d’Italie; F–69364 Lyon 7, France.
1
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Preface
This guide explains some features of X
Y
pic that are
relevant to typesetting of “matrixlike diagrams” as
used in, for example, category theory; please refer to
the reference manual [8] for complete information on
the described constructions. The guide assumes that
you have some experience in using T
E
X for typeset
ting mathematics,
e
.
g
., have studied [2, ch. 16–19], [3,
sec. 3.3], or [9], and that X
Y
pic is installed on your
T
E
X system as described in the
INSTALL
file accom
panying the distribution.
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '10
 tao/analysis
 arrow, TeX, \ar

Click to edit the document details