Why is the following code not compiling?
\[
\xymatrix{
A \ar[rd]^{g \circ f} \ar[r]^f & B \ar[d]^g\\
C}
\]
I'm trying to get a commutative diagram with 3 objects (A, B and C) and 3 arrows (f, g and g ∘ f).
|
You're missing an
It's probably better to put the
|
|||
|
|
&before theC: just think to a matrix, for the diagram nodes. I'd use_{g\circ f}so that the label goes under the diagonal arrow. – egreg Jun 6 '12 at 17:22