Figure Metapost

Auteur : Sylvain Chambon

Prévisualisation de chambon-1.tex
PDF

chambon.mp [ source brut ]

 verbatimtex
 %&latex
 \documentclass{article}
 \usepackage[charter]{mathdesign} % facultatif mais j'aime bien mathdesign ;-)
 \begin{document}
 etex
 
 input geometriesyr16;
 
 
 
    figure(-0.5u,-0.5u,8u,8u);
    pair A,B,C,D,E,I,J,O,v;
    path cc[];
 
    A=u*(4,4);
    B=u*(0,4);
    C=u*(0,0);
    D=u*(4,0);
    E=u*(4,2);
    I=u*(0,2);
    J=u*(2,0);
    O=u*(2,2);
    cc1=arccercle(O,B,I)--C--reverse(arccercle(O,C,J))--cycle;
    trace hachurage(cc1,60,0.3,0);
    trace cc1 withpen pencircle scaled1.5bp;
    cc2=symetrie(cc1,A);
    cc3=symetrie(cc1,A,C);
    v=(4u,2u);
    cc4:=cc1 shifted v;
    trace hachurage(cc2,60,0.3,0);
    trace cc2 withpen pencircle scaled1.5bp;
    trace hachurage(cc3,60,0.3,0);
    trace cc3 withpen pencircle scaled1.5bp;
    trace hachurage(cc4,60,0.3,0);
    trace cc4 withpen pencircle scaled1.5bp;
 
    nomme.lft(B);
    nomme.lft(I);
    nomme.llft(C);
    nomme.bot(J);
    nomme.bot(D);
    nomme.urt(E);
    nomme.urt(O);
    nomme.ulft(A);
    label(btex $\textcircled{2}$ etex, (2.7u,0.8u));
    label(btex $\textcircled{3}$ etex, (5u,4.5u));
    label(btex $\textcircled{4}$ etex, (7u,5.5u));
    fin;
 
 end