# [OS X TeX] problems with TikZ examples

Alain Matthes alain.matthes at mac.com
Tue Dec 30 13:48:33 EST 2008

```Le 30 déc. 08 à 18:31, Art Werschulz a écrit :

> Hi.
>
> The fixes mentioned previously (adding a comma in one spot,
> including the positioning library) worked on the two examples
> given.  BTW, where was I supposed to see that I needed the
> positioning library?

hi !

A simple way is to give a look at the file pgfmanual-en-main.tex
and like Till Tantau you can put all the next lines in your code

\usepackage{tikz}

% We need lots of libraries...
\usetikzlibrary{%
arrows,%
calc,%
fit,%
patterns,%
plotmarks,%
shapes.geometric,%
shapes.misc,%
shapes.symbols,%
shapes.arrows,%
shapes.callouts,%
shapes.multipart,%
shapes.gates.logic.US,%
shapes.gates.logic.IEC,%
er,%
automata,%
backgrounds,%
chains,%
topaths,%
trees,%
petri,%
mindmap,%
matrix,%
calendar,%
folding,%
through,%
positioning,%
scopes,%
decorations.fractals,%
decorations.shapes,%
decorations.text,%
decorations.pathmorphing,%
decorations.pathreplacing,%
decorations.footprints,%
decorations.markings,%