Fichier figure019.mp (figure 1) — Modifié le 7 Avril 2008 à 19 h 02

Source

%@AUTEUR:Guillaume Connan

prologues:=2;

verbatimtex
%&latex
\documentclass{article}
\usepackage[upright]{fourier}
\begin{document}
etex

input geometriesyr16

figure(-10cm,-5cm,12cm,10cm);
pair t,r,g,d;
t=(2u,1u);
r=(3u,-2u);
g=(-2u,u);
d=(3u,2u);
transform T,R,G,D;
T= identity shifted t;
R= identity shifted r;
D= identity shifted d;
G= identity shifted g;

z0=(0,0);z1= z0 transformed T;
z2=z1 transformed R;
z0g=z0 transformed G;
z1g=z1 transformed G;
z1d=z1 transformed D;
z2d=z2 transformed D;
drawarrow z0--z1 withcolor 0.6white;
drawarrow z1--z2 withcolor 0.6white;
drawarrow z0g--z1g withcolor 0.6white;
drawarrow z1d--z2d withcolor 0.6white;
draw z0--z0g dashed evenly;
draw z1--z1g dashed evenly;
draw z1--z1d dashed evenly;
draw z2--z2d dashed evenly;

drawarrow z0--z2 withcolor 0.4white withpen pencircle scaled 1.6bp;
label.lft(btex $A$ etex, z0);
label.rt(btex $B$ etex, z1);
label.rt(btex $C$ etex, z2);
label.top(btex $\overrightarrow{u}$ etex, 0.5[z0,z1]);
label.top(btex $\overrightarrow{v}$ etex, 0.5[z1,z2]);
label.top(btex $\overrightarrow{u}$ etex, 0.5[z0g,z1g]);
label.top(btex $\overrightarrow{v}$ etex, 0.5[z1d,z2d]);

label.bot(btex $\overrightarrow{u}+\overrightarrow{v}$ etex, 0.5[z0,z2]) withcolor 0.4white withpen pencircle scaled 1.6bp;
fin;

end