Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/lib/texmf/doc/generic/xypic/xyguide-html/node17.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.6 Changing the target</TITLE>
<META NAME="description" CONTENT="2.6 Changing the target">
<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="arrowschanging" NAME="tex2html267" HREF="node16.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html271" HREF="node16.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html273" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html269" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html275" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00046000000000000000">2.6 Changing the target</A></H2>	It is possible to overwrite a target with another by
	appending something of the form <code>*</code><em>object</em> to it.  This
	has the effect of typesetting the <em>object</em> at the current
	position, thus effectively on top of the target, and then use what
	was typeset as the target.
<P>
	A target may also have its position changed by one of the
	following constructions:
<UL>
<LI><code>+</code><em>vector</em> or <code>-</code><em>vector</em> which changes the
	target to be a zero-sized one at the position obtained by adding or
	subtracting the <em>vector</em> to its center, or
<LI><code>!</code><em>vector</em> which moves the center of the target by the
	<em>vector</em>;
<P>
</UL>
	where a <em>vector</em> should have the form
<UL>
<LI><IMG WIDTH=82 HEIGHT=29 ALIGN=MIDDLE ALT="tex2html_wrap_inline2648" SRC="img48.gif"> , where <IMG WIDTH=60 HEIGHT=29 ALIGN=MIDDLE ALT="tex2html_wrap_inline2650" SRC="img49.gif"> are TeX dimensions, is the
	vector with those coordinates,
<LI>the following "corner offsets" of a target are vectors as shown:
<P><CENTER><BR><IMG WIDTH=244 HEIGHT=128 ALIGN=BOTTOM ALT="displaymath740" SRC="img50.gif"><BR></CENTER><P>
	(they must be specified in upper case), and
<LI><code>/</code><I>d</I> <em>dimen</em><code>/</code> is the <em>vector</em> going
	<em>dimen</em> in the particular direction <I>d</I> which can be either the eight simple ones in
	section&nbsp;<A HREF="node9.html#basicsbends">1.6</A>, empty to denote that the
	<em>current direction</em> (the last direction of an arrow)
	should be used, or one of the following:
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=2><TR><TD> <code>va(</code><IMG WIDTH=12 HEIGHT=10 ALIGN=BOTTOM ALT="tex2html_wrap_inline2656" SRC="img51.gif"><code>)</code> <TD> absolute angle <TR><TD>
 <I>d</I><code>:a(</code><IMG WIDTH=12 HEIGHT=10 ALIGN=BOTTOM ALT="tex2html_wrap_inline2656" SRC="img51.gif"><code>)</code> <TD> relative angle in degrees <TR><TD>
 <I>d</I><code>:(</code><I>x</I>,<I>y</I><code>)</code> <TD> relative vector <TR><TD>
 <I>d</I><code>^</code> / <I>d</I><code>_</code> <TD> short for <code>:a(90)</code> / <code>:a(-90)</code>
</TABLE></CENTER><P>
<P>
	where the <I>d</I> in the last four may be empty to denote the "current
	direction."
<LI><code>0</code> is the zero vector.
<P>
</UL>
	Many, many more possibilities are described in the reference
	manual&nbsp;[<A HREF="node34.html#RM95:Xy-picRM">8</A>].
<P>
<A NAME="Exercise11">&#160;</A><H4><A NAME="SECTION00046010000000000000">Exercise 11.</A></H4>	What is the difference between a target <I>t</I> and the target <I>t</I><code>+0</code>?
<P>
<A HREF="node33.html#Answer11">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="tex2html267" HREF="node16.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html271" HREF="node16.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html273" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><A NAME="tex2html269" HREF="node18.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection.gif"></A><A NAME="tex2html275" HREF="node18.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.