I need to diagram arguments (Beamer). I've tried to use tikzcd but it doesn't work. How can I draw a diagram as the following one?


  • 3
    Hi, welcome to TeX.SX. Could you show us what you tried with tikz-cd (the code)? How didn't it work? Commented Oct 31, 2013 at 9:09

1 Answer 1


You probably have a problem with &: when used in a beamer frame, & is not eligible for separating entries in a tikz-cd environment. You can use \& after telling it to tikz.


\tikzset{ampersand replacement=\&}


\frametitle{A diagram}

\begin{tikzcd}[row sep=1em,column sep=1em]
{} \& {} \& 5 \arrow{d} \\
2 \arrow{dr} \& 3 \arrow{d} \& 4 \arrow{dl} \\
{} \& 1



enter image description here


You must log in to answer this question.

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