28.11.2014 Views

tkz-euclid e 1.16 c AlterMundus

tkz-euclid e 1.16 c AlterMundus

tkz-euclid e 1.16 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.

6.7 Style des points avec \<strong>tkz</strong>SetUpPoint 28<br />

Il est possible de placer plusieurs labels rapidement quand les références des points sont identiques aux labels<br />

et quand les labels sont placés de la même manière par rapport aux points. Par défaut, c’est below right qui<br />

a été choisi.<br />

\<strong>tkz</strong>LabelPoints[〈local options〉](〈A 1 , A 2 ,...〉)<br />

arguments exemple résultat<br />

list of points \<strong>tkz</strong>LabelPoint(A,B,C) Affichage de A, B et C<br />

Cette macro diminue le nombre de lignes de codes mais il n’est pas évident que tous les points aient besoin du<br />

même positionnement des labels.<br />

6.6.3 Exemple avec \<strong>tkz</strong>LabelPoints<br />

A<br />

B<br />

C<br />

\begin{tikzpicture}<br />

\<strong>tkz</strong>DefPoint(2,3){A}<br />

\<strong>tkz</strong>DefShiftPoint[A](30:2){B}<br />

\<strong>tkz</strong>DefShiftPoint[A](30:5){C}<br />

\<strong>tkz</strong>DrawPoints(A,B,C)<br />

\<strong>tkz</strong>LabelPoints(A,B,C)<br />

\end{tikzpicture}<br />

6.7 Style des points avec \<strong>tkz</strong>SetUpPoint<br />

\<strong>tkz</strong>SetUpPoint[〈local options〉]<br />

options défaut définition<br />

liste no default exemple \<strong>tkz</strong>LabelPoint(A,B,C)<br />

Il s’agit d’une macro permettant de choisir un style pour les points. La macro \<strong>tkz</strong>DrawSegments est décrite<br />

ici.<br />

B<br />

D<br />

\begin{tikzpicture}<br />

\<strong>tkz</strong>Init[ymin=-0.5,ymax=3,xmin=-0.5,xmax=7]<br />

\<strong>tkz</strong>DefPoint(0,0){A}<br />

\<strong>tkz</strong>DefPoint(02.25,04.25){B}<br />

\<strong>tkz</strong>DefPoint(4,0){C}<br />

\<strong>tkz</strong>DefPoint(3,2){D}<br />

\<strong>tkz</strong>DrawSegments(A,B A,C A,D)<br />

\<strong>tkz</strong>SetUpPoint[shape=cross out,size=10,color=red]<br />

\<strong>tkz</strong>DrawPoints(A,B,C,D)<br />

\<strong>tkz</strong>LabelPoints(A,B,C,D)<br />

\end{tikzpicture}<br />

A<br />

C<br />

<strong>tkz</strong>-<strong>euclid</strong>e<br />

<strong>AlterMundus</strong>

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

Saved successfully!

Ooh no, something went wrong!