Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/doc/generic/xypic/xyguide-html/node22.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 (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>3.1 Manual entry formatting</TITLE>
<META NAME="description" CONTENT="3.1 Manual entry formatting">
<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="entriesmanual" NAME="tex2html331" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html335" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html337" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html333" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html339" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00051000000000000000">3.1 Manual entry formatting</A></H2>	All the entries we have seen thus far have been simple math objects.
	However, it is possible to change the format of an individual
	entry by using the form:
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=1><TR><TD> <code>*</code><em>object</em> <em>arrows</em>
</TABLE></CENTER><P>
<P>
	This allows complete control over what object is placed in the entry,
	overriding any spacing and other conventions for the entry.  This was
	how the frame was obtained in the figure in
	section&nbsp;<A HREF="node5.html#basicsentries">1.2</A>.
<P>
	A simple use of this is to insert text in entries using <code>\txt</code> objects just like
	labels as described above in section&nbsp;<A HREF="node13.html#arrowsobjects">2.2</A>:
<BLOCKQUOTE><PRE>\xymatrix{
 *\txt{A very long and stupid\\program}
  \ar[rr]^-{\txt{weird\\arrow}}
 &amp;&amp;*\txt&lt;2pc&gt;{Com\-pli\-cated\\Code}}</PRE></BLOCKQUOTE>
will typeset
<P><CENTER><BR><IMG WIDTH=356 HEIGHT=82 ALIGN=BOTTOM ALT="displaymath977" SRC="img61.gif"><BR></CENTER><P>
<P>
<A NAME="Exercise16">&#160;</A><H4><A NAME="SECTION00051010000000000000">Exercise 16.</A></H4>	Typeset
<P><CENTER><BR><IMG WIDTH=260 HEIGHT=117 ALIGN=BOTTOM ALT="displaymath986" SRC="img62.gif"><BR></CENTER><P>
<P>
<A HREF="node33.html#Answer16">Answer.</A>
<P>
<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="tex2html331" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html335" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html337" HREF="node21.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html333" HREF="node23.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html339" HREF="node23.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:krisrose@brics.dk">krisrose@brics.dk</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 webmaster@9p.io.