[Xy-pic] Re: xy-pic Digest, Vol 12, Issue 5

Michael Barr barr at barrs.org
Sat Mar 27 15:37:45 CET 2004


Since the original file was scratched, I don't know exactly what is wanted 
or what the problem is.  However, I have found the following very helpful 
for getting things vertically centred:
$$\left(\vcenter{
<an xy-pic'ture>
}\right)$$

Try it, although there are no guarantees.  Incidentally, in my diagxy 
package (which is a front end geared to category theory for xy-pic) the 
difference between \bfig...\efig and \xy...\endxy is that the former puts 
the entire picture into a \vcenter box.

Michael Barr

On Sat, 27 Mar 2004 xy-pic-request at tug.org wrote:

> Send xy-pic mailing list submissions to
> 	xy-pic at tug.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://tug.org/mailman/listinfo/xy-pic
> or, via email, send a message with subject or body 'help' to
> 	xy-pic-request at tug.org
> 
> You can reach the person managing the list at
> 	xy-pic-owner at tug.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of xy-pic digest..."
> 
> 
> Today's Topics:
> 
>    1. Problem with skewing(?) (Richard Lewis)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 24 Mar 2004 10:58:53 +0000
> From: Richard Lewis <xypic at rtf.org.uk>
> Subject: [Xy-pic] Problem with skewing(?)
> To: xy-pic at tug.org
> Message-ID: <8565cubjf6.fsf at rtf.org.uk>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi everyone,
> 
> I am trying to define a command \SliceObj (that will take three
> arguments: top, label and bottom) to typeset a vertical arrow, framed with parentheses (...),
> whose reference point should be the middle of the label.
> 
> Something like
>            
>    /       \
>   |  {#1}   |
>   |   |     |
>   |   |{#2} |
>   |   |     |
>   |   V     |
>   |  {#3}   |
>    \       /
> 
> with the reference in the middle of {#2}
> 
> I can draw the arrow and frame it (See attached .tex file), and I
> thought i could use the skewing operator (!) to move the reference
> point to the new positon:
> 
> "arrow-with-frame"!<new position>
> 
> However I can't get this to work: the position we end up after the
> skew is not <new position>, as (i think) the attached file shows, what
> am i doing wrong?
> 
> (This happens with or without the xymods.tgz patches, so presumably I
> have misunderstood something about the skewing operation?)
> 
> 
> Worse, trying to use my attempt inside an \xygraph can produce
> infinite loops (two examples of this can be found, commented out, in
> the attached file)
> 
> Any help gratefully appreciated!
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: slice-object-problem.tex
> Type: text/x-tex
> Size: 3246 bytes
> Desc: My skewing problem
> Url : http://tug.org/pipermail/xy-pic/attachments/20040324/dbb8b099/slice-object-problem-0001.bin
> 
> ------------------------------
> 
> _______________________________________________
> xy-pic mailing list
> xy-pic at tug.org
> http://tug.org/mailman/listinfo/xy-pic
> 
> 
> End of xy-pic Digest, Vol 12, Issue 5
> *************************************
> 



More information about the xy-pic mailing list