![我不知道键“/tikz/插入路径”](https://linux22.com/image/239137/%E6%88%91%E4%B8%8D%E7%9F%A5%E9%81%93%E9%94%AE%E2%80%9C%2Ftikz%2F%E6%8F%92%E5%85%A5%E8%B7%AF%E5%BE%84%E2%80%9D.png)
尝试编译这个例子:
\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 的升级可能未正确完成。