[Xy-pic] injection

Les Saper saper at math.duke.edu
Thu Oct 9 11:28:08 CEST 2003


Vadim,

Having the smaller hook looks very nice; thank you!  Of course in 
either method, users will want to include the command 

\SelectTips{cm}{}

in the preamble to ensure that the arrow tips are compatible with
Computer Modern.

- Les

On Oct 9,2003 18:12:21 +0400, Vadim Yu. Radionov <vadim at mccme.ru> wrote :
>Dear Oliver!
>
>On Thu, 9 Oct 2003, Les Saper wrote:
>
>> Dear Olivier,
>>
>> I define a tip style in the preamble:
>>
>> \newdir^{ (}{{}*!/-5pt/@^{(}}%  % A new tip style for right hook arrows.
>>                                 % This means the object given by
>>                                 % directional ^{(} has its reference point
>>                                 % shifted ! by the vector /-5pt/ .
>>
>> Then to produce a righthook arrow in an xymatrix I use (for
>> example):
>>
>> \ar@{^{ (}->}[r]
>>
>> Hope this helps.
>>
>> - Les
>
>This is an excellent XYpic code; but it looks quite different from
>\hookrightarrow.  For horizontal arrows, you can type
>
>\xymatrix{A \lhook\mkern-7mu \ar[r] & B}
>
>together with
>
>\entrymodifiers={+!!<0pt,\fontdimen22\textfont2>}
>
>and similar for \hookleftarrow
>
>Sincerely yours,
>Vadim
>_______________________________________________
>xy-pic mailing list
>http://tug.org/mailman/listinfo/xy-pic
>


-----------------------------------------------------------
Leslie Saper                    e-mail: saper at math.duke.edu
Department of Mathematics       phone: 919-660-2843
Duke University                 Fax: 919-660-2821
Box 90320
Durham, NC   27708-0320
USA








More information about the xy-pic mailing list