Liverpool” post=71084Claudio, hai provato a compilare l’esempio 2.6.1 del documento che hai indicato con il preambolo a pag. 4 per vedere se il codice funziona correttamente oppure no?
si l’ho fatto ma l’esempio non torna
ecco il codice
`
\documentclass{article}
\usepackage{tikz,pgf}
\usetikzlibrary{calc,through,intersections}
\begin{document}
\begin{tikzpicture}
\coordinate [label=150:$A$](a) at (0,0);
\coordinate [label=0:$B$](b) at (4,0);
\coordinate [label=0:$C$](c) at (4,2);
\draw (a) — (b)– (c) — cycle ;
\draw (4,0) arc(90:atan(.5):-2);
\node(c1) at (c)[circle through=(b)] {};
\node [text width=3cm, fill=blue!30,draw,rectangle,rounded corners, text centered] at (1.3,3.8){Sezione aurea nel triangolo rettangolo con un cateto doppio dell’altro.};
\coordinate[label=90:$S$](i) at (intersection 2 of a–c and c1);
\node(c2) at (a)[circle through=(i)] {};
\coordinate[label=-90:$\Phi$](s) at (intersection 1 of a–b and c2);
\draw (s) arc(0:atan(.5):{(sqrt(5)-1)*2});
\end{tikzpicture}
\end{document}
`
ed ecco il risultato
[attachment=189]prova7.pdf[/attachment]