\documentclass[a4paper,11pt]{article}% Lars Madsen
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage[all,line,dvips]{xy}
\CompileMatrices
\begin{document}


\xymatrix{
 & 0 \ar[rr] & & A^p \ar@{^{(}->}[rr]^{f^p} \ar[ld]_{d_A^p} \ar'[d][dd]^{\alpha^p} & & B^p \ar@{>>}[rr]^{g^p} \ar[ld]_{d_B^p}
 \ar@/^/@{.>}[ld] \ar'[d][dd]^{\beta^p} & & C^p \ar[rr] \ar[ld]_{d_C^p} \ar@/^/@{.>}[ll] \ar'[d][dd]^{\gamma^p} \ar@/_/@{.>}[dd] & & 0 \\
0 \ar[rr] & & A^{p+1} \ar@{^{(}->}[rr]^(.7){f^{p+1}} \ar[dd]^(.3){\alpha^{p+1}} \ar@/_/@{.>}[dd] & & B^{p+1}
 \ar@{>>}[rr]^(.7){g^{p+1}} \ar@/^/@{.>}[ll] \ar[dd]^(.3){\beta^{p+1}} & & C^{p+1} \ar[rr] \ar[dd]^(.3){\gamma^{p+1}} & & 0 & \\
 & 0 \ar'[r][rr] & & A_1^p \ar[ld]_{d_{A_{1}}^p} \ar@{^{(}->}'[r]^{f_1^{p}}[rr] & & B_1^p \ar[ld]_{d_{B_1}^p} \ar@{>>}'[r]^{g_1^{p}}[rr]
 \ar@/^/@{.>}[ld] & & C_1^p \ar[rr] \ar[ld]_{d_{C_1}^p} \ar@/^/@{.>}[ll] & & 0 \\
0 \ar[rr] & & A_1^{p+1} \ar@{^{(}->}[rr]^{f_1^{p+1}} & & B_1^{p+1} \ar@{>>}[rr]^{g_1^{p+1}} \ar@/^/@{.>}[ll] & & C_1^{p+1} \ar[rr] & &
 0 &
}
\end{document} 
