[Tex/LaTex] Drawing a particular commutative diagram


I can draw

enter image description here


X &\rTo^{\gamma} &Y & \lDotsto & \varepsilon_2\\
\dTo^\alpha  &\ruTo^\beta & & &\\
Z& \lDotsto &\varepsilon_3

and the following declarations in the preample


Can someone please show me how to modify things to obtain the following variant of the original diagram?

enter image description here

Thank you very much!

Best Answer

If you don't mind using xy-pic, the code

    {X} \ar[rr]^{\gamma} \ar[dr]^{\alpha}
    && {Y}\\
    {\varepsilon_{3}} \ar[r]
    & {Z} \ar[ur]^{\beta}
    & {\varepsilon_{2}} \ar[u]
  }% xymatrix


will produce

commutative diagram

For a tutorial on commutative diagrams using xy-pic, see section 8 of "Getting up and running with AMS-LaTeX", at https://www.ctan.org/tex-archive/info/amslatex-primer?lang=en

Related Question