summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex')
-rw-r--r--macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex7
1 files changed, 6 insertions, 1 deletions
diff --git a/macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex b/macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex
index eb1a55e768..81464aa744 100644
--- a/macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex
+++ b/macros/latex/contrib/profcollege/latex/PfCCalculatrice.tex
@@ -113,7 +113,12 @@
\mplibnumbersystem{double}%
\mplibforcehmode%
\begin{mplibcode}%
+ defaultcolormodel := \useKV[ClesCalculatrice]{ModeleCouleur};
input PfCCalculatrice;
+ if defaultcolormodel=7:
+ cmykcolor coulprint;
+ coulprint=0.2(0,0,0,1);
+ fi;
LargeurEcran:=\useKV[ClesCalculatrice]{Largeur};
boolean Calcul;
Calcul=\useKV[ClesCalculatrice]{Calcul};
@@ -128,7 +133,7 @@
\fi%
}%
-\setKVdefault[ClesCalculatrice]{Ecran=false,NbLignes=0,BL=0.775,Largeur=120,Calcul=false,Impression=false}%
+\setKVdefault[ClesCalculatrice]{ModeleCouleur=5,Ecran=false,NbLignes=0,BL=0.775,Largeur=120,Calcul=false,Impression=false}%
\newcommand\Calculatrice[2][]{%
\setstackgap{L}{\useKV[ClesCalculatrice]{BL}\baselineskip}%