Same principle really. See the diagram as a 4×3 matrix. In the first row you have KF'
in the second column, nothing in the first and third col. In the second row you have K
and F'
in the first and third column, respectively. In rows three and four, you have K\cup F'
and F
in the second column, and nothing in the first and third column.
There will be several possible ways of making the ||
on top of the lines. One way is to simply place a label with ||
on the lines, with , "||"{anchor=center,sloped}
. Here anchor=center
means the label is placed on top of the line, not next to the line (as is default), and sloped
means the node is rotated to match the angle of the line.
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
& KF'
\arrow[dl, dash]
\arrow[dr, dash, "||"{anchor=center,sloped}] \\
K \arrow[dr, dash, "||"{anchor=center,sloped}] & &
F' \arrow[dl, dash] \\
& K\cap F' \arrow[d, dash] \\
& F
\end{tikzcd}
\end{document}