diff options
author | Norbert Preining <norbert@preining.info> | 2021-01-18 03:03:11 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-01-18 03:03:11 +0000 |
commit | 62b141a25b6f63cb4cc626d1a005ecf67c19e5cd (patch) | |
tree | b7d0b0cdf0cae01fab47cd7deb6f19d4dc04ff1e /macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp | |
parent | 8591b56496b93eed20f638ee1ce46b11c3f7be58 (diff) |
CTAN sync 202101180303
Diffstat (limited to 'macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp')
-rw-r--r-- | macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp b/macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp new file mode 100644 index 0000000000..b97bd8a4c0 --- /dev/null +++ b/macros/latex/contrib/profcollege/metapost/PfC-Constantes.mp @@ -0,0 +1,23 @@ +%Author : Christophe Poulain +%Licence : Released under the LaTeX Project Public License v1.3c +% or later, see http://www.latex-project.org/lppl.txtf +%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; |