1.2 Entries
A diagram is created by the command \xymatrix { ... }
|
where the "..." should be replaced by entries to be aligned in rows and columns where
- entries in a row are separated by
&
and - entire rows are separated by
\\
.
was typeset by
Notice the following:\xymatrix{ A &*+[F]{\sum_{i=n}^m {i^2}} \\ & {\bullet} & D \ar[ul] }
- entries are typeset as mathematics (using "text style"); entries
should not start with a macro (as illustrated by the use of
{}
around\bullet
. - all entries are centered,
- the separation between rows and columns is usually quite large in a diagram,
- empty entries at the end of rows may be omitted,
- "Xy-decorations" (here
\ar[ul]
) in entries allow drawing of arrows and such relative to the entries without changing the overall layout, and - "Xy-modifiers" (here
*+[F]
) first in entries allow changing the format and shape in many ways.
© Kristoffer H. Rose <krisrose@brics.dk> January 6, 1997 / LaTeX2HTMLv96.1-h