summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/proflycee/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-08-26 03:00:52 +0000
committerNorbert Preining <norbert@preining.info>2023-08-26 03:00:52 +0000
commit2c6f7db39402a9980f7423ed3266ad1d18936bcc (patch)
treeb998126ee1c53cfee553777049066ea4b50244f4 /macros/latex/contrib/proflycee/tex
parentba73c7edc85ac1310d82920c5f432993f8a9af23 (diff)
CTAN sync 202308260300
Diffstat (limited to 'macros/latex/contrib/proflycee/tex')
-rw-r--r--macros/latex/contrib/proflycee/tex/ProfLycee.sty12
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-listings.tex32
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-minted.tex16
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-piton.tex28
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-probas.tex6
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-pythontex.tex16
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-recreat.tex4
7 files changed, 61 insertions, 53 deletions
diff --git a/macros/latex/contrib/proflycee/tex/ProfLycee.sty b/macros/latex/contrib/proflycee/tex/ProfLycee.sty
index d2c18333cf..f2dc4b4765 100644
--- a/macros/latex/contrib/proflycee/tex/ProfLycee.sty
+++ b/macros/latex/contrib/proflycee/tex/ProfLycee.sty
@@ -3,7 +3,8 @@
% or later, see http://www.latex-project.org/lppl.txtf
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee}[2023/08/08 2.7.1 Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee}[2023/08/25 2.7.2 Aide pour l'utilisation de LaTeX en lycee]
+% 2.7.2 Modification du chargement de xcolor pour éviter les clash errors (couleurs adaptées du coup), passage en option (test)
% 2.7.1 Modification du chargement de tcolorbox
% 2.7.0 Ajout de la clé [Frac] pour \AxeyTikz + \FonctionRepartTikz
% 2.6.9 Correction de bugs et améliorations des boîtes de codes
@@ -57,8 +58,10 @@
\RequirePackage{mathtools}
%------Option(s)
+\newif\if@xcolor \@xcolorfalse
\newif\if@build \@buildfalse
\newif\if@loadamssymb \@loadamssymbtrue
+\DeclareOption{xcolor}{\@xcolortrue}%
\DeclareOption{build}{\@buildtrue}%
\DeclareOption{nonamssymb}{\@loadamssymbfalse}%
\DeclareOption*{}
@@ -68,7 +71,9 @@
\if@loadamssymb
\RequirePackage{amssymb}
\fi
-\RequirePackage[table,svgnames]{xcolor}%Gestion des couleurs
+\if@xcolor
+ \RequirePackage[table,svgnames]{xcolor}%Gestion des couleurs
+\fi
\RequirePackage{tikz}
\RequirePackage{tkz-tab}
\RequirePackage{pgf,pgffor}
@@ -112,6 +117,9 @@
%divers
\RequirePackage{iftex}
+%couleurs
+\definecolor{CouleurVertForet}{HTML}{1F8B36} %ForestGreen
+
%%------LIBRAIRIES/BIBIOTHÈQUES
\newcommand\useproflyclib[1]{%ajout d'une commande "librairie" pour charger des modules
\IfSubStr{#1}{piton}%
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-listings.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-listings.tex
index 228639439a..5184ac0eff 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-listings.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-listings.tex
@@ -23,7 +23,7 @@
language = python,
inputencoding = utf8,
basicstyle = \ttfamily\footnotesize,
- keywordstyle = \color{ForestGreen},
+ keywordstyle = \color{CouleurVertForet},
keywordstyle = [2]\color{magenta},
commentstyle = \color{gray}\itshape,
stringstyle = \color{red!75},
@@ -47,7 +47,7 @@
language = python,
inputencoding = utf8/latin1,
basicstyle = \ttfamily\footnotesize,
- keywordstyle = \color{ForestGreen},
+ keywordstyle = \color{CouleurVertForet},
keywordstyle = [2]\color{magenta},
commentstyle = \color{gray}\itshape,
stringstyle = \color{red!75},
@@ -73,14 +73,14 @@
top=\baselineskip,bottom=1mm,right=5mm,
attach boxed title to top right={yshift=-\tcboxedtitleheight},
boxed title style={
- size=small,colback=ForestGreen!25,boxrule=1.25pt,
- colframe=Green,boxsep=1.25pt,
+ size=small,colback=CouleurVertForet!25,boxrule=1.25pt,
+ colframe=green,boxsep=1.25pt,
sharp corners=downhill,
arc=12pt,
top=2pt,bottom=1pt,left=6pt,right=6pt
},
- colframe=Green,colback=ForestGreen!5,%
- fonttitle=\color{ForestGreen}\itshape\ttfamily\footnotesize,
+ colframe=green,colback=CouleurVertForet!5,%
+ fonttitle=\color{CouleurVertForet}\itshape\ttfamily\footnotesize,
title={\scriptsize\faPython}\:Code Python\vphantom{p},
watermark text={\faPython},watermark opacity=0.175,watermark zoom=0.50,
listing only,listing engine=listings,%
@@ -112,7 +112,7 @@
%v2
\tcbset{StylPythonB/.style={%
- enhanced,boxrule=0.75pt,colframe=DarkGray!50!Black,%
+ enhanced,boxrule=0.75pt,colframe=darkgray!50!black,%
sharp corners,top=0mm,bottom=0mm,left=0.2em,right=5mm,%
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
colback=white,
@@ -121,7 +121,7 @@
watermark text={\faPython},watermark opacity=0.25,watermark zoom=0.50,%
title={{\scriptsize\faCode} Code Python},
lefttitle=0.4em,
- fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=DarkGray!50!Black
+ fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=darkgray!50!black
}
}
@@ -265,7 +265,7 @@
}
\tcbset{stylepseudocodePLalt/.style={%
- enhanced,boxrule=0.75pt,colframe=DarkGray!50!Black,%
+ enhanced,boxrule=0.75pt,colframe=darkgray!50!black,%
sharp corners,top=0mm,bottom=0mm,left=0.4em,right=5mm,%
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
colback=white,
@@ -274,7 +274,7 @@
watermark text={\faCode},watermark opacity=0.25,watermark zoom=0.50,%
title={{\scriptsize\faCode} PseudoCode},
lefttitle=0.4em,
- fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=DarkGray!50!Black
+ fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=darkgray!50!black
}
}
@@ -314,9 +314,9 @@
}
%%------PRESENTATIONDECODES CLASSIQUES
-\NewTCBListing{PresentationCode}{ O{ForestGreen} m }{%
+\NewTCBListing{PresentationCode}{ O{CouleurVertForet} m }{%
sharp corners=downhill,enhanced,arc=12pt,skin=bicolor,%
- colback=#1!5!white,colframe=#1!75!black,colbacklower=White,%
+ colback=#1!5!white,colframe=#1!75!black,colbacklower=white,%
attach boxed title to top right={yshift=-\tcboxedtitleheight},title=Code \LaTeX,%
boxed title style={%
colframe=#1!75!black,colback=#1!15!white,%
@@ -325,7 +325,7 @@
fonttitle=\color{#1!90!black}\itshape\ttfamily\footnotesize,%
listing options={%
style=tcblatex,basicstyle=\footnotesize\ttfamily,%
- keywordstyle=\bfseries\color{Blue},tabsize=2,%
+ keywordstyle=\bfseries\color{blue},tabsize=2,%
},%
#2
}
@@ -445,9 +445,9 @@
\end{tikzpicture}%
}
-\newcommand{\PLOSXGreen}{%
+\newcommand{\PLOSXgreen}{%
\begin{tikzpicture}[thick,anchor=base,baseline]
- \filldraw[ForestGreen] (0,0.25em) circle[radius=0.45em] ;
+ \filldraw[CouleurVertForet] (0,0.25em) circle[radius=0.45em] ;
\end{tikzpicture}%
}
@@ -463,7 +463,7 @@
\restoreKV[fakeTERMosx]
\setKV[fakeTERMosx]{#1}
\begin{tblr}{colsep=0pt,rowsep=0pt,width=\linewidth,colspec={lX[c]r}}
- \PLOSXRed~\PLOSXOrange~\PLOSXGreen & \vphantom{p}\useKV[fakeTERMosx]{Titre} & \PLOSXLG~\PLOSXLG~\PLOSXLG \\
+ \PLOSXRed~\PLOSXOrange~\PLOSXgreen & \vphantom{p}\useKV[fakeTERMosx]{Titre} & \PLOSXLG~\PLOSXLG~\PLOSXLG \\
\end{tblr}
}
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-minted.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-minted.tex
index 9f8e2735b1..6b880f2d9f 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-minted.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-minted.tex
@@ -30,23 +30,23 @@
\DeclareTCBListing{CodePythonMinted}{ s O{12cm} m }{% étoilée sans numéro, taille puis options...
\IfBooleanTF{#1}{pytmintedno}{pytminted},
enhanced,width=#2,#3,
- colframe=Green,colback=ForestGreen!5,%
+ colframe=green,colback=CouleurVertForet!5,%
boxrule=1.25pt,
sharp corners=downhill,arc=12pt,
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
left=0.6em,top=\baselineskip,bottom=2mm,right=5mm,%
attach boxed title to top right={yshift=-\tcboxedtitleheight},
boxed title style={
- size=small,colback=ForestGreen!25,boxrule=1.25pt,
- colframe=Green,boxsep=1.25pt,
+ size=small,colback=CouleurVertForet!25,boxrule=1.25pt,
+ colframe=green,boxsep=1.25pt,
sharp corners=downhill,
arc=12pt,
top=2pt,bottom=1pt,left=6pt,right=6pt
},
- fonttitle=\color{ForestGreen}\itshape\ttfamily\footnotesize,
+ fonttitle=\color{CouleurVertForet}\itshape\ttfamily\footnotesize,
title={\scriptsize\faPython}\:Code Python\vphantom{y},
watermark text={\faPython},watermark opacity=0.175,watermark zoom=0.50,
- before upper=\renewcommand{\theFancyVerbLine}{\scriptsize\ttfamily\color{DarkGray}\arabic{FancyVerbLine}}
+ before upper=\renewcommand{\theFancyVerbLine}{\scriptsize\ttfamily\color{darkgray}\arabic{FancyVerbLine}}
}
%v2
@@ -72,7 +72,7 @@
\DeclareTCBListing{CodePythonMintedAlt}{ s O{12cm} m }{% étoilée sans numéro, taille puis options...
\IfBooleanTF{#1}{pytmintedaltno}{pytmintedalt},
width=#2,#3,
- enhanced,boxrule=0.75pt,colframe=DarkGray!50!Black,%
+ enhanced,boxrule=0.75pt,colframe=darkgray!50!black,%
sharp corners,top=0mm,bottom=0mm,left=0.2em,right=5mm,%
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
colback=white,
@@ -80,8 +80,8 @@
watermark text={\faPython},watermark opacity=0.25,watermark zoom=0.50,%
title={{\scriptsize\faCode} Code Python},
lefttitle=0.4em,
- fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=DarkGray!50!Black,%
- before upper=\renewcommand{\theFancyVerbLine}{\scriptsize\ttfamily\color{DarkGray}\arabic{FancyVerbLine}}
+ fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=darkgray!50!black,%
+ before upper=\renewcommand{\theFancyVerbLine}{\scriptsize\ttfamily\color{darkgray}\arabic{FancyVerbLine}}
}
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-piton.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-piton.tex
index 89f363b943..0f068ad97b 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-piton.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-piton.tex
@@ -51,20 +51,20 @@
top=\baselineskip,bottom=0mm,left=0.6em,right=5mm,%
attach boxed title to top right={yshift=-\tcboxedtitleheight},
boxed title style={
- size=small,colback=ForestGreen!25,boxrule=1.25pt,
- colframe=Green,boxsep=1.25pt,
+ size=small,colback=CouleurVertForet!25,boxrule=1.25pt,
+ colframe=green,boxsep=1.25pt,
sharp corners=downhill,
arc=12pt,
top=2pt,bottom=1pt,left=6pt,right=6pt
},
- fonttitle=\color{ForestGreen}\itshape\ttfamily\footnotesize,
+ fonttitle=\color{CouleurVertForet}\itshape\ttfamily\footnotesize,
title={{\scriptsize\faPython}\:Code Python}
}
}
%==Style Classique
\tcbset{thonnystyle/.style={%
- enhanced,boxrule=0.75pt,colframe=DarkGray!50!Black,%
+ enhanced,boxrule=0.75pt,colframe=darkgray!50!black,%
sharp corners,top=0mm,bottom=0mm,left=0.4em,right=5mm,%
before skip=\CODPITespV,after skip=\CODPITespV,%
colback=white
@@ -103,7 +103,7 @@
{%
\tcbset{cadre/.style={}}
\tcbset{titre/.style={}}
- \tcbset{stylebase/.style={stylepiton,colframe=Green,colback=ForestGreen!5,width=\CODPITlargeur,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign,leftupper=0.75em}}
+ \tcbset{stylebase/.style={stylepiton,colframe=green,colback=CouleurVertForet!5,width=\CODPITlargeur,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign,leftupper=0.75em}}
\ifboolKV[envpiton]{Filigrane}%si filigrane
{\tcbset{filigrane/.style={watermark text={\faPython},watermark opacity=0.175,watermark zoom=0.50}}}%
{\tcbset{filigrane/.style={}}}%
@@ -112,9 +112,9 @@
\IfEq{\CODPITstyle}{Classique}%style Classique
{%
\ifboolKV[envpiton]{Lignes}%si lignes=true
- {\tcbset{stylebase/.style={thonnystylelineos,leftupper=0.75em,width=\CODPITlargeur,colframe=DarkGray!50!Black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}}}%
- {\tcbset{stylebase/.style={thonnystyle,leftupper=0.4em,width=\CODPITlargeur,colframe=DarkGray!50!Black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}}}%
- %\tcbset{width=\CODPITlargeur,colframe=DarkGray!50!Black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}
+ {\tcbset{stylebase/.style={thonnystylelineos,leftupper=0.75em,width=\CODPITlargeur,colframe=darkgray!50!black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}}}%
+ {\tcbset{stylebase/.style={thonnystyle,leftupper=0.4em,width=\CODPITlargeur,colframe=darkgray!50!black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}}}%
+ %\tcbset{width=\CODPITlargeur,colframe=darkgray!50!black,fontupper=\CODPITfonte,fontlower=\CODPITfonte,\CODPITalign}
\ifboolKV[envpiton]{Filigrane}%si filigrane
{\tcbset{filigrane/.style={watermark text={\faPython},watermark opacity=0.25,watermark zoom=0.50}}}%
{\tcbset{filigrane/.style={}}}%
@@ -123,7 +123,7 @@
\ifboolKV[envpiton]{Cadre}
{\tcbset{cadre/.style={}}}%
{\tcbset{cadre/.style={boxrule=0pt,frame hidden}}}%
- \tcbset{titre/.style={lefttitle=0.4em,title={\CODPITtitre},fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=DarkGray!50!Black}}
+ \tcbset{titre/.style={lefttitle=0.4em,title={\CODPITtitre},fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=darkgray!50!black}}
}%
{%
\tcbset{titre/.style={notitle}}
@@ -144,7 +144,7 @@
%======CONSOLE PYLUATEX (package à charger manuellement !!)
\tcbset{consolepylua/.style={%base de la boîte
- enhanced,colback=white,colframe=ForestGreen,sharp corners,boxrule=1pt,%
+ enhanced,colback=white,colframe=CouleurVertForet,sharp corners,boxrule=1pt,%
top=1.5mm,bottom=1.5mm,left=2mm,right=2mm,fontupper=\footnotesize,%
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
}
@@ -153,8 +153,8 @@
\tcbset{consolepyluatexlogo/.style={%avec logo python
consolepylua,%
overlay={%
- \draw ([yshift=0.5pt]frame.south) node[ForestGreen!50!black,fill=white,font=\scriptsize\ttfamily] {\scalebox{0.8}[0.8]{\faPython} Fin de la Console Python \scalebox{0.8}[0.8]{\faPython}} ;
- \draw ([yshift=-0.5pt]frame.north) node[ForestGreen!50!black,fill=white,font=\scriptsize\ttfamily] {\scalebox{0.8}[0.8]{\faPython} Début de la Console Python \scalebox{0.8}[0.8]{\faPython}} ;
+ \draw ([yshift=0.5pt]frame.south) node[CouleurVertForet!50!black,fill=white,font=\scriptsize\ttfamily] {\scalebox{0.8}[0.8]{\faPython} Fin de la Console Python \scalebox{0.8}[0.8]{\faPython}} ;
+ \draw ([yshift=-0.5pt]frame.north) node[CouleurVertForet!50!black,fill=white,font=\scriptsize\ttfamily] {\scalebox{0.8}[0.8]{\faPython} Début de la Console Python \scalebox{0.8}[0.8]{\faPython}} ;
}
}
}
@@ -162,8 +162,8 @@
\tcbset{consolepyluatex/.style={%sans logo python
consolepylua,%
overlay={%
- \draw ([yshift=0.5pt]frame.south) node[ForestGreen!50!black,fill=white,font=\scriptsize\ttfamily] {Fin de la Console Python} ;
- \draw ([yshift=-0.5pt]frame.north) node[ForestGreen!50!black,fill=white,font=\scriptsize\ttfamily] {Début de la Console Python} ;
+ \draw ([yshift=0.5pt]frame.south) node[CouleurVertForet!50!black,fill=white,font=\scriptsize\ttfamily] {Fin de la Console Python} ;
+ \draw ([yshift=-0.5pt]frame.north) node[CouleurVertForet!50!black,fill=white,font=\scriptsize\ttfamily] {Début de la Console Python} ;
}
}
}
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-probas.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-probas.tex
index b66996a7a6..37cd0a4793 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-probas.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-probas.tex
@@ -649,7 +649,7 @@
}
\setKVdefault[GRPHPROBCONTINUES]{%
- CouleurAire=LightGray,%
+ CouleurAire=lightgray,%
CouleurCourbe=red,%
Largeur=2,%
Hauteur=1,%
@@ -673,7 +673,7 @@
{\draw (0,-0.0375) node[font=\tiny,scale={2*\UNITEX}] {#3} ;}
{}
\ifboolKV[GRPHPROBCONTINUES]{AfficheCadre}%
- {\draw[Gray] (-4,-0.075) rectangle (4,0.425) ;}
+ {\draw[gray] (-4,-0.075) rectangle (4,0.425) ;}
{}
\clip (-4,-0.075) rectangle (4,0.425) ;
\draw[black,semithick,fill=\GRPHPROBcoulsurf] ({\BorneInf},0) -- plot [domain={\BorneInf}:{\BorneSup},samples=100] (\x,{\densnorm{\x}}) -- ({\BorneSup},0) -- cycle;
@@ -697,7 +697,7 @@
%tikzpicture
\begin{tikzpicture}[x=\UNITEX cm,y=\UNITEY cm,#2]
\ifboolKV[GRPHPROBCONTINUES]{AfficheCadre}%
- {\draw[Gray] (-0.2,-0.15) rectangle (3.8,0.85) ;}
+ {\draw[gray] (-0.2,-0.15) rectangle (3.8,0.85) ;}
{}
\clip (-0.2,-0.15) rectangle (3.8,0.85) ;
\draw[black,semithick,fill=\GRPHPROBcoulsurf] ({\BorneInf},0) -- plot [domain={\BorneInf}:{\BorneSup},samples=100] (\x,{0.7*\densexpo{\x}}) -- ({\BorneSup},0) -- cycle;
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-pythontex.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-pythontex.tex
index e58bdf2901..a326be2af7 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-pythontex.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-pythontex.tex
@@ -37,9 +37,9 @@
\begin{minipage}{\CSPYlargeur}
\ifboolKV[envpythonconsole]{Label}%si label
{\begin{pyconsole}[][%
- framesep=3mm,frame=single,fontsize=\CSPYfonte,framerule=1pt,rulecolor=\color{ForestGreen},label={[\scriptsize Début de la console python]\scriptsize Fin de la console python},baselinestretch=\CSPYstretch]}%
+ framesep=3mm,frame=single,fontsize=\CSPYfonte,framerule=1pt,rulecolor=\color{CouleurVertForet},label={[\scriptsize Début de la console python]\scriptsize Fin de la console python},baselinestretch=\CSPYstretch]}%
{\begin{pyconsole}[][%
- framesep=3mm,frame=single,fontsize=\CSPYfonte,framerule=1pt,rulecolor=\color{ForestGreen},baselinestretch=\CSPYstretch]}
+ framesep=3mm,frame=single,fontsize=\CSPYfonte,framerule=1pt,rulecolor=\color{CouleurVertForet},baselinestretch=\CSPYstretch]}
}%
{%
\end{pyconsole}
@@ -74,16 +74,16 @@
top=\baselineskip,bottom=1mm,right=5mm,left=0.6em,
attach boxed title to top right={yshift=-\tcboxedtitleheight},
boxed title style={
- size=small,colback=ForestGreen!25,boxrule=1.25pt,
- colframe=Green,boxsep=1.25pt,
+ size=small,colback=CouleurVertForet!25,boxrule=1.25pt,
+ colframe=green,boxsep=1.25pt,
sharp corners=downhill,
arc=12pt,
top=2pt,bottom=1pt,left=6pt,right=6pt
},
- fonttitle=\color{ForestGreen}\itshape\ttfamily\footnotesize,
+ fonttitle=\color{CouleurVertForet}\itshape\ttfamily\footnotesize,
title={\scriptsize\faPython}\:Code Python\vphantom{p},
watermark text={\faPython},watermark opacity=0.175,watermark zoom=0.50,
- colframe=Green,colback=ForestGreen!5,%
+ colframe=green,colback=CouleurVertForet!5,%
before upper=\renewcommand\theFancyVerbLine{\scriptsize\ttfamily\color{darkgray}\arabic{FancyVerbLine}}
}
}
@@ -129,7 +129,7 @@
%v2
\tcbset{stylepythontexalt/.style={%
- enhanced,boxrule=0.75pt,colframe=DarkGray!50!Black,%
+ enhanced,boxrule=0.75pt,colframe=darkgray!50!black,%
sharp corners,top=0mm,bottom=0mm,left=0.2em,right=5mm,%
before skip=0.5\baselineskip,after skip=0.5\baselineskip,%
colback=white,
@@ -137,7 +137,7 @@
title={{\scriptsize\faCode} Code Python},
lefttitle=0.4em,
watermark text={\faPython},watermark opacity=0.25,watermark zoom=0.50,
- fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=DarkGray!50!Black,
+ fonttitle=\bfseries\footnotesize\sffamily,colbacktitle=darkgray!50!black,
before upper=\renewcommand\theFancyVerbLine{\scriptsize\ttfamily\color{darkgray}\arabic{FancyVerbLine}}
}
}
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-recreat.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-recreat.tex
index c44d144633..a90d17e0dc 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-recreat.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-recreat.tex
@@ -105,7 +105,7 @@
{}
%LE BLOC "TITRE"
\ifboolKV[paramfenxcas]{Titre}%si titre=true
- {\draw[\CFcouleur,fill=lightgray!25,rounded corners] ($(A01) + (0,2pt)$) rectangle ++ ($({\CFlarg},2em)$) node[ForestGreen!50!\CFcouleur,midway,font=\CFtailletitre\ttfamily\bfseries] {\CFlabeltitre};}
+ {\draw[\CFcouleur,fill=lightgray!25,rounded corners] ($(A01) + (0,2pt)$) rectangle ++ ($({\CFlarg},2em)$) node[CouleurVertForet!50!\CFcouleur,midway,font=\CFtailletitre\ttfamily\bfseries] {\CFlabeltitre};}
{}
}
@@ -138,7 +138,7 @@
Epaisseurg=1.5pt,%
Epaisseur=0.5pt,%
Unite=1cm,%
- CouleurCase=LightBlue!50,%
+ CouleurCase=cyan!25,%
CouleurTexte=blue,%
NbCol=9,%
NbSubCol=3,%