I am using the folowing codes to generate my tikz commutative diagram.
\documentclass{book}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{tikz-cd}
\makeatother
\begin{document}
\begin{tikzcd}
u \arrow {r} & c
\end{tikzcd}
\begin{tikzcd}
u \arrow [r] & c
\end{tikzcd}
\end{document}
But when i am using {r}
it is not giving error and if I use [r]
then it is giving the following error. What I have to do to correct. Because in most of the cases options are in []
only. How to work with that?
Error:
pgfkeys: I do not know the key '/tikz/r' and I am going to ignore it. Perhaps you misspelled it. \end{tikzcd}
tikz-cd
– egreg Nov 27 '15 at 10:07tikz-cd
is. But linux mint 13 seems to be pretty old, so probably egreg is correct. In any case, if you don't succeed to update it, you can also read the documentation oftikz-cd
for your version (texdoc tikz-cd
, or findtikz-cd-doc.pdf
). – jarauh Nov 27 '15 at 18:59