%@AUTEUR:Guillaume Connan

prologues:=2;

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

input geometriesyr16

figure(-10cm,-5cm,12cm,10cm); 

%egalité de deux vecteurs et parallelogramme 
pair t; 
t=(1u,2u); 
transform T; 
T= identity shifted t; 
z0 = (0,0);z1 = z0 transformed T; 
z2=(3u,-1u);z3=z2 transformed T ; 
drawarrow z0--z1 withcolor 0.5white withpen pencircle scaled 1.6bp; 
drawarrow z2--z3 withcolor 0.5white withpen pencircle scaled 1.6bp; 
draw z0--z2 dashed evenly; 
draw z1--z3 dashed evenly; 
label.lft(btex $A$ etex, z0); 
label.top(btex $B$ etex, z1); 
label.lrt(btex $C$ etex, z2); 
label.rt(btex $D$ etex, z3); 
label.lft(btex $\ve{u}$ etex, .5(z0+z1));
label.rt(btex $\ve{u}$ etex, .5(z2+z3));

fin;

end