On 18 Sep, 2010, at 08:01, Marc van Dongen wrote: [...]
> As far as I'm concerned there's a bug in xelatex (it works > with pdflatex). Specifically, the following code doesn't work. > > \documentclass{minimal} > > \usepackage{tikz} > \usetikzlibrary{spy} > > \begin{document} > \begin{tikzpicture}[spy using outlines={circle, > magnification=2, > size=2cm, > connect spies}] > \draw (-36:0.8) > \foreach \angle in {0,36,...,359} { > -- (\angle:0.8) > (\angle:1.1) node {$\angle$} > (0,0) -- (\angle:0.8) > }; > \spy[red] on (162:1.0) in node[right] at (0,-2.5); > \end{tikzpicture} > \end{document} \documentclass{minimal} \usepackage[dvipdfmx]{graphicx}%%% <- use this and it works \usepackage{tikz} \usetikzlibrary{spy} On 18 Sep, 2010, at 10:27, Vafa Khalighi wrote: > Are you using the development version of tikz? because with texlive 2010, I > do not have spy library. Yes: http://www.texample.net/tikz/examples/feature/spy-library/ Best, Axel -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex