2

I wrote following program for a commutative diagram.

\begin{tikzcd}
0\arrow[r] & M\arrow[r]\arrow[d] & N\arrow[r]\arrow[d] & K\arrow[d]\\
0\arrow[r] & M'\arrow[r]         & N' \arrow[r]        & K' \\
\end{tikzcd}

The output is the following.

enter image description here

Q. If I do not want the $0$ and arrow going at M, and want to put an arrow with end 0 after K, what should be change in commands? I added/removed some natural commands from above program; but it was always creating error. For example, I removed 0\arrow[r] from first command-line in above commands; but it produced error.

2
  • So you want to add an arrow from 0 to K?
    – user156344
    Commented Apr 12, 2019 at 15:24
  • From K to 0, on right side; and I want to delete arrow towards M' from 0 (below).
    – Soluble
    Commented Apr 12, 2019 at 15:25

1 Answer 1

3

I would do this as follows:

Sample output

\documentclass{article}

\usepackage{tikz-cd}

\begin{document}

\begin{tikzcd}
  & M\arrow[r]\arrow[d] & N\arrow[r]\arrow[d] & K\arrow[d]\arrow[r] & 0\\
  0\arrow[r] & M'\arrow[r] & N' \arrow[r] & K' \\
\end{tikzcd}

\end{document}

You must log in to answer this question.

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