I'm trying to draw the following diagram using tikz-cd
\documentclass[11pt]{article}
%\usepackage[brazil]{babel}
\usepackage{amssymb, tikz-cd}
\tikzset{commutative diagrams/.cd}
\begin{document}
\[ \begin{tikzcd}
0 \ar{r} & L' \ar{r}{j} \ar[equal]{d} & E' \times_{B'} B \ar{d}[swap]{p_1} \ar{r}{p_2} \ar[dr, phantom, "\square"] & B \ar{r} \ar{d}{v} & 0 \\
0 \ar{r} & L' \ar{r}[swap]{j'} & E' \ar{r}[swap]{f'} & B' \ar{r} & 0
\end{tikzcd} \]
\end{document}
Everything goes fine until I load babel package. The problem is specifically with the phantom option. I've tried solutions for similar problems, but none of them worked. Would it be possible to make this work?
\ar{dr}[phantom]{\square}doesn't work? Also let me take the opportunity to thank you for your answers here, specially the one for this question. – Nuno Apr 09 '14 at 21:32\usetikzlibrary{babel}doesn't work in this case. May be a bug inbabellibrary. – Apr 09 '14 at 23:34