I am trying to create pictures of graphs in TikZ in which I'd like some edges to be dashdotted
. I am using TeXShop on both my office computer (Mac) and my personal laptop (Mac), and the file is compiling fine on my office computer but when I try to compile the same file on my laptop, I am getting the following error:
Package pgfkeys Error: I do not know the key '/tikz/dashdotted' and
I am going to ignore it. Perhaps you misspelled it...
I reinstalled the latest version of MacTex on my laptop to see if this fixed the problem, but it has not.
Here is the code I have in my test document which will not compile:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[dashdotted] (0,0)--(10,0);
\end{tikzpicture}
\end{document}
\pgfversion
.