summaryrefslogtreecommitdiff
path: root/macros
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
parentba73c7edc85ac1310d82920c5f432993f8a9af23 (diff)
CTAN sync 202308260300
Diffstat (limited to 'macros')
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdfbin1071216 -> 1074152 bytes
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex183
-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
-rw-r--r--macros/luatex/generic/evangelion-jfm/Eva-JFM_doc-sc.pdfbin265483 -> 265161 bytes
-rw-r--r--macros/luatex/generic/evangelion-jfm/Evangelion-JFM.dtx8
-rw-r--r--macros/luatex/generic/evangelion-jfm/README.md12
-rw-r--r--macros/luatex/generic/evangelion-jfm/jfm-eva.lua100
-rw-r--r--macros/luatex/generic/evangelion-jfm/makefile15
14 files changed, 270 insertions, 162 deletions
diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf
index 0ef3c920c5..fff8e4d1bf 100644
--- a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf
+++ b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex
index 549e60d405..8593461484 100644
--- a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex
+++ b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex
@@ -5,8 +5,8 @@
% arara: lualatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
\documentclass[a4paper,french,11pt]{article}
-\def\PLversion{2.7.1}
-\def\PLdate{08 août 2023}
+\def\PLversion{2.7.2}
+\def\PLdate{25 août 2023}
\usepackage{amsfonts}
\usepackage{ProfLycee}
\useproflyclib{piton,minted,pythontex}
@@ -64,10 +64,15 @@
\geometry{margin=1.5cm}
\usepackage{babel}
\usepackage{newverbs}
+
+\definecolor{BleuCadet}{HTML}{5E9EA0}
+\definecolor{Chair}{HTML}{FDDBB8}
+\definecolor{BleuAcier}{HTML}{4483B8}
+
\newverbcommand{\pverb}{\color{purple}}{}
\newverbcommand{\rverb}{\color{red}}{}
-\newverbcommand{\vverb}{\color{ForestGreen}}{}
-\newverbcommand{\averb}{\color{CadetBlue}}{}
+\newverbcommand{\vverb}{\color{CouleurVertForet}}{}
+\newverbcommand{\averb}{\color{BleuCadet}}{}
\newverbcommand{\overb}{\color{orange}}{}
\newverbcommand{\bverb}{\color{blue}}{}
\setlength{\parindent}{0pt}
@@ -76,8 +81,8 @@
\newtcolorbox{PART}[1][]{%
enhanced,top=3mm,bottom=3mm,
bottomtitle=2mm,arc=2pt,outer arc=0pt,
- colframe=LightSteelBlue,colback=white,bicolor,
- colbacklower=LightSteelBlue!15,coltitle=black,
+ colframe=teal,colback=white,bicolor,
+ colbacklower=teal!15,coltitle=black,
fonttitle=\large\sffamily,
title=\centering Thème,
#1%
@@ -91,9 +96,9 @@
\tcbset{vignettelatex/.style={%
fontupper={\vphantom{pf}\footnotesize\ttfamily},
vignettes,%
- colframe=CadetBlue,coltitle=white,colback=CadetBlue!5,%
+ colframe=BleuCadet,coltitle=white,colback=BleuCadet!5,%
overlay={\begin{tcbclipinterior}%
- \fill[fill=lightgray!50]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{CadetBlue}{\scalebox{0.6}[0.75]{\textbf{\LaTeX}}}}} ($(interior.north west)+(5pt,0pt)$);%
+ \fill[fill=lightgray!50]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{BleuCadet}{\scalebox{0.6}[0.75]{\textbf{\LaTeX}}}}} ($(interior.north west)+(5pt,0pt)$);%
\end{tcbclipinterior}}
}
}
@@ -101,9 +106,9 @@
\tcbset{vignettelib/.style={%
fontupper={\vphantom{pf}\footnotesize\ttfamily},
vignettes,%
- colframe=ForestGreen,coltitle=white,colback=white,%
+ colframe=CouleurVertForet,coltitle=white,colback=white,%
overlay={\begin{tcbclipinterior}%
- \fill[fill=green!25]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{ForestGreen}{\scalebox{0.85}[0.75]{\textbf{LIB}}}}} ($(interior.north west)+(5pt,0pt)$);%
+ \fill[fill=green!25]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{CouleurVertForet}{\scalebox{0.85}[0.75]{\textbf{LIB}}}}} ($(interior.north west)+(5pt,0pt)$);%
\end{tcbclipinterior}}
}
}
@@ -111,9 +116,9 @@
\tcbset{vignetteMaJ/.style={%
fontupper={\vphantom{pf}\footnotesize\ttfamily},
vignettes,%
- colframe=ForestGreen!50!black,coltitle=white,colback=ForestGreen!25,%
+ colframe=CouleurVertForet!50!black,coltitle=white,colback=CouleurVertForet!25,%
overlay={\begin{tcbclipinterior}%
- \fill[fill=ForestGreen!75]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{Black}{\scalebox{0.85}[0.75]{\textbf{MàJ}}}}} ($(interior.north west)+(5pt,0pt)$);%
+ \fill[fill=CouleurVertForet!75]($(interior.south west)$) rectangle node[rotate=90]{\tiny \sffamily{\textcolor{black}{\scalebox{0.85}[0.75]{\textbf{MàJ}}}}} ($(interior.north west)+(5pt,0pt)$);%
\end{tcbclipinterior}}
}
}
@@ -139,7 +144,7 @@
alsoletter={-},%
morekeywords={\ResolutionApprochee,\SolutionTVI,\CalculTermeRecurrence,\ToileRecurrence,\SolutionSeuil,\IntegraleApprochee,\GrilleTikz,\AxesTikz,\AxexTikz,\AxeyTikz,\FenetreTikz,\FenetreSimpleTikz,\DeclareFonctionTikz,\CourbeTikz,\OrigineTikz,\SplineTikz,\TangenteTikz,\MiniSchemaSignes,\MiniSchemaSignesTkzTab,\IntegraleApprocheeTikz,\CartoucheCapytale,\PaveTikz,\TetraedreTikz,\CercleTrigo,\AffPoint,\AffVecteur,\TrouveEqCartPlan,\TrouveEqParamDroite,\TrouveEqCartDroite,\TrouveNorme,\TrouveDistancePtPlan,\EquationReduite,\CalculsRegLin,\PointsRegLin,\NuagePointsTikz,\PointMoyenTikz,\BoiteMoustaches,\BoiteMoustachesAxe,\Histogramme,\CalcBinomP,\CalcBinomC,\BinomP,\BinomC,\CalcPoissP,\CalcPoissC,\PoissonP,\PoissonC,\CalcGeomP,\CalcGeomC,\GeomP,\GeomC,\CalcHypergeomP,\CalcHypergeomP,\HypergeomP,\HypergeomC,\CalcNormC,\NormaleC,\CalcExpoC,\ExpoC,\ArbreProbasTikz,\LoiNormaleGraphe,\LoiExpoGraphe,\NbAlea,\VarNbAlea,\TirageAleatoireEntiers,\Arrangement,\Combinaison,\ConversionDecBin,\ConversionBinHex,\ConversionVersDec,\ConversionBaseDix,\ConversionDepuisBaseDix,\PresentationPGCD,\EquationDiophantienne,\ConversionFraction,\SimplificationRacine,\EcritureEnsemble,\EcritureTrinome,\MesurePrincipale,\LigneTrigo,\SudoMaths,\FonctionRepartTikz
},%
- keywordstyle={\color{green!75!black}},%
+ keywordstyle={\color{CouleurVertForet}},%
classoffset=3,%
alsoletter={-},%
morekeywords={minimum-decimal-digits,scale,nonamssymb,build,Precision,Intervalle,Variable,NomFct,NomSol,va,vb,Stretch,Balayage,Calculatrice,Majuscule,No,UNo,NomSuite,Simple,Exact,Conclusion,Sens,ResultatBrut,Methode,NbSubDiv,AffFormule,Expr,Signe,Variables,Affp,Affs,Epaisseur,Police,ElargirOx,ElargirOy,Labelx,Labely,AffLabel,PosLabelx,PosLabely,EchelleFleche,TypeFleche,PosGrad,HautGrad,AffGrad,AffOrigine,Annee,Trigo,Dfrac,Style,Coeffs,AffPoints,TaillePoints,xl,xr,Code,Racines,Largeur,Hauteur,Cadre,Fct,Nom,PosLabel,DecalLabel,TailleLabel,AffTermes,RemplirbOpacite,CouleurRemplissage,Lignes,Gobble,Alignement,Filigrane,BarreTitre,CouleurNombres,Centre,EspacementVertical,Label,Titre,Profondeur,Angle,Fuite,Sommets,Math,Aff,Plein,Cube,Alpha,Beta,Rayon,Marge,TailleValeurs,TailleAngles,CouleurFond,Decal,MoinsPi,AffAngles,AffTraits,AffValeurs,Equationcos,Equationsin,sin,cos,AffTraitsEq,CouleurSol,OptionCoeffs,SimplifCoeffs,Facteur,OptionCoeffs,Reel,Oppose,Rgras,SimplifCoeffs,VectDirecteur,NomCoeffa,NomCoeffb,NomCoeffr,NomCoeffrd,NomXmin,NomXmax,Ox,Oy,xg,yg,AffNom,Elevation,Moyenne,AffMoyenne,Pointilles,Valeurs,Elargir,Min,Max,DebutOx,FinOx,ListeCouleurs,ElargirX,ElargirY,LabelX,LabelY,GradX,GradY,AffEffectifs,PosEffectifs,Opacite,AffBornes,GrilleV,PoliceAxes,PoliceEffectifs,EpaisseurTraits,Unite,EspaceNiveau,EspaceFeuille,Type,PoliceProbas,InclineProbas,Fleche,StyleTrait,EpaisseurTrait,CouleurAire,CouleurCourbe,AfficheM,AfficheCadre,ValMin,ValMax,NbVal,Sep,Tri,Repetition,Notation,NotationAncien,Formule,AffBase,Details,BaseDep,Zeros,DecalH,DecalV,Noeud,Rect,CouleurRes,DecalRect,Rectangle,CouleurResultat,AfficheConclusion,AfficheDelimiteurs,Lettre,Inconnues,Entier,Cadres,PresPGCD,Mathpunct,Option,Alea,Anegatif,Crochets,Brut,Etapes,Epaisseurg,CouleurCase,CouleurTexte,NbSubCol,NbLig,NbCol,Legendes,PoliceLeg,ListeLegV,ListeLegH,DecalLegende,Couleur,Uno,Grille,ExtraGrilleY,PosLegende,Pointilles,Extremite,Frac},%
@@ -148,8 +153,8 @@
}
}
-\NewTCBListing{PresCodeTexPL}{ O{CadetBlue} m }{%
- enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!Black,%
+\NewTCBListing{PresCodeTexPL}{ O{BleuCadet} m }{%
+ enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!black,%
sharp corners,top=0mm,bottom=0mm,left=0.4em,right=5mm,%
before skip=\baselineskip,after skip=\baselineskip,%
colback=white,
@@ -165,8 +170,8 @@
overlay={\draw[#1!85!black] ($(frame.north west)+(-0.035\linewidth,-0.025\linewidth)$) node[scale=1.66] {\faCode} ;}
}
-\NewTCBListing{PresCodePL}{ O{CadetBlue} m }{%
- enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!Black,%
+\NewTCBListing{PresCodePL}{ O{BleuCadet} m }{%
+ enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!black,%
sharp corners,top=0mm,bottom=0mm,left=0.4em,right=5mm,%
before skip=\baselineskip,after skip=\baselineskip,%
colback=white,
@@ -186,8 +191,8 @@
}
}
-\NewTCBListing{PresCodeSortiePL}{ O{CadetBlue} m }{%
- enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!Black,%
+\NewTCBListing{PresCodeSortiePL}{ O{BleuCadet} m }{%
+ enhanced,width=0.93\linewidth,flush right,boxrule=0.75pt,colframe=#1!85!black,%
sharp corners,top=0mm,bottom=0mm,left=0.4em,right=5mm,%
before skip=\baselineskip,after skip=\baselineskip,%
colback=white,
@@ -207,19 +212,19 @@
colback=white,colframe=red!75!black,title={\small \faCode} Code \LaTeX,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
\newtcolorbox{codeattention}[1][]{%
- colback=Yellow!50,colframe=Yellow!50!Black,title={\small \faBomb} Attention,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
+ colback=Yellow!50,colframe=yellow!50!black,title={\small \faBomb} Attention,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
\newtcolorbox{codesortie}[1][]{%
colback=white,colframe=red!75!black,title={\small \faArrowAltCircleRight[regular]} Sortie \LaTeX,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
\newtcolorbox{condeidee}[1][]{%
- colback=white,colframe=PeachPuff!75!black,title={\small \faLightbulb[regular]} Idée(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
+ colback=white,colframe=Chair!75!black,title={\small \faLightbulb[regular]} Idée(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
\newtcolorbox{codeinfo}[1][]{%
- colback=white,colframe=SteelBlue,title={\small \faPuzzlePiece} Information(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
+ colback=white,colframe=BleuAcier,title={\small \faPuzzlePiece} Information(s),fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
\newtcolorbox{codecles}[1][]{%
- colback=white,colframe=ForestGreen!75,title={\small \faPaperclip} Clés et options,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
+ colback=white,colframe=CouleurVertForet!75,title={\small \faPaperclip} Clés et options,fonttitle=\sffamily\bfseries,left=3pt,right=3pt,top=2pt,bottom=2pt,#1}
%petite vignette tex
\newcommand\ctex[1]{\tcbox[vignettelatex]{#1}}
@@ -259,7 +264,7 @@
\tikzset{noeudexpl/.style={purple,font=\sffamily\small}}
\tikzset{portionexpl/.style={orange,thick,<->,>=latex}}
\tikzset{expl/.style={midway,inner sep=1pt,above right=0,orange,font=\sffamily\scriptsize,rotate=45}}
- \tikzset{coeffs/.style={CadetBlue!50!black,circle,draw=CadetBlue,thick,fill=CadetBlue!5,font=\small\ttfamily}}
+ \tikzset{coeffs/.style={BleuCadet!50!black,circle,draw=BleuCadet,thick,fill=BleuCadet!5,font=\small\ttfamily}}
\tikzset{tangente/.style={teal,line width=1pt,dashed}}
%grilles & axes
\tgrilles[line width=0.3pt,lightgray!50]
@@ -294,7 +299,7 @@
}
\newcommand\listecoeffs[4]{%
- \draw (0,5.5) node[left,CadetBlue,font=\small\ttfamily] {Coeffs} ;
+ \draw (0,5.5) node[left,BleuCadet,font=\small\ttfamily] {Coeffs} ;
\node[coeffs] at (2,5.5) {#1} ;
\node[coeffs] at ({(4+7.5)/2},5.5) {#2} ;
\node[coeffs] at ({(7.5+9)/2},5.5) {#3} ;
@@ -427,12 +432,18 @@ Il se charge de manière classique, dans le préambule, par \ctex{\textbackslash
L'utilisateur est libre de charger ses autres {packages} utiles et habituels, ainsi que ses \textsf{polices} et \textsf{encodages} habituels !
\end{noteblock}
+\begin{cautionblock}
+\cmaj{2.7.2} Pour des soucis de compatibilités, \ctex{xcolor} n'est plus chargé, par défaut, avec les options \textsf{[table,svgnames]}, les couleurs de base de \ctex{xcolor} sont toutefois accessibles (une seule couleur, \textsf{CouleurVertForet} a été définie) !
+
+Il est cependant possible, grâce à l'option \Cle{[xcolor]} à passer au chargement du package, de charger \ctex{xcolor} avec l' option \textsf{[table,svgnames]}.
+\end{cautionblock}
+
\begin{importantblock}
Le {package} \ctex{ProfLycee} charge et utilise les {packages} :
\begin{itemize}
\item \ctex{mathtools}, \ctex{amssymb} ;
- \item \ctex{xcolor} avec l' option \textsf{[table,svgnames]} ;
+% \item \ctex{xcolor} avec l' option \textsf{[table,svgnames]} ;
\item \ctex{tikz}, \ctex{pgf}, \ctex{pgffor}, \ctex{nicefrac}, \ctex{nicematrix} ;
\item \ctex{tcolorbox} avec les librairies \ctex{breakable,fitting,skins,listings,listingsutf8,hooks} ;
\item \ctex{xparse}, \ctex{xstring}, \ctex{simplekv}, \ctex{xinttools} ;
@@ -451,7 +462,7 @@ J'ai utilisé les {packages} de C. Tellechea, je vous conseille d'aller jeter un
\begin{PresCodeTexPL}{listing only}
%exemple de chargement pour une compilation en (pdf)latex
\documentclass{article}
-\usepackage{ProfLycee}
+\usepackage{ProfLycee} % ou \usepackage[xcolor]{ProfLycee}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
@@ -460,7 +471,7 @@ J'ai utilisé les {packages} de C. Tellechea, je vous conseille d'aller jeter un
\begin{PresCodeTexPL}{listing only}
%exemple de chargement pour une compilation en (xe/lua)latex
\documentclass{article}
-\usepackage{ProfLycee}
+\usepackage{ProfLycee} % ou \usepackage[xcolor]{ProfLycee}
\usepackage{fontspec}
...
\end{PresCodeTexPL}
@@ -599,9 +610,9 @@ En ce qui concerne les codes \textsf{librairies}, il faudra :
\begin{noteblock}
Certaines \textsf{commandes} sont à intégrer dans un environnement \TikZ, afin de pouvoir rajouter des éléments, elles ont été testés dans des environnement \ctex{tikzpicture}, à vérifier que la gestion des axes par l'environnement \ctex{axis} est compatible\ldots
-\smallskip
-
-Certains packages ont une fâcheuse tendance à être tatillons sur leurs options (les \textit{fameux} \textsf{option clash for} \ldots) ou leur \textit{position} dans le chargement, donc attention notamment au chargement de \ctex{xcolor} et de \ctex{amssymb} !
+%\smallskip
+%
+%Certains packages ont une fâcheuse tendance à être tatillons sur leurs options (les \textit{fameux} \textsf{option clash for} \ldots) ou leur \textit{position} dans le chargement, donc attention notamment au chargement de \ctex{xcolor} et de \ctex{amssymb} !
\smallskip
@@ -1351,7 +1362,7 @@ Au niveau du code, il y aura donc plusieurs \textit{aspects} :
xmin=0,xmax=60,xgrille=5,xgrilles=5, %axe Ox
ymin=0,ymax=240,ygrille=30,ygrilles=30] %axe Oy
\FenetreSimpleTikz<Police=\small>{0,5,...,55}<Police=\small>{0,30,...,210} %repère
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=250]%
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=250]%
{\x*\x*exp(-0.05*\x)+1}{0:60} %courbe
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -1640,7 +1651,7 @@ Cette commande permet de rajouter une courbe sur le graphique (sans se soucier d
\FenetreSimpleTikz%
<Police=\small>{0,5,...,60}%
<Police=\small>{0,30,...,240} %repère
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=250]%
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=250]%
{\x*\x*exp(-0.05*\x)+1}{0:60} %courbe
\end{tikzpicture}
\end{PresCodeTexPL}
@@ -1651,7 +1662,7 @@ Cette commande permet de rajouter une courbe sur le graphique (sans se soucier d
xmin=0,xmax=60,xgrille=5,xgrilles=5,ymin=0,ymax=240,ygrille=30,ygrilles=30]
\FenetreSimpleTikz%
<Police=\small>{0,5,...,60}<Police=\small>{0,30,...,240} %repère
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=250]%
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=250]%
{\x*\x*exp(-0.05*\x)+1}{0:60} %courbe
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -1682,8 +1693,8 @@ On va utiliser les notions suivantes pour paramétrer le tracé \og automatique
%
\begin{itemize}
\item il faut rentrer les \textcolor{purple}{\textsf{points de contrôle}} ;
- \item il faut préciser les \textcolor{ForestGreen}{\textsf{pentes des tangentes}} (pour le moment on travaille avec les mêmes à gauche et à droite\ldots) ;
- \item on peut \og affiner \fg{} les portions de courbe en paramétrant des \textcolor{CadetBlue}{\textsf{coefficients}} (voir un peu plus loin\ldots).
+ \item il faut préciser les \textcolor{CouleurVertForet}{\textsf{pentes des tangentes}} (pour le moment on travaille avec les mêmes à gauche et à droite\ldots) ;
+ \item on peut \og affiner \fg{} les portions de courbe en paramétrant des \textcolor{BleuCadet}{\textsf{coefficients}} (voir un peu plus loin\ldots).
\end{itemize}
\medskip
@@ -1886,7 +1897,7 @@ Cela permet de tracer la tangente :
%spline
\SplineTikz[AffPoints,Coeffs=3§2,Couleur=red]{\LISTE}
%tangente
- \TangenteTikz[xl=0,xr=0.5,Couleur=ForestGreen,Style=dashed]{\LISTE}
+ \TangenteTikz[xl=0,xr=0.5,Couleur=CouleurVertForet,Style=dashed]{\LISTE}
\TangenteTikz[xl=0.5,xr=0.75,Couleur=orange,Style=dotted,Point=2]{\LISTE}
\TangenteTikz[xl=0.33,xr=0,Couleur=blue,Style=densely dashed,Point=3]{\LISTE}
...
@@ -1908,7 +1919,7 @@ On obtient le résultat suivant (avec les éléments rajoutés utiles à la comp
%spline
\SplineTikz[AffPoints,Coeffs=3§2,Couleur=red]{0/1.5/0§1/2/-0.333§2/0/-5}
%tangente
- \TangenteTikz[xl=0,xr=0.5,Couleur=ForestGreen,Style=dashed]{0/1.5/0§1/2/-0.333§2/0/-5}
+ \TangenteTikz[xl=0,xr=0.5,Couleur=CouleurVertForet,Style=dashed]{0/1.5/0§1/2/-0.333§2/0/-5}
\TangenteTikz[xl=0.5,xr=0.75,Couleur=orange,Style=dotted,Point=2]{0/1.5/0§1/2/-0.333§2/0/-5}
\TangenteTikz[xl=0.33,xr=0,Couleur=blue,Style=densely dashed,Point=3]{0/1.5/0§1/2/-0.333§2/0/-5}
%explications
@@ -1948,7 +1959,7 @@ On obtient le résultat suivant (avec les éléments rajoutés utiles à la comp
\TangenteTikz[xl=0,xr=1,Couleur=blue,Style=dashed]{\liste}
\TangenteTikz[xl=2,xr=2,Couleur=purple,Style=dotted,Point=2]{\liste}
\TangenteTikz[xl=2,xr=2,Couleur=orange,Style=<->,Point=3]{\liste}
- \TangenteTikz[xl=2,xr=0,Couleur=ForestGreen,Point=5]{\liste}
+ \TangenteTikz[xl=2,xr=0,Couleur=CouleurVertForet,Point=5]{\liste}
%la courbe en elle-même
\SplineTikz[AffPoints,Coeffs=3,Couleur=cyan,Style=densely dotted]{\liste}
\end{tikzpicture}
@@ -1970,7 +1981,7 @@ On obtient le résultat suivant (avec les éléments rajoutés utiles à la comp
\TangenteTikz[xl=0,xr=1,Couleur=blue,Style=dashed]{\liste}
\TangenteTikz[xl=2,xr=2,Couleur=purple,Style=dotted,Point=2]{\liste}
\TangenteTikz[xl=2,xr=2,Couleur=orange,Style=<->,Point=3]{\liste}
- \TangenteTikz[xl=2,xr=0,Couleur=ForestGreen,Point=5]{\liste}
+ \TangenteTikz[xl=2,xr=0,Couleur=CouleurVertForet,Point=5]{\liste}
%la courbe en elle-même
\SplineTikz[AffPoints,Coeffs=3,Couleur=cyan,Style=densely dotted]{\liste}
\end{tikzpicture}
@@ -2058,7 +2069,7 @@ Pour la clé \Cle{code}, il est construit par le type (\textsf{a} pour affine ou
\begin{center}
\MiniSchemaSignes*[Code=pa+d+,Racines={1/2},Couleur=orange]
~~~~
-\MiniSchemaSignes*[Code=pa+d-,Couleur=ForestGreen]
+\MiniSchemaSignes*[Code=pa+d-,Couleur=CouleurVertForet]
~~~~
\MiniSchemaSignes*[Code=pa+d0,Racines={5},Couleur=purple]
\end{center}
@@ -2082,7 +2093,7 @@ Pour la clé \Cle{code}, il est construit par le type (\textsf{a} pour affine ou
\begin{center}
\MiniSchemaSignes*[Code=pa+d+,Racines={1/2},Couleur=orange]
~~~~
-\MiniSchemaSignes*[Code=pa+d-,Couleur=ForestGreen]
+\MiniSchemaSignes*[Code=pa+d-,Couleur=CouleurVertForet]
~~~~
\MiniSchemaSignes*[Code=pa+d0,Racines={5},Couleur=purple]
\end{center}
@@ -2098,10 +2109,10 @@ Pour la clé \Cle{code}, il est construit par le type (\textsf{a} pour affine ou
\begin{PresCodePL}{}
\begin{tikzpicture}
- \MiniSchemaSignes[Largeur=3.5,Hauteur=1.5,Code=da-,Racines=\tfrac{-b}{a},Couleur=Plum]
+ \MiniSchemaSignes[Largeur=3.5,Hauteur=1.5,Code=da-,Racines=\tfrac{-b}{a},Couleur=pink]
\end{tikzpicture}
-\MiniSchemaSignes*[Code=da-,Racines=\tfrac{-b}{a},Couleur=Plum]<x=1.75cm,y=1.5cm>
+\MiniSchemaSignes*[Code=da-,Racines=\tfrac{-b}{a},Couleur=pink]<x=1.75cm,y=1.5cm>
\end{PresCodePL}
\pagebreak
@@ -2257,7 +2268,7 @@ On va tracer la \textit{toile} des 4 premiers termes de la suite récurrente :\\
\ToileRecurrence[Fct={\f},No=1,Uno=1,Nb=4,DecalLabel=4pt]
%éléments supplémentaires
\draw[very thick,blue,domain=0:8,samples=250] plot (\x,{\f}) ;
-\draw[very thick,ForestGreen,domain=0:8,samples=2] plot (\x,\x) ;
+\draw[very thick,CouleurVertForet,domain=0:8,samples=2] plot (\x,\x) ;
\end{PresCodePL}
\begin{noteblock}
@@ -2313,7 +2324,7 @@ Peut-être que -- ultérieurement -- des options \textit{booléennes} seront dis
\def\f{1+1/\x}
\ToileRecurrence%
[Fct={\f},No=0,Uno=1,Nb=7,PosLabel=above right,DecalLabel=0pt,AffTermes=false]%
- [line width=1.25pt,ForestGreen,densely dashed][]
+ [line width=1.25pt,CouleurVertForet,densely dashed][]
\draw[line width=1.25pt,blue,domain=0:2.25,samples=2] plot(\x,{\x});
\draw[line width=1.25pt,red,domain=0.8:2.5,samples=250] plot(\x,{\f});
\end{tikzpicture}
@@ -2336,7 +2347,7 @@ Peut-être que -- ultérieurement -- des options \textit{booléennes} seront dis
%tracés
\ToileRecurrence%
[Fct={\f},No=0,Uno=1,Nb=7,PosLabel=above right,DecalLabel=0pt,AffTermes=false]%
- [line width=1.25pt,ForestGreen,densely dashed][]
+ [line width=1.25pt,CouleurVertForet,densely dashed][]
\draw[line width=1.25pt,blue,domain=0:2.25,samples=2] plot(\x,{\x});
\draw[line width=1.25pt,red,domain=0.8:2.5,samples=250] plot(\x,{\f});
\end{tikzpicture}
@@ -3451,7 +3462,7 @@ Il s'agir d'un environnement créé en \ctex{tcolorbox}, et utilisant la présen
Peu de personnalisations pour ces commandes :
\begin{itemize}
- \item le premier argument, \textit{optionnel}, permet de préciser la \textit{couleur} de la présentation ;\hfill{}défaut \Cle{ForestGreen}
+ \item le premier argument, \textit{optionnel}, permet de préciser la \textit{couleur} de la présentation ;\hfill{}défaut \Cle{CouleurVertForet}
\item le second, \textit{obligatoire}, correspond aux éventuelles options liées à la \ctex{tcolorbox}.
\end{itemize}
\vspace*{-\baselineskip}\leavevmode
@@ -3473,7 +3484,7 @@ On peut par exemple utiliser l'option \Cle{listing only} pour ne présenter \tex
Avec $A=\ValAleaA$ et $B=\ValAleaB$, on a $A\times B=\inteval{\ValAleaA * \ValAleaB}$.
\end{PresentationCode}
-\begin{PresentationCode}[DarkBlue]{}
+\begin{PresentationCode}[blue]{}
On peut faire beaucoup de choses avec \LaTeX{} !
\end{PresentationCode}
\end{PresCodePL}
@@ -3640,9 +3651,9 @@ Pour \textit{illustrer} un peu les \Cle{clés}, un petit schéma, avec les diff
\begin{center}
\begin{tikzpicture}[x=1.25cm,y=1.25cm,line width=1pt,line join=bevel]
\TetraedreTikz[Largeur=5,Profondeur=1.95,Hauteur=2.75,Alpha=45,Beta=70]
- \draw[draw=none] (A)--(C) node[midway,sloped,above,font=\small\sffamily,CadetBlue] {Largeur} ;
- \draw[draw=none] (A)--(B) node[midway,sloped,below,font=\small\sffamily,CadetBlue] {Profondeur} ;
- \draw[draw=none] (A)--(D) node[midway,sloped,above,font=\small\sffamily,CadetBlue] {Hauteur} ;
+ \draw[draw=none] (A)--(C) node[midway,sloped,above,font=\small\sffamily,BleuCadet] {Largeur} ;
+ \draw[draw=none] (A)--(B) node[midway,sloped,below,font=\small\sffamily,BleuCadet] {Profondeur} ;
+ \draw[draw=none] (A)--(D) node[midway,sloped,above,font=\small\sffamily,BleuCadet] {Hauteur} ;
\draw[purple] (0.5,0) arc (0:-45:0.5) ;
\draw (-22.5:0.5) node[purple,right] {$\alpha$} ;
\draw[orange] (0.75,0) arc (0:70:0.75) ;
@@ -3655,7 +3666,7 @@ Pour \textit{illustrer} un peu les \Cle{clés}, un petit schéma, avec les diff
\begin{center}
\begin{tikzpicture}[line join=bevel]
\TetraedreTikz[Aff,Largeur=7,Profondeur=3,Hauteur=5,Epaisseur={ultra thick},Alpha=20,Beta=30]
- \draw[very thick,ForestGreen,<->,>=latex] ($(A)!0.5!(D)$)--($(B)!0.5!(D)$) ;
+ \draw[very thick,CouleurVertForet,<->,>=latex] ($(A)!0.5!(D)$)--($(B)!0.5!(D)$) ;
\end{tikzpicture}
\end{center}
\end{PresCodeTexPL}
@@ -3664,7 +3675,7 @@ Pour \textit{illustrer} un peu les \Cle{clés}, un petit schéma, avec les diff
\begin{center}
\begin{tikzpicture}[line join=bevel]
\TetraedreTikz[Aff,Largeur=7,Profondeur=3,Hauteur=5,Epaisseur={ultra thick},Alpha=20,Beta=30]
- \draw[very thick,ForestGreen,<->,>=latex] ($(A)!0.5!(D)$)--($(B)!0.5!(D)$) ;
+ \draw[very thick,CouleurVertForet,<->,>=latex] ($(A)!0.5!(D)$)--($(B)!0.5!(D)$) ;
\end{tikzpicture}
\end{center}
\end{PresCodeSortiePL}
@@ -4774,7 +4785,7 @@ Le package \ctex{pgfplots} peut être utilisé pour traiter ce genre de situatio
\AxexTikz[Annee]{1992,1994,...,2010} %axeOx
\AxeyTikz{1640,1650,...,1720} %axeOy
\NuagePointsTikz{\LLX}{\LLY} %nuage
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=2]%
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=2]%
{\COEFFa*\x+\COEFFb}{\LXmin:\LXmax} %droite de régression
\PointMoyenTikz %point moyen
\end{tikzpicture}
@@ -4786,7 +4797,7 @@ Le package \ctex{pgfplots} peut être utilisé pour traiter ce genre de situatio
[....] %paramètres
\FenetreSimpleTikz<Annee>{1992,1994,...,2010}{1640,1650,...,1720} %fenêtre "simple"
\NuagePointsTikz{\LLX}{\LLY} %nuage
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=2]%
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=2]%
{\COEFFa*\x+\COEFFb}{\LXmin:\LXmax} %droite de régression
\PLnuageptmoy %point moyen
\end{tikzpicture}
@@ -4802,7 +4813,7 @@ Le package \ctex{pgfplots} peut être utilisé pour traiter ce genre de situatio
\AxexTikz[Annee]{1992,1994,...,2010}
\AxeyTikz{1640,1650,...,1720}
\NuagePointsTikz{\LLX}{\LLY}
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=2]{\COEFFa*\x+\COEFFb}{\LXmin:\LXmax}
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=2]{\COEFFa*\x+\COEFFb}{\LXmin:\LXmax}
\PointMoyenTikz
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -5070,7 +5081,7 @@ Cette commande, liée à la commande \ctex{CalculsRegLin} permet de représenter
\begin{PresCodeTexPL}{listing only}
\begin{tikzpicture}[...]
- \NuagePointsTikz[Couleur=ForestGreen,Style=x,Taille=6pt]{\LLX}{\LLY}
+ \NuagePointsTikz[Couleur=CouleurVertForet,Style=x,Taille=6pt]{\LLX}{\LLY}
\end{tikzpicture}
\end{PresCodeTexPL}
@@ -5083,7 +5094,7 @@ Cette commande, liée à la commande \ctex{CalculsRegLin} permet de représenter
\GrilleTikz \AxesTikz
\AxexTikz[Annee,Police=\small]{1992,1994,...,2010}
\AxeyTikz{1640,1650,...,1720}
- \NuagePointsTikz[Couleur=ForestGreen,Style=x,Taille=6pt]{\LLX}{\LLY}
+ \NuagePointsTikz[Couleur=CouleurVertForet,Style=x,Taille=6pt]{\LLX}{\LLY}
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -5122,7 +5133,7 @@ Cette commande permet de rajouter le point moyen du nuage, calculé par la comma
\end{tikzpicture}
~~
\begin{tikzpicture}[...]
- \NuagePointsTikz[Couleur=ForestGreen,Style=x,Taille=6pt]{\LLX}{\LLY}
+ \NuagePointsTikz[Couleur=CouleurVertForet,Style=x,Taille=6pt]{\LLX}{\LLY}
\PointMoyenTikz[Couleur=orange,Taille=8pt,Style=+,Nom={$G_1$},Pos=below]
\end{tikzpicture}
\end{PresCodeTexPL}
@@ -5144,7 +5155,7 @@ Cette commande permet de rajouter le point moyen du nuage, calculé par la comma
\GrilleTikz \AxesTikz
\AxexTikz[Annee,Police=\small]{1992,1994,...,2010}
\AxeyTikz{1640,1650,...,1720}
- \NuagePointsTikz[Couleur=ForestGreen,Style=x,Taille=6pt]{\LLX}{\LLY}
+ \NuagePointsTikz[Couleur=CouleurVertForet,Style=x,Taille=6pt]{\LLX}{\LLY}
\PointMoyenTikz[Couleur=orange,Taille=8pt,Style=+,Nom={$G_1$},Pos=below]
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -5181,7 +5192,7 @@ L'idée principale est de récupérer les variables de la régression linéaire
\begin{tikzpicture}[...]
\NuagePointsTikz[Couleur=blue/red]{\LLX}{\LLY} \PointMoyenTikz
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=2]{\COEFFa*\x+\COEFFb}{\xmin:\xmax}
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=2]{\COEFFa*\x+\COEFFb}{\xmin:\xmax}
\end{tikzpicture}
\end{PresCodeTexPL}
@@ -5195,7 +5206,7 @@ L'idée principale est de récupérer les variables de la régression linéaire
\AxexTikz[Annee,Police=\footnotesize]{1992,1994,...,2010}
\AxeyTikz{1640,1650,...,1720}
\NuagePointsTikz[Couleur=blue/red]{\LLX}{\LLY} \PointMoyenTikz
- \CourbeTikz[line width=1.25pt,ForestGreen,samples=2]{\COEFFa*\x+\COEFFb}{\xmin:\xmax}
+ \CourbeTikz[line width=1.25pt,CouleurVertForet,samples=2]{\COEFFa*\x+\COEFFb}{\xmin:\xmax}
\end{tikzpicture}
\end{PresCodeSortiePL}
@@ -5292,7 +5303,7 @@ Quelques \Cle{clés} sont disponibles pour cette commande :
\BoiteMoustaches[Epaisseur=ultra thick,Couleur=blue]{100/150/170/190/200}
\BoiteMoustaches[Epaisseur=thin,Elevation=2.5,Couleur=red]{80/100/110/120/150}
\BoiteMoustaches%
- [Elevation=4,Couleur=ForestGreen,Remplir=ForestGreen!25]{100/140/145/160/210}
+ [Elevation=4,Couleur=CouleurVertForet,Remplir=CouleurVertForet!25]{100/140/145/160/210}
\end{tikzpicture}
\end{center}
\end{PresCodeTexPL}
@@ -5305,7 +5316,7 @@ Quelques \Cle{clés} sont disponibles pour cette commande :
\foreach \y in {0,0.5,...,4.5} \draw[very thin,lightgray] ($(210,\y)+(-3pt,0)$)--($(210,\y)+(3pt,0)$) node[right] {\num{\y}} ;
\BoiteMoustaches[Epaisseur=ultra thick,Couleur=blue]{100/150/170/190/200}
\BoiteMoustaches[Epaisseur=thin,Elevation=2.5,Couleur=red]{80/100/110/120/150}
- \BoiteMoustaches[Elevation=4,Couleur=ForestGreen,Remplir=ForestGreen!25]{100/140/145/160/210}
+ \BoiteMoustaches[Elevation=4,Couleur=CouleurVertForet,Remplir=CouleurVertForet!25]{100/140/145/160/210}
\end{tikzpicture}
\end{center}
\end{PresCodeSortiePL}
@@ -5348,7 +5359,7 @@ Quelques \Cle{clés} sont disponibles pour cette commande :
\BoiteMoustachesAxe[Min=8,Max=21,AffValeurs,Valeurs={8,9,...,21},Elargir=0.02]
\BoiteMoustaches[Moyenne=18.5,Couleur=blue]{10/15/17/19/20}
\BoiteMoustaches[Elevation=2.5,Couleur=red]{8/10/11/12/15}
- \BoiteMoustaches[Elevation=4,Couleur=ForestGreen,Remplir=ForestGreen!25]{10/14/14.5/16/21}
+ \BoiteMoustaches[Elevation=4,Couleur=CouleurVertForet,Remplir=CouleurVertForet!25]{10/14/14.5/16/21}
\end{tikzpicture}
\end{PresCodePL}
@@ -5950,13 +5961,13 @@ Les nœuds crées par les commandes sont :
\begin{EnvArbreProbasTikz}[Type=3x2,Fleche,EspaceNiveau=5,EspaceFeuille=1.25]%
{\ArbreTroisDeux}
- \draw[ForestGreen,->] (A24)--($(A24)+(2.5,0)$) node[right,font=\sffamily] {code tikz rajouté} ;
+ \draw[CouleurVertForet,->] (A24)--($(A24)+(2.5,0)$) node[right,font=\sffamily] {code tikz rajouté} ;
\end{EnvArbreProbasTikz}
\end{PresCodeTexPL}
\begin{PresCodeSortiePL}{text only}
\begin{EnvArbreProbasTikz}[Type=3x2,Fleche,EspaceNiveau=5,EspaceFeuille=1.25]{$A_1$/\num{0.5}/above,$B$/\num{0.4}/above,$\overline{B}$/.../below,$A_2$/.../above,$B$/.../above,$\overline{B}$/$\frac{1}{3}$/below,$A_3$/.../below,$B$/.../above,$\overline{B}$/$\frac{4}{15}$/below}
- \draw[ForestGreen,->] (A24)--($(A24)+(2.5,0)$) node[right,font=\sffamily] {code tikz rajouté} ;
+ \draw[CouleurVertForet,->] (A24)--($(A24)+(2.5,0)$) node[right,font=\sffamily] {code tikz rajouté} ;
\end{EnvArbreProbasTikz}
\end{PresCodeSortiePL}
@@ -6039,7 +6050,7 @@ Les commandes sont donc des environnements \TikZ, sans possibilité de \og rajou
\begin{PresCodePL}{}
Avec centrage vertical sur l'axe des abscisses :
\LoiNormaleGraphe
- [AfficheM=false,CouleurCourbe=Blue,CouleurAire=LightBlue]<baseline=0pt>%
+ [AfficheM=false,CouleurCourbe=blue,CouleurAire=cyan]<baseline=0pt>%
{1000}{100}{950}{*}
\end{PresCodePL}
@@ -6057,7 +6068,7 @@ Avec centrage vertical :
Avec centrage vertical sur l'axe des abscisses :
\LoiExpoGraphe
- [AfficheM=false,CouleurCourbe=Blue,CouleurAire=LightBlue]<baseline=0pt>{0.05}{*}{32}
+ [AfficheM=false,CouleurCourbe=blue,CouleurAire=cyan]<baseline=0pt>{0.05}{*}{32}
\medskip
@@ -6563,23 +6574,23 @@ Quelques options pour cette commande :
\begin{PresCodeTexPL}{listing only}
%conversion avec changement de couleur
-\ConversionDepuisBaseDix[Couleur=DarkBlue]{45}{2}
+\ConversionDepuisBaseDix[Couleur=blue]{45}{2}
%conversion sans le rectangle
Par divisions euclidiennes successives, \ConversionDepuisBaseDix[Rect=false]{54}{3}.
%conversion avec gestion du decalh pour le placement précis du rectangle
-\ConversionDepuisBaseDix[Couleur=Goldenrod,DecalH=6pt/2pt]{1012}{16}
+\ConversionDepuisBaseDix[Couleur=brown,DecalH=6pt/2pt]{1012}{16}
%conversion avec noeud personnalisé et réutilisation
-\ConversionDepuisBaseDix[Couleur=ForestGreen,CouleurRes,Noeud=TEST]{100}{9}.
+\ConversionDepuisBaseDix[Couleur=CouleurVertForet,CouleurRes,Noeud=TEST]{100}{9}.
\begin{tikzpicture}
- \draw[overlay,ForestGreen,thick,->] (TEST2.south east) to[bend right] ++ (3cm,-1cm) node[right] {test } ;
+ \draw[overlay,CouleurVertForet,thick,->] (TEST2.south east) to[bend right] ++ (3cm,-1cm) node[right] {test } ;
\end{tikzpicture}
\end{PresCodeTexPL}
\begin{PresCodeSortiePL}{text only}
-\ConversionDepuisBaseDix[Couleur=DarkBlue]{45}{2}
+\ConversionDepuisBaseDix[Couleur=blue]{45}{2}
\medskip
@@ -6587,13 +6598,13 @@ Par divisions euclidiennes successives, \ConversionDepuisBaseDix[Rect=false]{54}
\medskip
-\ConversionDepuisBaseDix[Couleur=Goldenrod,DecalH=6pt/2pt]{1012}{16}
+\ConversionDepuisBaseDix[Couleur=brown,DecalH=6pt/2pt]{1012}{16}
\medskip
-On obtient donc \ConversionDepuisBaseDix[Couleur=ForestGreen,CouleurRes,Noeud=TEST]{100}{9}.
+On obtient donc \ConversionDepuisBaseDix[Couleur=CouleurVertForet,CouleurRes,Noeud=TEST]{100}{9}.
\begin{tikzpicture}
- \draw[overlay,ForestGreen,thick,->] (TEST2.south east) to[bend right] ++ (3cm,-1cm) node[right] {test } ;
+ \draw[overlay,CouleurVertForet,thick,->] (TEST2.south east) to[bend right] ++ (3cm,-1cm) node[right] {test } ;
\end{tikzpicture}
\vspace{1.5cm}
@@ -6666,16 +6677,16 @@ La présentation est dans un environnement \ctex{ensuremath} donc les \ctex{\$..
\end{PresCodePL}
\begin{PresCodePL}{}
-\PresentationPGCD[CouleurResultat,Couleur=ForestGreen]{1250}{450}.
+\PresentationPGCD[CouleurResultat,Couleur=CouleurVertForet]{1250}{450}.
-\PresentationPGCD[CouleurResultat,Couleur=DarkBlue]{13500}{2500}.
+\PresentationPGCD[CouleurResultat,Couleur=blue]{13500}{2500}.
\PresentationPGCD[Rectangle=false]{420}{540}. \\
-D'après l'algorithme d'Euclide, on a $\left| \PresentationPGCD[Couleur=LightSkyBlue,AfficheConclusion=false, AfficheDelimiteurs=false]%
+D'après l'algorithme d'Euclide, on a $\left| \PresentationPGCD[Couleur=lime,AfficheConclusion=false, AfficheDelimiteurs=false]%
{123456789}{9876} \right.$
\begin{tikzpicture}
- \draw[overlay,LightSkyBlue,thick,<-] (FFF1.east) to[bend right] ++ (1cm,0.75cm) node[right] {dernier reste non nul} ;
+ \draw[overlay,lime,thick,<-] (FFF1.east) to[bend right] ++ (1cm,0.75cm) node[right] {dernier reste non nul} ;
\end{tikzpicture}
\end{PresCodePL}
@@ -7321,7 +7332,7 @@ Quelques \Cle{clés} sont disponibles pour cette commande :
\item la clé \Cle{Epaisseurg} pour gérer l'épaisseur des traits épais ; \hfill~défaut \Cle{1.5pt}
\item la clé \Cle{Epaisseur} pour gérer l'épaisseur des traits fins ; \hfill~défaut \Cle{0.5pt}
\item la clé \Cle{Unite} qui est l'unité graphique de la figure ; \hfill~défaut \Cle{1cm}
- \item la clé \Cle{CouleurCase} pour la couleur (éventuelles) des cases ; \hfill~défaut \Cle{LightBlue!50}
+ \item la clé \Cle{CouleurCase} pour la couleur (éventuelles) des cases ; \hfill~défaut \Cle{cyan!50}
\item la clé \Cle{CouleurTexte} pour gérer la couleur du label des cases ; \hfill~défaut \Cle{blue}
\item la clé \Cle{NbCol} qui est le nombre de colonnes ; \hfill~défaut \Cle{9}
\item la clé \Cle{NbSubCol} qui est le nombre de sous-colonnes ; \hfill~défaut \Cle{3}
@@ -7401,7 +7412,7 @@ La grille, créée en \TikZ, est portée par le rectangle de \og coins \fg{} $(0
}
\begin{EnvSudoMaths}[%
- Unite=0.66cm,Police=\footnotesize\bfseries\ttfamily,CouleurCase=ForestGreen!50,%
+ Unite=0.66cm,Police=\footnotesize\bfseries\ttfamily,CouleurCase=violet!50,%
ListeLegV=QSDFGHJKL,ListeLegH=poiuytrez]{\grilleSuMaB}
\draw[red,very thick,<-,>=latex] (7.5,-4.5) to[bend right] ++ (4,-1) node[right] {code rajouté...} ;
\end{EnvSudoMaths}
@@ -7421,7 +7432,7 @@ La grille, créée en \TikZ, est portée par le rectangle de \og coins \fg{} $(0
}
\begin{EnvSudoMaths}[%
- Unite=0.66cm,Police=\footnotesize\bfseries\ttfamily,CouleurCase=ForestGreen!50,%
+ Unite=0.66cm,Police=\footnotesize\bfseries\ttfamily,CouleurCase=violet!50,%
ListeLegV=QSDFGHJKL,ListeLegH=poiuytrez]{\grilleSuMaB}
\draw[red,very thick,<-,>=latex] (7.5,-4.5) to[bend right] ++ (4,-1) node[right] {code rajouté pour montrer la case \textsf{Ge}} ;
\foreach \x in {0,1,...,9} \draw[lightgray] (\x,-9) node[below,font=\scriptsize\ttfamily] {\x} ;
@@ -7444,6 +7455,8 @@ La grille, créée en \TikZ, est portée par le rectangle de \og coins \fg{} $(0
\part{Historique}
+{\small \bverb|v 2.7.2|~:~~~~\textsf{xcolor} n'est plus chargé par défaut (option \textsf{[xcolor]} pour le charger)
+
{\small \bverb|v 2.7.1|~:~~~~Chargement de \textsf{tcolorbox} par librairies (au lieu de \textsf{[most]})
{\small \bverb|v 2.7.0|~:~~~~Ajout de la clé \Cle{Frac} pour les axes verticaux (\pageref{reperagetikz})
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,%
diff --git a/macros/luatex/generic/evangelion-jfm/Eva-JFM_doc-sc.pdf b/macros/luatex/generic/evangelion-jfm/Eva-JFM_doc-sc.pdf
index 36b355f26f..d67ad71d65 100644
--- a/macros/luatex/generic/evangelion-jfm/Eva-JFM_doc-sc.pdf
+++ b/macros/luatex/generic/evangelion-jfm/Eva-JFM_doc-sc.pdf
Binary files differ
diff --git a/macros/luatex/generic/evangelion-jfm/Evangelion-JFM.dtx b/macros/luatex/generic/evangelion-jfm/Evangelion-JFM.dtx
index 6a67de23a0..cb47b2a246 100644
--- a/macros/luatex/generic/evangelion-jfm/Evangelion-JFM.dtx
+++ b/macros/luatex/generic/evangelion-jfm/Evangelion-JFM.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
% Copyright © 2023, RadioNoiseE (Jing Huang)
% Evangelion Japanese Font Metric for LuaTeX
-% Current Version: 1.0.3 (c)
+% Current Version: 1.0.5 (b)
% Dev URL: https://github.com/RadioNoiseE/Evangelion-JFM
% \fi
%<*batchfile>
@@ -39,7 +39,7 @@
%<en>\usepackage[margin=1.2in]{geometry}
\usepackage{graphicx}
%<sc>\usepackage[match]{luatexja-fontspec}
-%<ja>\usepackage[hiragino-pron, match,deluxe]{luatexja-preset}
+%<ja>\usepackage[hiragino-pron, match, deluxe]{luatexja-preset}
%<en>\usepackage{fontspec, luatexja}
%<*en>
\newfontfeature{microtype}{protrusion=default;expansion=default}
@@ -97,10 +97,10 @@
\maketitle
\begin{abstract}
-%<sc> 本文档将介绍名为Evangelion Japanese Font Metric(下简称为``\textsf{Eva-JFM}'')的JFM文件。其适用于简体中文(以下简称为「简中」)、繁体中文(以下简称为「繁中」)及日文字体的横直排。旨在提供一个充分利用\LuaTeX-ja的\texttt{priority}特性,基于标准\cite{jlreq}的同时,支持一些罕用特性的JFM文件。文档暂使用中文及西文撰写。
+%<sc> 本文档将介绍名为Evangelion Japanese Font Metric(下简称为``\textsf{Eva-JFM}'')的JFM文件。其适用于简体中文(以下简称为「简中」)、繁体中文(以下简称为「繁中」)及日文字体的横直排。旨在提供一个充分利用\LuaTeX-ja的\texttt{priority}特性,基于标准\cite{jlreq}的同时,支持一些罕用特性的JFM文件。文档使用中文、日文及西文撰写。
%<ja> 本ドキュメントは、高品質な中国語および日本語のドキュメントを組版するための日本語フォントメトリック「Evangelion Japanese Font Metric(以下「\textsf{Eva-JFM}」とする)」を紹介するものです。このメトリックは、縦書きと横書きの両方のテキストに対して、従来の中国語、簡体字中国語、および日本語のフォントとともに使用できます。これは、\LuaTeX-ja で提供される優先機能を最大限に活用するフォントメトリックを提供し、標準\cite{jlreq}に基づき、一部の高度な(すなわち、めったに使用されない)機能をサポートすることを目的としています。\段
%<ja> 本ドキュメントは、完全なものではありません。文法的な(および文脈的な)エラーが多数含まれている可能性があります。
-%<en> This documentation is going to introduce Evangelion Japanese Font Metric (hereinafter referred to as ``\textsf{Eva-JFM}''), a Japanese Font Metric for typesetting high quality Chinese and Japanese documents. It can be used with Traditional Chinese, Simplified Chinese and Japanese fonts for both vertically and horizontally typesetted texts. It aims to provide a font metric which makes full use of the \texttt{priority} feature (provided by \textsf{\LuaTeX-ja}), bases on the standard~\cite{jlreq}, and supports some advanced (a.k.a., rarely-used) features. The documentation is now written in both Chinese and English.\par
+%<en> This documentation is going to introduce Evangelion Japanese Font Metric (hereinafter referred to as ``\textsf{Eva-JFM}''), a Japanese Font Metric for typesetting high quality Chinese and Japanese documents. It can be used with Traditional Chinese, Simplified Chinese and Japanese fonts for both vertically and horizontally typesetted texts. It aims to provide a font metric which makes full use of the \texttt{priority} feature (provided by \textsf{\LuaTeX-ja}), bases on the standard~\cite{jlreq}, and supports some advanced (a.k.a., rarely-used) features. The documentation is now written in Chinese, Japanese and English.\par
%<en> This documentation is far from complete. It may have many grammatical (and contextual) errors.
\end{abstract}
diff --git a/macros/luatex/generic/evangelion-jfm/README.md b/macros/luatex/generic/evangelion-jfm/README.md
index 4141648b7b..87abb3e19f 100644
--- a/macros/luatex/generic/evangelion-jfm/README.md
+++ b/macros/luatex/generic/evangelion-jfm/README.md
@@ -42,12 +42,22 @@ This package is also available on [CTAN](https://www.ctan.org/pkg/evangelion-jfm
- 原始 調整なし Plain
+- 原始比例宽度 プロポーショナル(調整なし) Proportional (with no aki adjust for punct)
+
+- 比例宽度 プロポーショナル Proportional
+
## 状态・現在のバージョン・Current Version
-`Ver 1.0.4 (e)`
+`Ver 1.0.5 (b)`
## 历史・変更ログ・Changelog
+- 2023.8.25 Ver 1.0.5 (b): add feature `prop` and `propw` for japanese typesetting.
+
+- 2023.8.23 Ver 1.0.5 (a): add character `U+2E3A` and `U+2E3B` to be compatible with Source Han Fonts' ligatures.
+
+- 2023.8.3 Ver 1.0.4 (f): ''optimized'' the behaviour of TC punct at line end.
+
- 2023.5.19 Ver 1.0.4 (e): update japanese documentation and README.
- 2023.5.17 Ver 1.0.4 (c): sync the documentation (en&sc) for the new feature.
diff --git a/macros/luatex/generic/evangelion-jfm/jfm-eva.lua b/macros/luatex/generic/evangelion-jfm/jfm-eva.lua
index 632b4a85d7..502295772b 100644
--- a/macros/luatex/generic/evangelion-jfm/jfm-eva.lua
+++ b/macros/luatex/generic/evangelion-jfm/jfm-eva.lua
@@ -1,11 +1,11 @@
---- Evangelion Japanese Font Metric for LuaTeX
----- Current Version: 1.0.4 (e)
+---- Current Version: 1.0.5 (b)
---- Dev URL: https://github.com/RadioNoiseE/Evangelion-JFM
---- Copyright 2023, RadioNoiseE ©
-- 初始化
-local lang_jp, lang_tc, lang_sc, dir_vt, font_extd, punc_lg, punc_hg, std_nil, al_hw, al_fw, as_nil
+local lang_jp, lang_tc, lang_sc, dir_vt, font_extd, punc_lg, punc_hg, std_nil, al_hw, al_fw, as_nil, fw_prop, fw_xprop
if luatexja.jfont.jfm_feature then
lang_jp = luatexja.jfont.jfm_feature.jp
@@ -19,6 +19,8 @@ if luatexja.jfont.jfm_feature then
al_hw = luatexja.jfont.jfm_feature.hwid
al_fw = luatexja.jfont.jfm_feature.fwid
as_nil = luatexja.jfont.jfm_feature.plain
+ fw_prop = luatexja.jfont.jfm_feature.prop
+ fw_xprop = luatexja.jfont.jfm_feature.propw
end
-- 預處理及容錯
@@ -35,11 +37,19 @@ if punc_lg == true and dir_vt == false then
end
if al_hw == true and al_fw == true then
- tex.error('JFM feature "hwid" cannot be used with "fwid".')
+ tex.error('JFM feature "hwid" cannot be used with "fwid".\n' ..
+ 'For now I\'ll ignore both.')
luatexja.jfont.jfm_feature["hwid"] = nil
luatexja.jfont.jfm_feature["fwid"] = nil
end
+if fw_prop == true and fw_xprop == true then
+ tex.error('JFM feature "prop" cannot be used with "propw".\n' ..
+ 'For now I\'ll ignore both.')
+ luatexja.jfont.jfm_feature["prop"] = nil
+ luatexja.jfont.jfm_feature["propw"] = nil
+end
+
if not ((lang_jp and not (lang_tc or lang_sc)) or
(lang_tc and not (lang_jp or lang_sc)) or
(lang_sc and not (lang_jp or lang_tc))) then
@@ -47,7 +57,7 @@ if not ((lang_jp and not (lang_tc or lang_sc)) or
'"jp", "trad" or "smpl"\n' ..
'is required.\n' ..
'For now I\'ll use "lang_jp" for japanese by default.')
- luatexja.jfont.jfm_feature["hwid"] = nil
+ luatexja.jfont.jfm_feature["jp"] = "eva_langfeat_defl"
end
-- 壓縮比例設定
@@ -64,11 +74,21 @@ local function logic_anif(f1, f2, r1, r2)
return rta
end
+local function logic_orif(f1, f2, r1, r2)
+ local rto = (f1 or f2) and r1 or r2
+ return rto
+end
+
local function logic_if(f1, r1, r2)
local rti = f1 and r1 or r2
return rti
end
+local function context_width(regv)
+ local rtw = (fw_prop or fw_xprop) and 'prop' or (regv)
+ return rtw
+end
+
local function context_height()
local rth = dir_vt and (font_extd and extd_ratio/2 or 0.5) or 0.88
return rth
@@ -89,7 +109,7 @@ local eva = {
xkanjiskip = {0.25, 0.125, 0.125},
[0] = { -- 缺省類
- width = 1,
+ width = context_width(1),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -108,7 +128,7 @@ local eva = {
[1] = { -- 読点類
chars = logic_anif(dir_vt, punc_lg, {}, {'、', ','}),
- width = 0.5,
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -127,7 +147,7 @@ local eva = {
[8] = logic_if(lang_tc, {0.25, 0, 0.125}, {}),
[9] = logic_if(lang_tc, {0.5, 0, 0.25, priority = {0, -1}}, {0.75, 0, 0.25, ratio = 1/3, priority = {0, -1}})
},
- end_adjust = logic_if(lang_tc, {0.25, 0}, logic_if(punc_hg, {-0.5, 0.5, 0}, {0, 0}))
+ end_adjust = logic_if(lang_tc, {0.25, 0, 0.25}, logic_if(punc_hg, {-0.5, 0.5, 0}, {0, 0}))
},
[101] = { -- 読点類(行間a)
@@ -160,7 +180,7 @@ local eva = {
[2] = { -- 句點類
chars = logic_anif(dir_vt, punc_lg, {}, {'.', '。'}),
- width = 0.5,
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -179,7 +199,7 @@ local eva = {
[8] = logic_if(lang_tc, {0.25, 0, 0.125, ratio = 0}, {}),
[9] = logic_if(lang_tc, {0.5, 0, 0.25, priority = {0, -1}}, {0.75, 0, 0.25, ratio = 1/3, priority = {0, -1}})
},
- end_adjust = logic_if(lang_tc, {0.25, 0}, logic_if(punc_hg, {-0.5, 0.5, 0}, {0, 0}))
+ end_adjust = logic_if(lang_tc, {0.25, 0, 0.25}, logic_if(punc_hg, {-0.5, 0.5, 0}, {0, 0}))
},
[201] = { -- 句點類(行間a)
@@ -212,7 +232,7 @@ local eva = {
[3] = { -- 兩點類
chars = logic_if(lang_jp, {}, (logic_anif(dir_vt, punc_lg, {}, {':', ';'}))),
- width = logic_if(dir_vt, 1, 0.5),
+ width = context_width(logic_if(dir_vt, 1, 0.5)),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -268,7 +288,7 @@ local eva = {
'ョ', 'ヮ', 'ヵ', 'ヶ', 'ヽ', 'ヾ', 'ㇰ', 'ㇱ', 'ㇲ', 'ㇳ', 'ㇴ',
'ㇵ', 'ㇶ', 'ㇷ', 'ㇸ', 'ㇹ', 'ㇺ', 'ㇻ', 'ㇼ', 'ㇽ', 'ㇾ', 'ㇿ'
},
- width = 1,
+ width = context_width(1),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -286,7 +306,7 @@ local eva = {
[5] = { -- 疑問感嘆類
chars = {'!', '?', '‼︎', '⁉︎', '⁈', '⁇'},
- width = logic_if(dir_vt, 1, logic_if(lang_sc, 0.5, 1)),
+ width = context_width(logic_if(dir_vt, 1, logic_if(lang_sc, 0.5, 1))),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -307,7 +327,7 @@ local eva = {
[6] = { -- 分離禁止類
chars = {'—', '―', '‥', '…', '⋯', '〳', '〴', '〵'},
- width = 1,
+ width = context_width(1),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -326,9 +346,45 @@ local eva = {
}
},
+ [601] = { -- 二連字
+ chars = {'⸺'},
+ width = context_width(2),
+ height = context_height(),
+ depth = context_depth(),
+ italic = 0,
+ left = 0,
+ down = 0,
+ align = 'middle',
+ glue = {
+ [1] = logic_if(lang_tc, {0.25, 0, 0,125, ratio = 1}, {}),
+ [2] = logic_if(lang_tc, {0.25, 0, 0.125, ratio = 1}, {}),
+ [3] = logic_if(dir_vt, {priority = {0, -1}}, logic_if(lang_tc, {0.25, 0, 0.125, ratio = 1, priority = {0, -1}}, {priority = {0, -1}})),
+ [7] = {0.5, 0, 0.25, ratio = 1, priority = {-1, -2}},
+ [9] = {0.25, 0, 0.125, ratio = 1, priority = {0, -1}}
+ }
+ },
+
+ [602] = { -- 三連字
+ chars = {'⸻'},
+ width = context_width(3),
+ height = context_height(),
+ depth = context_depth(),
+ italic = 0,
+ left = 0,
+ down = 0,
+ align = 'middle',
+ glue = {
+ [1] = logic_if(lang_tc, {0.25, 0, 0,125, ratio = 1}, {}),
+ [2] = logic_if(lang_tc, {0.25, 0, 0.125, ratio = 1}, {}),
+ [3] = logic_if(dir_vt, {priority = {0, -1}}, logic_if(lang_tc, {0.25, 0, 0.125, ratio = 1, priority = {0, -1}}, {priority = {0, -1}})),
+ [7] = {0.5, 0, 0.25, ratio = 1, priority = {-1, -2}},
+ [9] = {0.25, 0, 0.125, ratio = 1, priority = {0, -1}}
+ }
+ },
+
[7] = { -- 開括號類
chars = {'(', '〔', '[', '{', '〈', '《', '「', '『', '【', '⦅', '〘', '〖', '〝', '‘', '“'},
- width = 0.5,
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -346,7 +402,7 @@ local eva = {
[8] = { -- 閉括號類
chars = {')', '〕', ']', '}', '〉', '》', '」', '』', '】', '⦆', '〙', '〗', '〟', '’', '”'},
- width = 0.5,
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -369,7 +425,7 @@ local eva = {
[9] = { -- 中點類
chars = logic_if(lang_jp, {'・', ':', ';'}, {'・', '·'}),
- width = 0.5,
+ width = context_width(0.5),
height = context_height(),
depth = context_depth(),
italic = 0,
@@ -388,7 +444,7 @@ local eva = {
[8] = {0.25, 0, 0.125, ratio = 0, priority = {0, -1}},
[9] = {0.5, 0, 0.25, priority = {0, -1}}
},
- end_adjust = {0.25, 0}
+ end_adjust = {0.25, 0, 0.25}
},
[10] = { -- 西文
@@ -409,7 +465,7 @@ local eva = {
[7] = {0, 0, 0}
}
}
-}
+}
if al_hw == true or al_fw == true then
eva[10].chars = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
@@ -428,10 +484,16 @@ if al_hw == true and al_fw == false then
eva[10].width = 0.5
end
-if al_fw == false and al_fw == true then
+if al_fw == false and al_hw == true then
eva[10].width = 1
end
+if fw_prop == true and fw_xprop == false then
+ for _, catnum in ipairs({0, 1, 101, 102, 2, 201, 202, 3, 301, 302, 4, 5, 6, 7, 8, 9, 10}) do
+ eva[catnum].glue = {}
+ end
+end
+
if sa_nil == true then
for _, catnum in ipairs({1, 101, 102, 2, 201, 202, 3, 301, 302, 4, 5, 6, 7, 8, 9, 10, 11}) do
eva[catnum] = nil
diff --git a/macros/luatex/generic/evangelion-jfm/makefile b/macros/luatex/generic/evangelion-jfm/makefile
new file mode 100644
index 0000000000..9107953de0
--- /dev/null
+++ b/macros/luatex/generic/evangelion-jfm/makefile
@@ -0,0 +1,15 @@
+doc-manu = Eva-JFM_doc-sc.tex Eva-JFM_doc-en.tex Eva-JFM_doc-jp.tex
+
+.PHONY : release
+release : Evangelion-JFM.dtx jfm-eva.lua
+ luatex Evangelion-JFM.dtx
+ lualatex Eva-JFM_doc-sc.tex
+ lualatex Eva-JFM_doc-sc.tex
+ latexmk -c Eva-JFM_doc-sc.tex
+ lualatex Eva-JFM_doc-jp.tex
+ lualatex Eva-JFM_doc-jp.tex
+ latexmk -c Eva-JFM_doc-jp.tex
+ lualatex Eva-JFM_doc-en.tex
+ lualatex Eva-JFM_doc-en.tex
+ latexmk -c Eva-JFM_doc-en.tex
+ rm $(doc-manu)