I have this problem: when I try to compile a diagram I get the following message:
I think the culprit is a
tikzcd
arrow in ell 1-1
But I have not problem when, in the tikzlibrary
, I just use cd
, matrix
and backgrounds
. The problem is when using babel
and cd
at the same time.
\documentclass{article}
\usepackage{amsfonts,amssymb,amsmath,tikz}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage[mathcal]{euscript}
\usetikzlibrary{babel,cd,matrix,backgrounds}
\begin{document}
\begin{center}
\begin{tikzcd}
X\rar[mapsto]{T}&Y
\end{tikzcd}
\end{center}
\end{document}