[OS X TeX] oval-like arrow in XY-diagram

Ross Moore ross at ics.mq.edu.au
Tue Mar 13 13:25:25 CET 2007


On 13/03/2007, at 9:36 AM, delanoy at math.univ-lyon1.fr wrote:

>
>
>    Hello all,
>
>  is there a tool in the XY-package (or some other LaTeX package) that
> produces the same output (or almost the same) as the following :
>
> \begin{document}
> \setlength{\unitlength}{1cm}
> \begin{picture}(12,3.5)
> \put(1,2){A}
> \put(1.4,2.1){\vector(1,0){1.5}}
> \put(3,2){B}
> \put(3.4,2.1){\vector(1,0){1.5}}
> \put(5,2){C}
> \put(3.2,1.8){\oval(3.8,1)[b]}
> \put(5.1,1.75){\vector(0,1){0.1}}
> \put(2,2.5){$f$}
> \put(4,2.5){$g$}
> \put(3,1){$f \circ g$}
> \end{picture}
> \end{document}


Sure can.

Try this:

$$\xymatrix @C=3pc @R=1pc {
A \ar[r]^f \ar `d[drr]  `[rr]_{f\circ g} [rr]
& B \ar[r]^g
& C &
\\& & & %%% need this blank row below to guide the curved arrow
}$$


Also, see \S 2.8 of  xyguide.pdf .


Hope this helps,

	Ross


>
>                               Thanks in advance,
>
>                                             Ewan
>
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
>

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list