23.10.2014 Views

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 c AlterMundus

tkz-grap h ctan v1.00 c AlterMundus

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.1 \Vertex 13<br />

3.1.2 Utilisation de coordonnées polaires<br />

\Vertex[a=〈number〉,d=〈number〉]{〈vertex〉} Les coordonnées polaires peuvent être aussi utilisées. J’ai utilisé une<br />

grille d’aide afin de constater le placement du sommet.<br />

C<br />

A<br />

B<br />

\begin{tikzpicture}<br />

\GraphInit[vstyle=Normal]<br />

\draw[help lines] (-2,0) grid (2,2);<br />

\draw[red] (2,0) arc (0:180: 2 cm);<br />

\Vertex{A}<br />

\Vertex[a=45 , d=2 cm]{B}<br />

\Vertex[a=135 , d=2 cm]{C}<br />

\end{tikzpicture}<br />

3.1.3 Option Node : utilisation d’une position référencée<br />

Cette option permet de placer un sommet sur un Node déjà défini ou bien un objet du type « coordinate ».<br />

A<br />

M<br />

B<br />

\begin{tikzpicture}<br />

\GraphInit[vstyle=Normal]<br />

\draw[help lines] (0,0) grid (2,2);<br />

\Vertex{A} \Vertex[x=2 , y=2]{B}<br />

%\<strong>tkz</strong>ActivOff nécessaire avec frenchb et babel<br />

\<strong>tkz</strong>ActivOff<br />

\coordinate (M) at ($ (A)!.5!(B) $){};<br />

\<strong>tkz</strong>ActivOn<br />

\Vertex[Node]{M}<br />

\end{tikzpicture}<br />

<strong>tkz</strong>-<strong>grap</strong>h<br />

<strong>AlterMundus</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!