Fichier figure049.mp (figure 1) — Modifié le 10 Avril 2008 à 21 h 33

Source

%@AUTEUR:Guillaume Connan
prologues:=2;

verbatimtex
%&latex
\documentclass{article}
\begin{document}
etex

input courbes;
input geo;

color vert_e, turquoise, orange, vert_fonce, rose, vert_mer, bleu_ciel, or, rouge_v,bleu_m,bleu,bleu_f;
vert_e:=(0,0.790002,0.340007);
turquoise:=(0.250999,0.878399,0.815699);
orange:=(0.589999,0.269997,0.080004);
vert_fonce:=(0,1.4*0.392193,0);
rose:=(1.0, 0.752907, 0.796106);
bleu_ciel:=(1.2*0.529405,1.2*0.807794,1);%.2*0.921598);
or:=(1,0.843104,0);
rouge_v:=(0.829997,0.099994,0.119999);
bleu_m:=(0.7*0.529405,0.7*0.807794,0.7);%*0.921598);
bleu_f:=(0.211762,0.3231176,0.3686392);
bleu:=(0.529405,0.807794,1);

%   C E R C L E         C O N G R U E N C E

beginfig(1);
draw fullcircle scaled 4cm;
path p[]; pair A[];numeric n[];
p0:= (1.75cm,0)--(2.25cm,0); draw p0 withpen pencircle scaled 3bp; A0:=(2.25cm,0);

for  i=1 upto 4 :
p[i]:=( p[i-1] )rotated 72;
draw p[i] withpen pencircle scaled 3bp;
A[i]:=(A[i-1])rotated 72;
endfor;

label.rt(btex $0\ 5\ 10\ \cdots$ etex, A0) withcolor bleu_m;
label.rt(btex $1\ 6\ 11\ \cdots$ etex,A[1]) withcolor bleu;
label.lft(btex $\cdots\ 12\ 7\ 2$ etex,A[2]) withcolor 0.7white;
label.lft(btex $\cdots\ 13\ 8\ 3$ etex,A[3]) withcolor bleu_f;
label.rt(btex $4\ 9\ 14\ \cdots$ etex,A[4]) withcolor 0.5white;
endfig;
end