When I include the package tikz on my latex header, even if the package is not used at all, I get the following error at compiling time:
Undefined control sequence.
l.1131 \pgfdeclarearrow
{name=|<->|, means={>[sep=0pt].|}}
where l.1131 is line 1131 of the file "tikz.code.tex"
A minimal example for this error is the following.
\documentclass{article}
\usepackage{tikz}
\begin{document}
test
\end{document}
So could be the mistake?
\documentclass{minimal} \usepackage{pgf} \begin{document} \pgfversion \end{document}
and tell us what is the result, please. Since it says it is a problem in the TikZ you accidentally messed something up in the code, because for me (and for @Zarko) it works fine.minimal
class. It is not suitable. Suggestarticle
instead. (Orstandalone
, but that wouldn't be suitable in this case.)minimal
class for this case only to find out the version of pgf, so it wouldn't be a problem. Thanks for the warning anyway:)
minimal
gets read as 'for these minimal examples everyone keeps asking me for' :-).