The control sequence
\scope appears several times in the TikZ scource code, for instance in the following line in the definition of the
\tikz@lib@graph@parser@ macro inside the file
<tex installation directory>/tex/generic/pgf/frontendlayer/tikz/libraries/graphs/tikzlibrariesgraphs.code.tex:
\scope[graphs/.cd,@graph drawing setup/.try,@operators=,every graph/.try,#1]%
I can't find where it is defined.
greped the entire
pgf directory tree for
grep -rF "\def\scope" pgf) and nothing came up.
I did the same with
\let\scope and only two relevant results appeared, inside the macros
\tikz@uninstallcommands (both in the file
frontendlayer/tikz/tikz.code.tex). But these macros appear to only be related to
tikzpictures, and, more importantly, they seem to already assume that the
\scope control sequence is defined somewhere else:
\let\tikz@origscope=\scope ... \let\scope=\tikz@origscope
So where is this control sequence defined?