summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/profcollege/metapost/PfCConstantes.mp
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/profcollege/metapost/PfCConstantes.mp')
-rw-r--r--macros/latex/contrib/profcollege/metapost/PfCConstantes.mp20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/profcollege/metapost/PfCConstantes.mp b/macros/latex/contrib/profcollege/metapost/PfCConstantes.mp
new file mode 100644
index 0000000000..02895dcf8c
--- /dev/null
+++ b/macros/latex/contrib/profcollege/metapost/PfCConstantes.mp
@@ -0,0 +1,20 @@
+%Constantes
+u:=1cm;
+v:=(sqrt3)/2;
+pi:=3.141592654;
+e:=2.718281828;
+c:=57.29578; % conversion d'un radian en degres
+color rouge,vert,bleu,jaune,noir,blanc,orange,rose,violet,ciel,cielfonce,orangevif,gris;
+rouge=(1,0,0);
+bleu=(0,0,1);
+noir=(0,0,0);
+blanc=(1,1,1);
+orange=(1,0.5,0);
+violet=blanc-vert;
+rose=(1,0.7,0.7);
+cielfonce=0.9*(0.25,1,1);
+ciel=bleu+vert;
+orangevif=(1,0.25,0.1);
+vert=(0,1,0);
+jaune=rouge+vert;
+gris=0.8*white;