MathJax
MathJax copied to clipboard
amscd and alignment of cells
MathJax's amscd implementation seems to center some cells that "real" amscd aligns right.
For example, in the following, an author added hspace to get the \square to be roughly centered, which comes out quit differently in MathJax.
\begin{equation}
\begin{CD}
X@<<< X'@<{j'}<<U'&=U\times _XX'\\@VfVV \hspace{-10mm} \square \hspace{7mm} @VV{f'}V \hspace{-10mm} \square \hspace{7mm} @VVV\\Y@<g<<Y'@<\supset <<V'&=V\times _YY'
\end{CD} \tag{1.13}
\end{equation}
MathJax rendering (v3 but v2 is the same):

LaTeX rendering:

OK, thanks. The CD environment is not something I've ever actually used myself, so the implementation was entirely based on the documentation, not actual experience. It turns out that there are some differences between it and the actual LaTeX version (you pointed out some others earlier). it should probably be reimplemented with more of the LaTeX behavior being handled.