%@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;
t=(2u,3u);
r=(-1u,-1.5u);
transform T,R;
T= identity shifted t;
R= identity shifted r;
z0=(0,0);z1= z0 transformed T;
z2=(2u,2u);z3=z2 transformed R;
drawarrow z0--z1;
drawarrow z2--z3;
label.lft(btex $A$ etex, z0);
label.rt(btex $B$ etex, z1);
label.rt(btex $D$ etex, z2);
label.rt(btex $C$ etex, z3);
label.top(btex $\overrightarrow{u}$ etex, 0.5[z0,z1]);
label.bot(btex $\overrightarrow{v}$ etex, 0.5[z2,z3]);
endfig;

end