Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/doc/generic/xypic/xyguide-html/node19.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>2.8 More bending arrows</TITLE>
<META NAME="description" CONTENT="2.8 More bending arrows">
<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="arrowsbend" NAME="tex2html291" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html295" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html297" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html293" HREF="node20.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html299" HREF="node20.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00048000000000000000">2.8 More bending arrows</A></H2>	Finally, arrows can bend around entries: just insert
	<code>`</code><IMG WIDTH=21 HEIGHT=15 ALIGN=BOTTOM ALT="tex2html_wrap_inline2688" SRC="img54.gif">, <I>i.e.</I>, a backquote and a direction <I>d</I> followed by
	a target <I>t</I>, for each "turn" that starts out in the
	<I>d</I>-direction and ends in a quarter turn towards the
	target&nbsp;<I>t</I>.  This is different from the curving described
	earlier in that all turns consist of a straight part ending in a turn
	which is a multiple of 18 circle segments, and each
	segment allows separate labels.
<P>
	The possible directions are those of section&nbsp;<A HREF="node9.html#basicsbends">1.6</A> and
	<A HREF="node17.html#arrowschanging">2.6</A>, and the possible targets include all those
	discussed above.  Actually the direction is only required for the
	first in a series of turns since the final direction of one turn is
	the obvious choice for the following turn.  Furthermore, turns can be
	changed from the default by adding either <code>^</code><I>d</I> for
	anticlockwise turn to <I>d</I> or <code>_</code><I>d</I> for clockwise turn to <I>d</I>,
	where <I>d</I> is the "exit direction" of the turn.
<P>
	Finally, the turns will have radius 10pt by default, but this
	can be changed to any dimension <I>R</I> from a particular turn and
	onwards by inserting <code>/</code><I>R</I> immediately after the <code>"</code> of the
	turn.	Here is an example involving all of
	these features:
<BLOCKQUOTE><PRE>\xymatrix{
 {\circ} \ar `r[d]   ^a
           `[rr]     ^b
           `/4pt[rr] ^c
           `[rrr]    ^d
           `_dl[drrr]^e
            [drrr]^f
         &amp; {\circ} &amp; {\circ} &amp; {\circ} \\
 {\circ} &amp; {\circ} &amp; {\circ} &amp; {\circ} }</PRE></BLOCKQUOTE>
<P>
	typesets
<P><CENTER><BR><IMG WIDTH=285 HEIGHT=84 ALIGN=BOTTOM ALT="displaymath857" SRC="img55.gif"><BR></CENTER><P>
	The example illustrates the following points:
<UL>
<LI>If the segment can not be made as short as required then it will
	point `past" the target.  This is useful for "going around"
	entries.
<LI>There is <em>one <code>`</code> per turn</em> thus each target appears as many
	times as there are turns towards it, except the last target that
	appears one more time namely both with <code>`</code> for each turn towards it
	<em>and</em> once as an "ordinary" target to set the final stretch.
<LI>The sizes of the intermediate targets are ignored.
<P>
</UL>
<P>
<A NAME="Exercise13">&#160;</A><H4><A NAME="SECTION00048010000000000000">Exercise 13.</A></H4>	Typeset <IMG WIDTH=82 HEIGHT=50 ALIGN=BOTTOM ALT="tex2html_wrap2716" SRC="img56.gif">&nbsp;.
<P>
<A HREF="node33.html#Answer13">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="tex2html291" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html295" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html297" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html293" HREF="node20.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html299" HREF="node20.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.