Create commutative diagrams in LaTeX using XY-pic syntax for category theory and algebra notes.
\usepackage[all]{xy} \[ \xymatrix{ A \ar[r]^f \ar[d]_g & B \ar[d]^h \\ C \ar[r]_k & D } \]
\[ \xymatrix{ X \ar@/^/[r]^{\alpha} \ar@/_/[r]_{\beta} & Y } \]
Was this page helpful?