Within the statement of a theorem, I have two commutative diagrams. I am trying to use pb-diagram to create them and I would like them to be side by side. Unfortunately the size of the commutative diagrams seem to depend on the size of the symbols at the nodes, and the two commutative diagrams come out to be different sizes. Is there any way to fix this?
Here is the code I have right now:
\documentclass[12pt]{amsart}
\usepackage[arrow,matrix,curve,cmtip,ps]{xy}
\usepackage{pb-diagram}
\usepackage{pb-xy}
\usepackage{amsmath,amsthm,amssymb}
\begin{document}
\begin{equation}
\begin{diagram}
\node{\mathcal{C}_R}\arrow{e,t}{P}\arrow{s,l,J}{\Psi}\node {\mathcal{C}_R}\arrow{s,l,J}{\Psi}\\
\node{\widehat{\mathcal{C}}_R}\arrow{e,t}{E(P)}\node{\widehat{\mathcal{C}}_R}
\end{diagram}\hspace{40pt}
\begin{diagram}
\node{\mathcal{C}_{R,\,\operatorname{top}}}\arrow{e,t}{P}\arrow{s,l,J}{\Psi}\node {\mathcal{C}_{R,\,\operatorname{top}}}\arrow{s,l,J}{\Psi}\\
\node{\widehat{\mathcal{C}}_{R,\,\operatorname{top}}}\arrow{e,t}{E(P)}\node{\widehat{\mathcal{C}}_{R,\,\operatorname{top}}}
\end{diagram}
\end{equation}
\end{document}
and here is the result of compiling:



.texfile, starting with\documentclass? In particular, I'm wondering which package you're loading to get thediagramenvironment. – John Wickerson May 20 '13 at 17:17