我不知道键“/tikz/插入路径”

我不知道键“/tikz/插入路径”

尝试编译这个例子:

\documentclass{article}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[remember picture,overlay]

% A path that follows the edges of the current page
\tikzstyle{reverseclip}=[insert path={(current page.north east) --
(current page.south east) --
(current page.south west) --
  (current page.north west) --
  (current page.north east)}
]

\coordinate (A) at (0,0);
\coordinate (B) at (1,0);
\coordinate (C) at (1,1);

\begin{pgfinterruptboundingbox} % To make sure our clipping path does not mess up the         placement of the picture
\path [clip] (A) -- (B) -- (C) -- cycle [reverseclip];
\end{pgfinterruptboundingbox}

\draw[thick] (A) circle (2mm);
\draw[thick] (B) circle (2mm);    
\draw[thick] (C) circle (2mm);   

\end{tikzpicture}
\end{document}

但是我收到错误:我不知道键“/tikz/insert path”

我的 Tikz 版本是 tikz.code.tex,v 1.76 2010/10/13 09:20:31 你能帮助我吗?

答案1

钥匙insert path确实在tikz.code.tex

该文档无法与 TeX Live 2009 编译;因此 TikZ 的升级可能未正确完成。

相关内容