Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/doc/generic/xypic/xyguide-html/node5.html

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos ([email protected]), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>1.2 Entries</TITLE>
<META NAME="description" CONTENT="1.2 Entries">
<META NAME="keywords" CONTENT="xyguide-html">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="xyguide-html.css">
</HEAD>
<BODY LANG="EN" BGCOLOR="#FFFFFF">
 <P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="basicsentries" NAME="tex2html116" HREF="node4.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html120" HREF="node4.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html122" HREF="node3.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html118" HREF="node6.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html124" HREF="node6.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00032000000000000000">1.2 Entries</A></H2>	A diagram is created by the command
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=1><TR><TD> <code>\xymatrix</code><code>{</code>&nbsp;...&nbsp;<code>}</code>
</TABLE></CENTER><P>
<P>
	where the "..." should be replaced by <em>entries</em> to
	be <em>aligned in rows and columns</em> where
<UL>
<LI>	entries in a row are separated by <code>&amp;</code> and
<LI>	entire rows are separated by <code> \\</code>.
</UL>
	For example,
<P><CENTER><BR><IMG WIDTH=259 HEIGHT=103 ALIGN=BOTTOM ALT="displaymath73" SRC="img2.gif"><BR></CENTER><P>
	was typeset by
<BLOCKQUOTE><PRE>\xymatrix{
  A &amp;*+[F]{\sum_{i=n}^m {i^2}} \\
    &amp; {\bullet} &amp; D \ar[ul]     }</PRE></BLOCKQUOTE>
	Notice the following:
<UL>
<LI>entries are typeset as mathematics (using "text style"); entries
	should not start with a macro (as illustrated by the use of
	<code>{}</code> around <code>\bullet</code>.
<LI>all entries are centered,
<LI>the separation between rows and columns is usually quite large in a
	diagram,
<LI>empty entries at the end of rows may be omitted,
<LI>"Xy-decorations" (here <code>\ar[ul]</code>) in entries allow drawing of
	arrows and such relative to the entries without changing the overall
	layout, and
<LI>"Xy-modifiers" (here <code>*+[F]</code>) first in entries allow changing the
	format and shape in many ways.
<P>
</UL><P>&#160;<P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="tex2html116" HREF="node4.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html120" HREF="node4.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html122" HREF="node3.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html118" HREF="node6.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html124" HREF="node6.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A><P><ADDRESS>
<BR><HR>
<a href="COPYING/index.html">�/a> <a href="http://www.brics.dk/~krisrose/">Kristoffer H. Rose</a>
&lt;<a href="mailto:[email protected]">[email protected]</a>&gt;
January  6, 1997

/
<a href="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT>v96.1-h</a>
</FONT>

</ADDRESS>
</BODY>
</HTML>

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].