I'd like to strike out the arrow between C
and D
in the following commutiative diagram defined using the cd
Tikz library:
Building on this answer I came up with the following code that gives me the above result without the desired striked out arrow:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{cd}
\usetikzlibrary{shapes.misc}
\begin{document}
\begin{figure}
\[
\begin{tikzcd}
A \arrow[leftrightarrow]{r} \arrow{d} & B \arrow{d} \\
C \arrow[leftrightarrow,strike out]{r} & D
\end{tikzcd}
\]
\end{figure}
\end{document}