I want to make a commutative diagram that has pauses ingrained in them using the \xymatrix command. I want to build up a diagram in my presentation piece-by-peace, but I'm not very sure how to make it happen. Here's a picture of what I want to make. enter image description here

However, I don't want to make it appear all at once. I want to start from $X$, then show $f_0$ going to $Y_0$, then show $f_1$ going to $Y_1$, and then show $g_0$ going from $Y_1$ to $Y_0$, etc...

Any help on this would be greatly appreciated. Here's a mini version of my file code for what I made:


%\usefonttheme{professionalfonts} % using non standard fonts for beamer
%\usefonttheme{serif} % default family is serif
%\setmainfont{Times New Roman}


\setbeamertemplate{theorems}[ams style]



& & & & & & X \ar[dllllll]|-{f_0} \ar[dlllll]|-{f_1} \ar@{.>}[dllll] \ar[dlll]|-{f_k} \ar@{.>}[dll] \ar[dl]|-{f_{i-1}} \ar[dr]|-{\color{red}{f_i}}\\
Y_0 & \ar[l]^{g_0} Y_1 & \ar@{.>}[l] \cdots & \ar[l]^{g_{k-1}} Y_k & \ar[l]^{g_k} \cdots & \ar[l]^{g_{i-2}} Y_{i-1} & & \ar[ll]^{\color{red}{g_{i-1}}} \color{red}{Y_i}


1 Answer 1


You can use \uncover or similar inside your \xymatrix. For example to uncover Y_i:



& & & & & & X \ar[dllllll]|-{f_0} \ar[dlllll]|-{f_1} \ar@{.>}[dllll] \ar[dlll]|-{f_k} \ar@{.>}[dll] \ar[dl]|-{f_{i-1}} \ar[dr]|-{\color{red}{f_i}}\\
Y_0 & \ar[l]^{g_0} Y_1 & \ar@{.>}[l] \cdots & \ar[l]^{g_{k-1}} Y_k & \ar[l]^{g_k} \cdots & \ar[l]^{g_{i-2}} Y_{i-1} & & \ar[ll]^{\color{red}{g_{i-1}}} \uncover<2->{\color{red}{Y_i}}


enter image description here

  • Thanks, but it didn't seem to work. It still reveals the entire diagram instead of piece-by-piece. Feb 22, 2017 at 0:27
  • @gorzardfu The above examples reveals only the Y_i, everything else is left as an exercise for the reader :) Feb 22, 2017 at 0:32
  • ohhh I see now. I didn't notice that at first, thanks a ton! Feb 22, 2017 at 3:29

Not the answer you're looking for? Browse other questions tagged .