答案1
如果没有一些对策,环境CD
就无法正常运转。babel-spanish
策略1:\shorthandoff
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\usepackage{amsmath,amscd}
\begin{document}
\begin{equation}
\begin{CD}
A \\
@VVV \\
B
\end{CD}
\end{equation}
\begin{equation}
\shorthandoff{<>}
\begin{CD}
A @>>> B
\end{CD}
\end{equation}
\end{document}
策略2:es-noquoting
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[spanish,es-noquoting]{babel}
\usepackage{amsmath,amscd}
\begin{document}
\begin{equation}
\begin{CD}
A \\
@VVV \\
B
\end{CD}
\end{equation}
\begin{equation}
\begin{CD}
A @>>> B
\end{CD}
\end{equation}
\end{document}
spanish-babel
请参阅可用的文档texdoc spanish
或在线的