4
\begin{tikzcd}
A \arrow{rr}\arrow{dr} &              & B \arrow{rr}\arrow{dl} & & C \\
                       & D \arrow{dr}                                \\
                       &              & E
\end{tikzcd}

enter image description here

In the above code, how do I draw an arrow from C to E?

4

1 Answer 1

4

You need \arrow[ddll].

Here's a version with parallel arrows, due to the between origins specification. I added an example where the objects are wider; you may want to increase the column separation, but you have to decide it only after seeing the result.

\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz-cd}

\begin{document}

\[
\begin{tikzcd}[column sep={3em,between origins}]
A \arrow[rr]\arrow[dr] &&
B \arrow[rr] \arrow[dl,dashed] &&
C \arrow[ddll] \\
& D \\
&& E \arrow[ul]
\end{tikzcd}
\]

\[
\begin{tikzcd}[column sep={3em,between origins}]
\bigoplus_i A_i \arrow[rr]\arrow[dr] &&
\prod_j B_j \arrow[rr] \arrow[dl,dashed] &&
C \arrow[ddll] \\
& D \\
&& E \arrow[ul]
\end{tikzcd}
\]

\end{document}

enter image description here

1
  • Yes, much better than my answer (which I did not mean to write anyway). +1
    – user121799
    Jan 8, 2019 at 21:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .