texlive[73860] branches/branch2024.final/Master/texmf-dist: proflycee
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 10 21:21:38 CET 2025
Revision: 73860
https://tug.org/svn/texlive?view=revision&revision=73860
Author: karl
Date: 2025-02-10 21:21:38 +0100 (Mon, 10 Feb 2025)
Log Message:
-----------
proflycee (branch) (10feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/README.md
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-aleatoire.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-cliparts.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-espace.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-recreat.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-stats.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex
branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-trigo.tex
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/README.md
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/README.md 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/doc/latex/proflycee/README.md 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,15 +1,15 @@
You are a french mathematics teacher ?
proflycee may be a useful package to daily use of LaTeX.
-----------------
+-----------------------------------------------------------------------------
Vous êtes un enseignant de mathématiques en lycée ?
proflycee est un package qui pourra vous aider à utiliser LaTeX au quotidien.
-----------------
+-----------------------------------------------------------------------------
Author : Cédric Pierquet
email : cpierquet at outlook.fr
Licences : Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
CC0 for cliparts (from openclipart)
- CC BY-SA 3.0 (from Mark Wibrow helping code)
+ CC BY-SA 3.0 (from Mark Wibrow helping code)
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,9 +1,10 @@
% Author.............: C. Pierquet
-% licence............: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf
+% licence............: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
% licence cliparts...: CC0 from openclipart
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee-Light}[2024/10/24 1.00b Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee-Light}[2025/02/10 1.00c Aide pour l'utilisation de LaTeX en lycee]
+%1.00c Ajout d'aliases en \pfl....
%1.00b Changement du préfixage de certaines commandes + \logo calculatrice interdite
%1.00a Refonte du fonctionnement
@@ -14,10 +15,12 @@
\newif\if at xcolor \@xcolorfalse
\newif\if at build \@buildfalse
\newif\if at loadamssymb \@loadamssymbtrue
+\newif\if at warningsoff \@warningsofffalse
\newif\if at loadtikzbabel \@loadtikzbabeltrue
\DeclareOption{xcolor}{\@xcolortrue}%
\DeclareOption{build}{\@buildtrue}%
\DeclareOption{nonamssymb}{\@loadamssymbfalse}%
+\DeclareOption{warningsoff}{\@warningsofftrue}%
\DeclareOption{nontikzbabel}{\@loadtikzbabelfalse}%
\DeclareOption*{}
\ProcessOptions\relax
@@ -26,6 +29,9 @@
\if at loadamssymb
\RequirePackage{amssymb}
\fi
+\if at warningsoff
+ \PassOptionsToPackage{warnings-off={mathtools-colon,mathtools-overbracket}}{unicode-math}
+\fi
\if at xcolor
\RequirePackage[table,svgnames]{xcolor}%Gestion des couleurs
\fi
@@ -107,6 +113,17 @@
\pflnumsqrt[#3]{#4}%
}%
{}%
+ \IfEq{#2}{annee}%
+ {%
+ \IfBooleanTF{#1}%
+ {%
+ \IfEq{#3}{}{\num[digit-group-size=5]{\xintfloateval{#4}}}{\num[digit-group-size=5]{\xintfloateval{round(#4,#3)}}}%
+ }%
+ {%
+ \num[digit-group-size=5]{\xintiieval{#4}}%
+ }%
+ }%
+ {}%
}
\DeclareDocumentCommand\pflnumsqrt{ O{} m }{% argument mandataire {calcul ou fraction}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,11 +1,13 @@
% Author...................: C. Pierquet
-% licence..................: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf
+% licence..................: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
% licence (part of code).. : CC BY-SA 3.0 (from Mark Wibrow)
% licence cliparts.........: CC0 (from openclipart)
% code
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee}[2024/10/30 3.10f Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee}[2025/02/10 3.11a Aide pour l'utilisation de LaTeX en lycee]
+% 3.11a Ajout d'aliases des commandes via \pfl... (à voir pour les environnements...)
+% 3.10g Clé [warningsoff] pour envlever les warnings liés à unicode-math
% 3.10f Ajout de quelques commandes arithmétiques (test premier + décompo)
% 3.10e Correction de noms de commandes + \logo calculatrice interdite
% 3.10d Correction d'un nom de commande (doublon avec ProfMaquette)
@@ -111,10 +113,13 @@
\newif\if at xcolor \@xcolorfalse
\newif\if at build \@buildfalse
\newif\if at loadamssymb \@loadamssymbtrue
+\newif\if at warningsoff \@warningsofffalse
\newif\if at loadtikzbabel \@loadtikzbabeltrue
\DeclareOption{xcolor}{\@xcolortrue}%
\DeclareOption{build}{\@buildtrue}%
\DeclareOption{nonamssymb}{\@loadamssymbfalse}%
+\DeclareOption{warningsoff}{\@warningsofftrue}%
+\DeclareOption{nonwarnings}{\@warningsofftrue}%
\DeclareOption{nontikzbabel}{\@loadtikzbabelfalse}%
\DeclareOption*{}
\ProcessOptions\relax
@@ -123,6 +128,9 @@
\if at loadamssymb
\RequirePackage{amssymb}
\fi
+\if at warningsoff
+ \PassOptionsToPackage{warnings-off={mathtools-colon,mathtools-overbracket}}{unicode-math}
+\fi
\if at xcolor
\RequirePackage[table,svgnames]{xcolor}%Gestion des couleurs
\fi
@@ -245,6 +253,17 @@
\pflnumsqrt[#3]{#4}%
}%
{}%
+ \IfEq{#2}{annee}%
+ {%
+ \IfBooleanTF{#1}%
+ {%
+ \IfEq{#3}{}{\num[digit-group-size=5]{\xintfloateval{#4}}}{\num[digit-group-size=5]{\xintfloateval{round(#4,#3)}}}%
+ }%
+ {%
+ \num[digit-group-size=5]{\xintiieval{#4}}%
+ }%
+ }%
+ {}%
}
\DeclareDocumentCommand\pflnumsqrt{ O{} m }{% argument mandataire {calcul ou fraction}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-aleatoire.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-aleatoire.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-aleatoire.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-aleatoire.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%%------EnsembleList
@@ -21,6 +21,7 @@
{\left\lbrace \PLensopt{} \mathpunct{} \StrSubstitute{#2}{/}{\mathpunct{}{\PLenssep}\mathpunct{}} \mathpunct{} \right\rbrace}%
{\left\lbrace \PLensopt{} \StrSubstitute{#2}{/}{{\PLenssep}} \right\rbrace}%
}
+\NewCommandCopy\pflecritens\EcritureEnsemble
%%------TRINOMEALEA
\setKVdefault[trinomealea]{%
@@ -60,6 +61,7 @@
%formatage
\ensuremath{\TriPartieA\TriPartieB\TriPartieC}%
}
+\NewCommandCopy\pflecrittrinom\EcritureTrinome
%%------ALEATOIRES
\ExplSyntaxOn
@@ -98,9 +100,12 @@
}%
}%
}
+\NewCommandCopy\pflnbalea\NbAlea
+
\newcommand\VarNbAlea[2]{%
\xdef#1{\fpeval{#2}}%
}
+\NewCommandCopy\pflvarnbalea\VarNbAlea
\defKV[TirageAleatoireEntiersEntre]{%
ValMin=\def\TAEEmin{#1},%
@@ -149,5 +154,6 @@
{}%
\StrSubstitute{#2}{,}{\TAEEsep}[#2]%on change le séparateur si besoin
}
+\NewCommandCopy\pfltiragealeaent\TirageAleatoireEntiers
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-analyse.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%Correction d'un bug sur la raacine carrée... le cas où ça fait 1 !
@@ -327,6 +327,7 @@
\IfBooleanTF{#1}%
{\end{tikzpicture}}{}%
}
+\NewCommandCopy\pflschemasignes\MiniSchemaSignes
%pour l'interaction avec tkz-tab
\defKV[aidetdstkz]{%
@@ -350,6 +351,7 @@
%\shorthandon{:}\shorthandon{!}
\path (ZZZ.east) + (#4,0) pic[right,scale=#3,every node/.style={scale=#3}] {code={\MiniSchemaSignes[#1]}} ;
}
+\NewCommandCopy\pflschemasignestkztab\MiniSchemaSignesTkzTab
%%------TVISOLUTION
\defKV[dichoto]{%
@@ -387,6 +389,7 @@
\num{\DHTva} < \DHTnomsol < \num{\DHTvb}%
}%
}
+\NewCommandCopy\pflsoltvi\SolutionTVI
%%------SIMPLIFRACINES
\DeclareDocumentCommand\SimplificationRacine{ m }{% argument mandataire {calcul ou fraction}
@@ -477,6 +480,7 @@
%valeur approchée
\expandafter\def\csname#3a\endcsname{\fpeval{round(\varvalm,\DICHOTOstep)}}%
}
+\NewCommandCopy\pflresolapproch\ResolutionApprochee
%==taux acroissement==
\defKV[tauxaccroiss]{%
@@ -510,6 +514,7 @@
\num{\xintfloateval{round(\TmpRes,\TauxAccroisPrec)}}%
}%
}
+\NewCommandCopy\pfltxaccroiss\TauxAccroissement
%==approx intégrale==
\defKV[methodeintegr]{%
@@ -573,6 +578,7 @@
\num{\xintfloateval{round(\TmpRes,\MethIntegrPrec)}}
}%
}
+\NewCommandCopy\pflintegrapproch\IntegraleApprochee
%===intégrale 'brute'
\NewDocumentCommand\CalcIntegrale{ s O{} D<>{50} m m m }{%
@@ -588,8 +594,9 @@
}%
\relax
}
+\NewCommandCopy\pflvalintegr\CalcIntegrale
-%===intégrale 'brute'
+%===val moy 'brute'
\NewDocumentCommand\ValeurMoyenneIntg{ s O{} D<>{50} m m m }{%
\xintdeffloatfunc varfct(x) := #4 ;%
\def\TmpNmU{\xinteval{(#3)-1}}%
@@ -603,6 +610,7 @@
}%
\relax
}
+\NewCommandCopy\pflvalmoyintegr\ValeurMoyenneIntg
%==intégrale tikz==
@@ -656,6 +664,7 @@
}%
{}%
}
+\NewCommandCopy\pflintegrapprochtikz\IntegraleApprocheeTikz
%==fonction affine==
\NewDocumentCommand\AffCoeffFAm{ O{d} m }{%
@@ -754,6 +763,7 @@
}%
{}%
}
+\NewCommandCopy\pfleqreduite\EquationReduite
%====FRACTION PÉRIODIQUE
\defKV[FracPeriod]{Inconnue=\def\FracPerVar{#1}}
@@ -843,6 +853,7 @@
{}%
}
\makeatletter
+\NewCommandCopy\pflfracperiod\FractionPeriode
%====tkz ligne convexité
\makeatletter
@@ -953,6 +964,7 @@
}%
}%
}
+\NewCommandCopy\pflformcanoniq\FormeCanonique
\NewDocumentCommand\FonctionHomographique{ s O{t} m m m m }{%
\xintifboolexpr{#3 != 0}%
@@ -997,6 +1009,7 @@
}%
}%
}
+\NewCommandCopy\pflfcthomogr\FonctionHomographique
%----max/min
\NewDocumentCommand\DetermineMax{ O{0.01} m m m O{\tmpmax} O{\tmpmaxvalx} }{%
@@ -1003,10 +1016,12 @@
\xdef#5{\xintfloateval{max(seq(#2,x=#3..[#1]..#4,#4))}}%
\xdef#6{\xintfloateval{first(seq((#2 == #5)?{x}{},x=#3..[#1]..#4,#4))}}%
}
+\NewCommandCopy\pfldetmax\DetermineMax
\NewDocumentCommand\DetermineMin{ O{0.01} m m m O{\tmpmin} O{\tmpminvalx} }{%
\xdef#5{\xintfloateval{min(seq(#2,x=#3..[#1]..#4,#4))}}%
\xdef#6{\xintfloateval{first(seq((#2 == #5)?{x}{},x=#3..[#1]..#4,#4))}}%
}
+\NewCommandCopy\pfldetmin\DetermineMin
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-arithm.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
\RequirePackage{ifthen}
@@ -103,6 +103,7 @@
{\num{#3}\ifboolKV[CONVDECBIN]{AffBase}{_{10}}{}=\num[digit-group-size=4]{\resbrut}\ifboolKV[CONVDECBIN]{AffBase}{_{2}}{}}%
{\num{#3}\ifboolKV[CONVDECBIN]{AffBase}{_{10}}{}=\num[digit-group-size=4,minimum-integer-digits=\nbgrp]{\resbrut}\ifboolKV[CONVDECBIN]{AffBase}{_{2}}{}}%
}
+\NewCommandCopy\pflconvdecbin\ConversionDecBin
\setKVdefault[CONVBINHEX]{%
%Epaisseur=0.75pt,%
@@ -153,6 +154,7 @@
{}%
\xintBinToHex{\chbrut}\ifboolKV[CONVBINHEX]{AffBase}{_{16}}{}%
}
+\NewCommandCopy\pflconvbinhex\ConversionBinHex
%hexa-bin par bloc de 4
\setKVdefault[CONVHEXBIN]{%
@@ -189,6 +191,7 @@
\!\ifboolKV[CONVHEXBIN]{AffBase}{{}_{2}}{}%
}%
}
+\NewCommandCopy\pflconvhexbin\ConversionHexBin
%hexa/bin->dec avec écriture polynomiale
@@ -270,6 +273,7 @@
}%
{}%
}
+\NewCommandCopy\pflconvversdec\ConversionVersDec
\newcommand\ConversionBaseDix[3][]{%1=options,%2=nb,%3=basedep ??
\useKVdefault[CONVTODEC]
@@ -302,6 +306,7 @@
{}%
\num{\convertbasetobasedix{#2}{#3}}\ifboolKV[CONVTODEC]{AffBase}{_{10}}{}%
}
+\NewCommandCopy\pflconvdix\ConversionBaseDix
%%------CONVFROMDEC
\newcommand\PLnoeud[2]{\tikz[remember picture,baseline=(#1.base)]\node[shape=rectangle,inner sep=0pt](#1){#2};}
@@ -361,6 +366,7 @@
\end{tikzpicture}%
}{}%
}
+\NewCommandCopy\pflconvdepuisdix\ConversionDepuisBaseDix
%%------PRESPGCD
\DeclareMathOperator{\PLpgcd}{PGCD}
@@ -426,6 +432,7 @@
\end{tikzpicture}%
}{}%
}
+\NewCommandCopy\pflprespgcd\PresentationPGCD
%%===égalité de Bezout
\NewDocumentCommand\AffCoeffBezout{ m }{%
@@ -437,6 +444,7 @@
\xintAssign{\xintBezout{#2}{#3}}\to\TmpU\TmpV\TmpD%
\ensuremath{\num{#2} \times \mathcolor{#1}{\AffCoeffBezout{\TmpU}} + \AffCoeffBezout{#3} \times \mathcolor{#1}{\AffCoeffBezout{\TmpV}} = \num{\TmpD}}%
}
+\NewCommandCopy\pflbezout\EgaliteBezout
%%===Équations diophantiennes
\RequirePackage[thicklines]{cancel}%comme PfC
@@ -572,6 +580,7 @@
Le PGCD de \num{\AA} et \num{\BB} ne divise pas \num{\CC}, donc l'équation $(\LettreSolEDioph)$ n'admet aucune solution.
}%
}
+\NewCommandCopy\pflequadioph\EquationDiophantienne
%liste diviseurs
\setKVdefault[listdiv]{%
@@ -591,6 +600,7 @@
}%
\ensuremath{\ifboolKV[listdiv]{AffNom}{\IfBooleanTF{#1}{\mathscr{D}}{\mathcal{D}}_{\num{\argcal}}=}{}\EcritureEnsemble[\strut]{\tmplistdiv}}%
}
+\NewCommandCopy\pfllistediv\ListeDiviseurs
%arbre diviseurs
\defKV[arbrediviseurs]{%
@@ -729,6 +739,7 @@
}{}%
\end{tikzpicture}%
}
+\NewCommandCopy\pflarbrediv\ArbreDiviseurs
%somme des chiffres
\ifthenelse{\isundefined{\SommeChiffres}}%
@@ -748,6 +759,7 @@
\ensuremath{\num{\tmpres}}%
}
}%
+\NewCommandCopy\pflsomchiff\SommeChiffres
%====CHIFFREMENTS !!
\xdef\aLPHaBeTMajusc{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
@@ -766,6 +778,7 @@
}%
{}%
}
+\NewCommandCopy\pflinvmod\InverseModulo
\defKV[chiffaffine]{a=\xdef\tmpcoeffa{#1},b=\xdef\tmpcoeffb{#1},modulo=\xdef\tmpmodulo{#1}}
\setKVdefault[chiffaffine]{a=3,b=12,Dechiffr=false,modulo=26}
@@ -831,6 +844,7 @@
{\xintifboolexpr{\PGCDD != 1}{Le message ne peut pas être déchiffré car $\text{PGCD}(\tmpcoeffa;\tmpmodulo)\neq1$ !\relax}{}}%
{}%
}
+\NewCommandCopy\pflchiffraff\ChiffrementAffine
\defKV[chiffhill]{Matrice=\xdef\tmpcoeffmat{#1},Modulo=\xdef\tmpmodulo{#1}}
\setKVdefault[chiffhill]{Matrice={1,2,3,5},Dechiffr=false,modulo=26}
@@ -961,6 +975,7 @@
}%
}%
}
+\NewCommandCopy\pflchiffrhill\ChiffrementHill
\defKV[chiffcesar]{Decal=\xdef\tmpdecalcesar{#1}}
\setKVdefault[chiffcesar]{Decal=5,Dechiffr=false}
@@ -995,6 +1010,7 @@
}%
}%
}
+\NewCommandCopy\pflchiffrcesar\ChiffrementCesar
%====DIV EUCL (OK), 2 versions, mises à jour ;-)
\setKVdefault[diveucl]{%
@@ -1016,6 +1032,7 @@
\ensuremath{\num{\xinteval{#3}}=\num{\xinteval{#4}}\times\ifboolKV[diveucl]{Quotient}{\xintifboolexpr{\tmpQuotient < 0}{(\num{\tmpQuotient})}{\num{\tmpQuotient}}}{\useKV[diveucl]{Pointilles}}+\ifboolKV[diveucl]{Reste}{\num{\tmpReste}}{\useKV[diveucl]{Pointilles}}}%
\IfBooleanT{#1}{~avec $0 \leqslant \num{\xintiiRem{\tmpAA}{\tmpBB}} < \xintifboolexpr{\tmpBB < 0}{\lvert\num{\xinteval{#4}}\rvert}{\num{\xinteval{#4}}}$}%
}
+\NewCommandCopy\pfldiveucl\DivEucl
\NewDocumentCommand\DivisionEucl{ m m }{%
\xdef\tmpAA{\xinteval{#1}}\xdef\tmpBB{\xinteval{#2}}%
@@ -1022,6 +1039,7 @@
\xdef\tmpQuotient{\xintiiQuo{\tmpAA}{\tmpBB}}\xdef\tmpReste{\xintiiRem{\tmpAA}{\tmpBB}}%
\ensuremath{\num{\tmpBB}\times\xintifboolexpr{\tmpQuotient < 0}{(\num{\tmpQuotient})}{\num{\tmpQuotient}}+\num{\xintiiRem{\tmpAA}{\tmpBB}}}
}
+\NewCommandCopy\pflpresdiveucl\DivisionEucl
%====ADDITIONS POSÉES ?
\newlength{\colspecbinadd}
@@ -1179,6 +1197,7 @@
\end{NiceTabular}
%\end{tabular}%
}
+\NewCommandCopy\pflposadd\PoseAddition
\ifluatex
@@ -1326,6 +1345,7 @@
\end{NiceTabular}%
%\(\matrixPrint{MATINTER}\)
}
+\NewCommandCopy\pflposaddlua\PoseAdditionLua
\fi
@@ -1336,6 +1356,7 @@
{\num{\xintiieval{irem(#2,#3)-#3}}}%
{\num{\xintiieval{irem(#2,#3)}}}%
}
+\NewCommandCopy\pflrestemod\ResteMod
%====OPÉRATIONS POSÉES 2/10/16 MULTICOMPILATEUR ?
\RequirePackage{calc}
@@ -1592,6 +1613,7 @@
}%
{}%
}
+\NewCommandCopy\pflopeposee\OperationPosee
%====FACTORIELLE
\defKV[calcfactorielle]{ChSignif=\def\factochfsign{#1},Sens=\def\factochfsens{#1}}
@@ -1676,6 +1698,7 @@
}%
}%
}
+\NewCommandCopy\pflfacto\Factorielle
\NewDocumentCommand\Primorielle{ s O{} m }{%
\restoreKV[calcfactorielle]%
@@ -1733,6 +1756,7 @@
}%
}%
}
+\NewCommandCopy\pflprimor\Primorielle
\NewDocumentCommand\DoubleFactorielle{ s O{} m }{%
\restoreKV[calcfactorielle]%
@@ -1838,6 +1862,7 @@
}%
}%
}
+\NewCommandCopy\pfldblefacto\DoubleFactorielle
\NewDocumentCommand\HyperFactorielle{ s O{} m }{%
\restoreKV[calcfactorielle]%
@@ -1910,6 +1935,7 @@
}%
}%
}
+\NewCommandCopy\pflhyperfacto\HyperFactorielle
\NewDocumentCommand\SuperFactorielle{ s O{} m }{%
\restoreKV[calcfactorielle]%
@@ -1982,6 +2008,7 @@
}%
}%
}
+\NewCommandCopy\pflsuperfacto\SuperFactorielle
%====CONVERSIONS ENTRE BASES
\ExplSyntaxOn
@@ -2043,5 +2070,6 @@
\fi%
}%
}
+\NewCommandCopy\pflconvbases\ConversionEntreBases
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-cliparts.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-cliparts.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-cliparts.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-cliparts.tex
-% Copyright 2024 Cédric Pierquet
+% Copyright 2024-205 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
% logos from CC0 opencliparts (users Firkin & Juhele & qubodup & TzeenieWheenie & jetxee)
@@ -19,6 +19,7 @@
\IfFileExists{pfl-#3.pdf}{\raisebox{-\tmpcharacterdepthinline}{\includegraphics[height=\tmpcharacterheightinline]{pfl-#3.pdf}}}{}%
}%
}
+\NewCommandCopy\pflclipart\InsererClipart
%====ALIASES
\NewDocumentCommand\pflimgcoupeb{ s O{} }{%
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-ecritures.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%===PACKAGE
@@ -104,6 +104,7 @@
\DeclareDocumentCommand\Arrondi{ s O{3} m }{% * pour afficher signe / opt = précision / argument = nb
\IfBooleanTF{#1}{\num[print-implicit-plus]{\xinteval{round(#3,#2)}}}{\num{\xinteval{round(#3,#2)}}}%
}
+\NewCommandCopy\pflarrondi\Arrondi
%====MODULO
\NewDocumentCommand\Modulo{ s O{Cro} m }{%
@@ -114,6 +115,7 @@
\IfStrEq{#2}{Txt}%
{\IfBooleanTF{#1}{\:\:}{\:}\text{modulo }#3}{}%
}
+\NewCommandCopy\pflmod\Modulo
%====COURBE
\NewDocumentCommand\Courbe{ s O{} }{%
@@ -129,11 +131,13 @@
{\ensuremath{{\mathcal{C}}_{#2}}\xspace}%
}%
}
+\NewCommandCopy\pflcourbe\Courbe
%====SUITE
\NewDocumentCommand\Suite{ O{n} m }{%
\ensuremath{\left( #2_{#1} \right)}%
}
+\NewCommandCopy\pflsuite\Suite
%===DIVERS
\AtBeginDocument{%voir hyperref...
@@ -153,14 +157,17 @@
\ifthenelse{\isundefined{\Esper}}%
{\newcommand\Esper[2][\mathbb{E}]{\ensuremath{{#1}{\left({#2}\right)}}}}%
{\renewcommand\Esper[2][\mathbb{E}]{\ensuremath{{#1}{\left({#2}\right)}}}}%
+\NewCommandCopy\pflesper\Esper
\ifthenelse{\isundefined{\Varianc}}%
{\newcommand\Varianc[2][\mathbb{V}]{\ensuremath{{#1}{\left({#2}\right)}}}}%
{\renewcommand\Varianc[2][\mathbb{V}]{\ensuremath{{#1}{\left({#2}\right)}}}}%
+\NewCommandCopy\pflvar\Varianc
\ifthenelse{\isundefined{\EcType}}%
{\newcommand\EcType[1]{\ensuremath{\sigma{\left({#1}\right)}}}}%
{\renewcommand\EcType[1]{\ensuremath{\sigma{\left({#1}\right)}}}}%
+\NewCommandCopy\pflectype\EcType
\ifthenelse{\isundefined{\dx}}%
{\newcommand\dx[1][x]{\ensuremath{~\text{d}#1}}}%
@@ -179,6 +186,7 @@
\RenewDocumentCommand\Limite{ s m m o }{%
\IfBooleanTF{#1}{\ensuremath{\lim_{\IfNoValueTF{#4}{#3}{\substack{#3 \\ #4}}} #2}}{\ensuremath{\lim\limits_{\IfNoValueTF{#4}{#3}{\substack{#3 \\ #4}}} #2}}}\xspace%
}%
+\NewCommandCopy\pfllim\Limite
%====VALEUR ABSOLUE, NORME
\DeclarePairedDelimiter\ValAbs{\lvert}{\rvert}%
@@ -197,19 +205,29 @@
\NewDocumentCommand\LoiNormale{ s m m }{%
\IfBooleanTF{#1}{\ensuremath{\mathscr{N}{\left(#2;#3\right)}}}{\ensuremath{\mathcal{N}{\left(#2;#3\right)}}}%
}
+\NewCommandCopy\pflloinorm\LoiNormale
+
\NewDocumentCommand\LoiBinomiale{ s m m }{%
\IfBooleanTF{#1}{\ensuremath{\mathscr{B}{\left(#2;#3\right)}}}{\ensuremath{\mathcal{B}{\left(#2;#3\right)}}}%
}
+\NewCommandCopy\pflloibinom\LoiBinomiale
+
\NewDocumentCommand\LoiPoisson{ s m }{%
\IfBooleanTF{#1}{\ensuremath{\mathscr{P}_{#2}}}{\ensuremath{\mathcal{P}_{#2}}}%
}
+\NewCommandCopy\pflloipoiss\LoiPoisson
+
\NewDocumentCommand\LoiUnif{ s m }{%
\IfBooleanTF{#1}{\ensuremath{\mathscr{U}_{#2}}}{\ensuremath{\mathcal{U}_{#2}}}%
}
+\NewCommandCopy\pflloiunif\LoiUnif
+
\NewDocumentCommand\LoiExpo{ s m }{%
\IfBooleanTF{#1}{\ensuremath{\mathscr{E}_{#2}}}{\ensuremath{\mathcal{E}_{#2}}}%
}
+\NewCommandCopy\pflloiexpo\LoiExpo
+
%====COORDONNEES, VECTEURS
\RequirePackage{nicematrix}
@@ -222,6 +240,8 @@
\ensuremath{\begin{pNiceMatrix}[cell-space-limits=#1] #2 ; #3 \end{pNiceMatrix}}%
}%
}
+\NewCommandCopy\pflcoordptpl\CoordPtPl
+
\NewDocumentCommand\CoordPtEsp{ O{0} m m m }{%
\IfEq{#1}{0}%si pas d'argument optionnel := array, sinon nicematrix avec cell-space-limits
{%
@@ -231,6 +251,7 @@
\ensuremath{\begin{pNiceMatrix}[cell-space-limits=#1] #2 ; #3 ; #4 \end{pNiceMatrix}}%
}%
}
+\NewCommandCopy\pflcoordptesp\CoordPtEsp
\NewDocumentCommand\CoordVecPl{ O{0} m m }{%
\IfEq{#1}{0}%si pas d'argument optionnel := array, sinon nicematrix avec cell-space-limits
@@ -241,6 +262,7 @@
\ensuremath{\begin{pNiceMatrix}[cell-space-limits=#1] #2 \\ #3 \end{pNiceMatrix}}%
}%
}
+\NewCommandCopy\pflcoordvecpl\CoordVecPl
\NewDocumentCommand\CoordVecEsp{ O{0} m m m }{%
\IfEq{#1}{0}%si pas d'argument optionnel := array, sinon nicematrix avec cell-space-limits
@@ -251,6 +273,7 @@
\ensuremath{\begin{pNiceMatrix}[cell-space-limits=#1] #2 \\ #3 \\ #4 \end{pNiceMatrix}}%
}%
}
+\NewCommandCopy\pflcoordvecesp\CoordVecEsp
\NewDocumentCommand\MatDeux{ O{0} m m m m }{%
\IfEq{#1}{0}%si pas d'argument optionnel := array, sinon nicematrix avec cell-space-limits
@@ -261,10 +284,12 @@
\ensuremath{\begin{pNiceMatrix}[cell-space-limits=#1] #2 & #3 \\ #4 & #5 \end{pNiceMatrix}}%
}%
}
+\NewCommandCopy\pflmatdeux\MatDeux
\NewDocumentCommand\Vecteur{ s m O{} }{%
\IfBooleanTF{#1}{\ensuremath{\vv*{#2}{#3}}}{\ensuremath{\vv{#2}}}%
}
+\NewCommandCopy\pflvect\Vecteur
\NewDocumentCommand\EqParamDteEsp{ s O{t} m m m }{%
\IfBooleanTF{#1}%
@@ -275,6 +300,7 @@
\ensuremath{\begin{dcases}{#3}\\{#4}\\{#5}\end{dcases}\text{ où }{#2}\in\R}%
}%
}
+\NewCommandCopy\pfleqparamdteesp\EqParamDteEsp
%====REPÈRES
\setKVdefault[ecrituresreperes]{%
@@ -292,6 +318,7 @@
\ensuremath{\left(O\useKV[ecrituresreperes]{Sep}\Vecteur{\vphantom{t}\imath},\Vecteur{\vphantom{t}\jmath}\right)}\xspace%
}%
}
+\NewCommandCopy\pflrepoij\RepereOij
\NewDocumentCommand\RepereOuv{ s O{} }{%
\useKVdefault[ecrituresreperes]%
@@ -304,6 +331,7 @@
\ensuremath{\left(O\useKV[ecrituresreperes]{Sep}\Vecteur{\vphantom{t}u},\Vecteur{\vphantom{t}v}\right)}\xspace%
}%
}
+\NewCommandCopy\pflrepouv\RepereOuv
\NewDocumentCommand\RepereOijk{ s O{} }{%
\useKVdefault[ecrituresreperes]%
@@ -316,6 +344,7 @@
\ensuremath{\left(O\useKV[ecrituresreperes]{Sep}\Vecteur{\vphantom{t}\imath},\Vecteur{\vphantom{t}\jmath},\Vecteur{\vphantom{t}\smash{k}}\right)}\xspace%
}%
}
+\NewCommandCopy\pflrepoijk\RepereOijk
\NewDocumentCommand\ReperePlan{ s O{} m m m }{%
\useKVdefault[ecrituresreperes]%
@@ -339,6 +368,7 @@
\ensuremath{\left(#3\useKV[ecrituresreperes]{Sep}\Vecteur{\vphantom{t}\vecteurun},\Vecteur{\vphantom{t}\vecteurdeux}\right)}%
}%
}
+\NewCommandCopy\pflrepplan\ReperePlan
\NewDocumentCommand\RepereEspace{ s O{} m m m m }{%
\useKVdefault[ecrituresreperes]%
@@ -364,6 +394,7 @@
\ensuremath{\left(#3\useKV[ecrituresreperes]{Sep}\Vecteur{\vphantom{t}\vecteurun},\Vecteur{\vphantom{t}\vecteurdeux},\Vecteur{\vphantom{t}\vecteurtrois}\right)}%
}%
}
+\NewCommandCopy\pflrepesp\RepereEspace
%====PROBAS
\setKVdefault[probascondit]{%
@@ -384,6 +415,7 @@
\ifboolKV[probascondit]{BB}{\def\notationproba{\mathbb{P}}}{}%
\notationproba_{#3}{\left(#2\right)} \ifboolKV[probascondit]{Formule}{= \dfrac{\notationproba{\left(#2 \cap #3\right)}}{\notationproba{\left(#3\right)}}}{}%
}
+\NewCommandCopy\pflprobcondit\ProbaCondit
%====IF, IC
\defKV[IntFluc]{%
@@ -456,6 +488,7 @@
}%
{}%
}
+\NewCommandCopy\pflintfluct\IntFluctu
\NewDocumentCommand\RedactionIntFluct{ O{} m }{%
%\setKV[IntFluc]{#1}%
@@ -465,6 +498,7 @@
& \IntFluctu[Formule=false,Details=false,Calcul=true,#1] && \\
\end{flalign*}%
}
+\NewCommandCopy\pflredacintfluct\RedactionIntFluct
\defKV[IntConf]{%
Seuil=\def\intflucconfProba{#1},%
@@ -537,6 +571,7 @@
}%
{}%
}
+\NewCommandCopy\pflintconf\IntConf
\NewDocumentCommand\RedactionIntConf{ O{} m }{%
%\setKV[IntConf]{#1}%
@@ -546,5 +581,6 @@
& \IntConf[Formule=false,Details=false,Calcul=true,#1] && \\
\end{flalign*}%
}
+\NewCommandCopy\pflredacintconf\RedactionIntConf
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-espace.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-espace.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-espace.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-espace.tex
-% Copyright 2024 Cédric Pierquet
+% Copyright 2024-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
\RequirePackage{iftex}
@@ -1056,5 +1056,6 @@
% }%
\fi%
}
+\NewCommandCopy\pflschemesp\SchemaEspace
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-probas.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-probas.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
% CC BY-SA 3.0 (from Mark Wibrow)
@@ -98,6 +98,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(binomial(#3,#5)*#4^#5*(1-#4)^(#3-#5),#2)}}}%
}%
}
+\NewCommandCopy\pflbinomp\BinomP
\NewDocumentCommand{\BinomC}{ s O{3} m m m m }{%*=sci,2=prec,3=n,4=p,5=a,6=b
\def\BorneInf{#5}\def\BorneSup{#6}%
@@ -115,6 +116,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(add(binomial(#3,i)*#4^i*(1-#4)^(#3-i), i=\BorneInf..\BorneSup),#2)}}}%
}%
}
+\NewCommandCopy\pflbinomc\BinomC
\NewDocumentCommand{\GeomP}{ s O{3} m m }{%*=sci,2=prec,3=p,4=k
\IfBooleanTF{#1}%
@@ -125,6 +127,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round((1-#3)^(#4-1)*(#3),#2)}}}%
}%
}
+\NewCommandCopy\pflgeomp\GeomP
\NewDocumentCommand{\GeomC}{ s O{3} m m m }{%*=sci,2=prec,3=p,4=a,5=b
\def\BorneInf{#4}\def\BorneSup{#5}%
@@ -142,6 +145,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(add((1-#3)^(i-1)*(#3), i=\BorneInf..\BorneSup),#2)}}}%
}
}
+\NewCommandCopy\pflgeomc\GeomC
\NewDocumentCommand{\HypergeomP}{ s O{3} m m m m }{%*=sci,2=prec,3=N,4=n,5=m,6=k
\IfBooleanTF{#1}%
@@ -152,6 +156,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(binomial(#5,#6)*binomial(#3-#5,#4-#6)/binomial(#3,#4),#2)}}}%
}
}
+\NewCommandCopy\pflhypergeomp\HypergeomP
\NewDocumentCommand{\HypergeomC}{ s O{3} m m m m m }{%*=sci,2=prec,3=N,4=n,5=m,6=a,7=b
\def\BorneInf{#6}\def\BorneSup{#7}%
@@ -169,6 +174,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(add(binomial(#5,i)*binomial(#3-#5,#4-i)/binomial(#3,#4), i=\BorneInf..\BorneSup),#2)}}}
}%
}
+\NewCommandCopy\pflhypergeomc\HypergeomC
\NewDocumentCommand{\PoissonP}{ s O{3} m m }{%*=sci,2=prec,3=lbda,4=k
\IfBooleanTF{#1}%
@@ -179,6 +185,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(exp(-#3)*#3^#4/factorial(#4),#2)}}}%
}%
}
+\NewCommandCopy\pflpoissonp\PoissonP
\NewDocumentCommand{\PoissonC}{ s O{3} m m m }{%*=ing,2=prec,3=lbda,4=a,5=b
\def\BorneInf{#4}\def\BorneSup{#5}%
@@ -196,6 +203,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(add(exp(-#3)*#3^i/factorial(i), i=\BorneInf..\BorneSup),#2)}}}%
}%
}
+\NewCommandCopy\pflpoissonc\PoissonC
\NewDocumentCommand{\NormaleC}{ s O{3} m m m m }{%
%*=ing,2=prec,3=mu,4=sigma,5=a,6=b
@@ -215,6 +223,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintfloateval{round(Phi((\BorneSup-#3)/#4)-Phi((\BorneInf-#3)/#4),#2)}}}%
}%
}
+\NewCommandCopy\pflnormalec\NormaleC
\NewDocumentCommand{\ExpoC}{ s O{3} m m m }{%*=ing,2=prec,3=lbda,4=a,5=b
\def\BorneInf{#4}\def\BorneSup{#5}%
@@ -232,6 +241,7 @@
\num[minimum-decimal-digits=#2]{\xintFloatToDecimal{\xintFloatToDecimal{\xintfloateval{round(exp(-#3*\BorneInf)-exp(-#3*\BorneSup),#2)}}}}
}%
}
+\NewCommandCopy\pflexpoc\ExpoC
%%------ARBRESPROBAS
\NewDocumentCommand\numdots{}{\vphantom{0,5}\ldots}
@@ -574,6 +584,7 @@
}{}
\end{tikzpicture}
}
+\NewCommandCopy\pflarbreprobas\ArbreProbasTikz
\NewDocumentEnvironment{EnvArbreProbasTikz}{ O{} D<>{} m }%1=options,2=libellés
{
@@ -914,6 +925,7 @@
\draw[thick,domain=-4:4,samples=100,\GRPHPROBcoulcbe] plot (\x,{\densnorm{\x}}) ;
\end{tikzpicture}%
}
+\NewCommandCopy\pflnormgraph\LoiNormaleGraphe
\NewDocumentCommand\LoiExpoGraphe{ O{} D<>{} m m m }{%1=options,2=optionstikz,3=l,4=a,5=b
%simplekv
@@ -942,15 +954,18 @@
\draw[thick,domain=0:3.8,samples=100,\GRPHPROBcoulcbe] plot (\x,{0.7*\densexpo{\x}}) ;
\end{tikzpicture}%
}
+\NewCommandCopy\pflexpograph\LoiExpoGraphe
%%------aNp/Cnp
\NewDocumentCommand\CalculAnp{ m m }{%avec et pour xint, p/n
pfactorial(#2-#1,#2)
}
+\NewCommandCopy\pflcalcanp\CalculAnp
\NewDocumentCommand\CalculCnp{ m m }{%avec et pour xint, p/n
binomial(#2,#1)
}
+\NewCommandCopy\pflcalccnp\CalculCnp
\setKVdefault[anpCnp]{%
Formule=false,%
@@ -966,6 +981,8 @@
{\xinteval{\CalculAnp{#3}{#4}}}%non formaté
{\num{\xinteval{\CalculAnp{#3}{#4}}}}%formaté
}
+\NewCommandCopy\pflarrang\Arrangement
+
\NewDocumentCommand\Combinaison{ s O{} m m }{%p/n
\useKVdefault[anpCnp]%
\setKV[anpCnp]{#2}%
@@ -976,6 +993,7 @@
{\xinteval{\CalculCnp{#3}{#4}}}%non formaté
{\num{\xinteval{\CalculCnp{#3}{#4}}}}%formaté
}
+\NewCommandCopy\pflcombin\Combinaison
%%------Fonction de répartition
\NewDocumentCommand\CrochetFctRepart{ m m }{
@@ -1140,6 +1158,7 @@
{}%
\end{tikzpicture}
}
+\NewCommandCopy\pflhistobinom\HistogrammeBinomiale
\NewDocumentEnvironment{HistoBinomiale}{ O{} D<>{} m m }%
{%
@@ -1438,6 +1457,7 @@
{}%
\end{tikzpicture}%
}
+\NewCommandCopy\pflarbrechoix\ArbreChoix
\NewDocumentCommand\IntNoeudArbreSansRemise{ m m m }{%
\node[arbrechoixsommets,text={\TRLISTECHOIXCOUL[#1]}] (T-#1-#2) at (N-#1-#2) {\TRLISTECHOIX[#3]} ;
@@ -1701,6 +1721,7 @@
{}%
\end{tikzpicture}%
}
+\NewCommandCopy\pflarbrechoixssremise\ArbreChoixSansRemise
\def\tmplistpermuttwo{{1,2},{2,1}}
\def\tmplistpermutthree{{1,2,3},{1,3,2},{2,1,3},{2,3,1},{3,1,2},{3,2,1}}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-recreat.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-recreat.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-recreat.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-recreat.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%%------FENÊTRE CALCUL FORMEL
@@ -236,6 +236,7 @@
}{}
\end{tikzpicture}
}
+\NewCommandCopy\pflsudomaths\SudoMaths
%=====FRACTALES
\usetikzlibrary{lindenmayersystems}
@@ -319,6 +320,7 @@
}%
\IfBooleanF{#1}{\end{tikzpicture}}%
}
+\NewCommandCopy\pflfractaltikz\FractaleTikz
\NewDocumentCommand\EtapesFloconKoch{ O{} D<>{} m }{%
\restoreKV[tikzfract]%
@@ -429,6 +431,7 @@
}{}%
\end{tikzpicture}
}
+\NewCommandCopy\pflchateaucartes\ChateauCartes
%====ALLUMETTES
\definecolor{BoisAllumette}{HTML}{E9D0B8}
@@ -466,6 +469,7 @@
\shade[draw,ball color=\MatchEndColor,rounded corners=0.1pt] ({\AlumLg-2*\LongueurGratte-2*\MatchOffset},0)--++(0,{0.1cm}) to[out=12.5,in=90]++({2*\LongueurGratte},{-0.1cm}) to[out=-90,in=-17.5]++({-2*\LongueurGratte+0.05cm},{-0.15cm}) --++ (-0.05cm,0.05cm) --cycle ;
\end{scope}
}
+\NewCommandCopy\pflallumette\PfLAllumette
\NewDocumentCommand\PfLAllumettes{ O{} m }{%
\setsepchar{ }%
@@ -475,6 +479,7 @@
\PfLAllumette[#1]{\diralum}
}%
}
+\NewCommandCopy\pflallumettes\PfLAllumettes
%====MACHINE À TRANSFORMER
\defKV[machtransf]{%
@@ -609,6 +614,7 @@
}%
\end{tikzpicture}
}
+\NewCommandCopy\pflmachtransf\MachineTransformer
%====PYRAMIDE D'ORANGES
\usetikzlibrary{shadings}
@@ -652,6 +658,7 @@
\end{tikzpicture}%
}%
}
+\NewCommandCopy\pflempilballes\EmpilementBalles
%====DATES
\IfPackageLoadedTF{datetime2}%
@@ -680,6 +687,7 @@
{6}{\IfBooleanTF{#1}{D}{d}imanche}%
}{}%
}
+\NewCommandCopy\pfljourselondate\JourSelonDate
\NewDocumentCommand\DateComplete{ s m }{%
\IfBooleanTF{#1}%
@@ -693,6 +701,7 @@
\DTMsavedate{datecplt}{\tmpdateinit}%
\DTMusedate{datecplt}{}%
}
+\NewCommandCopy\pfldatecomplet\DateComplete
\NewDocumentCommand\NbJoursEntreDates{ s m m O{\nbjoursentre} }{%
\StrBehind[2]{#2}{/}[\tmptheyear]%
@@ -709,6 +718,7 @@
\xdef#4{\fpeval{abs(\tmpmyct)}}%
\IfBooleanT{#1}{#4}%
}
+\NewCommandCopy\pflnbjoursdates\NbJoursEntreDates
\NewDocumentCommand\AjoutJoursDate{ s m m }{%
\StrBehind[2]{#2}{/}[\tmptheyear]%
@@ -726,6 +736,6 @@
\DTMusedate{datefinale}{}%
}%
}
+\NewCommandCopy\pflajoutjoursdate\AjoutJoursDate
-
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-stats.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-stats.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-stats.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,7 +1,8 @@
% proflycee-tools-stats.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
+%xxxxx Ajouts de clés pour les boxplot
%3.01a Courbe ECC
%2.6.8 Grille histogrammes non réguliers
%2.6.7 Histogrammes
@@ -74,6 +75,7 @@
\expandafter\def\csname\RegLinCoeffr\endcsname{\fpeval{\LXYvar/sqrt(\LXvar*\LYvar)}}
\expandafter\def\csname\RegLinCoeffrd\endcsname{\fpeval{\csname\RegLinCoeffr\endcsname*\csname\RegLinCoeffr\endcsname}}
}
+\NewCommandCopy\pflcalcreglin\CalculsRegLin
\defKV[coeffregquad]{%
NomCoeffa=\def\RegQuadCoeffa{#1},%
@@ -137,6 +139,7 @@
\expandafter\def\csname\RegQuadCoeffa\endcsname{\xintfloateval{(\LXCYSomme*\LXXSomme-\LXYSomme*\LXXCSomme)/(\LXXSomme*\LXCXCSomme-(\LXXCSomme)^2)}}%
\expandafter\def\csname\RegQuadCoeffc\endcsname{\xintfloateval{\LYmoy-\csname\RegQuadCoeffb\endcsname*\LXmoy-\csname\RegQuadCoeffa\endcsname*\LXCmoy}}%
}
+\NewCommandCopy\pflcalcregquad\CalculsRegQuad
%pour un nuage en TiKz
\defKV[nuagereglin]{%
@@ -199,15 +202,19 @@
Max=\def\BaMAxeMax{#1},%
Elargir=\def\BaMAxeElarg{#1},%
Epaisseur=\def\BaMAxeEpaisseur{#1},%
- Valeurs=\def\BaMAxeValeurs{#1}
+ Valeurs=\def\BaMAxeValeurs{#1},%
+ LabelOx=\def\BaMAxeLabelOx{#1}
}
\setKVdefault[boiteamoustachesaxe]{%
Elargir=0.05,%
Epaisseur=thick,%
- AffValeurs=false
+ AffValeurs=false,%
+ LabelOx={}
}
+\tikzset{valxboxplot/.style={below=3pt}}
+
\newcommand\BoiteMoustachesAxe[1][]{
\useKVdefault[boiteamoustachesaxe]
\setKV[boiteamoustachesaxe]{#1}
@@ -215,8 +222,12 @@
\def\BaMaxexmin{\fpeval{\BaMAxeMin-\BaMAxeElarg*\BaMaxelargeur}}
\def\BaMaxexmax{\fpeval{\BaMAxeMax+\BaMAxeElarg*\BaMaxelargeur}}
\draw[\BaMAxeEpaisseur,->,>=latex] (\BaMaxexmin,0) -- (\BaMaxexmax,0) ;
+ \IfEq{LabelOx}{}{}%
+ {%
+ \draw (\BaMaxexmax,0) node[right] {\BaMAxeLabelOx} ;
+ }%
\ifboolKV[boiteamoustachesaxe]{AffValeurs}
- {\foreach \x in \BaMAxeValeurs \draw[\BaMAxeEpaisseur] (\x,3pt)--(\x,-3pt) node[below=3pt] {\num{\x}} ;}
+ {\foreach \x in \BaMAxeValeurs \draw[\BaMAxeEpaisseur] (\x,3pt)--(\x,-3pt) node[valxboxplot] {\num{\x}} ;}
{}
}
@@ -255,6 +266,7 @@
}
{}
}
+\NewCommandCopy\pflboitemoustach\BoiteMoustaches
%%------HISTOGRAMME
\defKV[histostats]{%
@@ -495,6 +507,7 @@
\end{tikzpicture}%
}%
}
+\NewCommandCopy\pflhistogramme\Histogramme
\NewDocumentCommand\HistogrammeTikz{ O{} m }{%
\useKVdefault[histostats]%
@@ -545,6 +558,7 @@
}%
{}%
}
+\NewCommandCopy\pflhistotikz\HistogrammeTikz
%%----Courbe ECC
%\usetikzlibrary{intersections}
@@ -690,6 +704,7 @@
\end{tikzpicture}%
\CourbeECCStylesDefaut%
}
+\NewCommandCopy\pflcourbeecc\CourbeECC
\NewDocumentEnvironment{EnvCourbeECC}{ O{} m m }%
{%
@@ -900,6 +915,7 @@
}%
\xdef\monecarttype{\xintfloateval{sqrt(\monecarttype/\nbdonnees)}}%
}
+\NewCommandCopy\pflparamstats\DeterminerParamStats
\NewDocumentCommand\DeterminerMoyEctype{ s m O{\mamoyenne} O{\monecarttype} }{%
%traitement de la liste, *=effectifs
@@ -938,5 +954,6 @@
}%
\xdef#4{\xintfloateval{sqrt(#4/\nbdonnees)}}%
}
+\NewCommandCopy\pflmoyectype\DeterminerMoyEctype
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-suites.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%%------CabWeb
@@ -51,6 +51,7 @@
\def\i{\fpeval{\y}}%
}
}
+\NewCommandCopy\pfltoilerecurr\ToileRecurrence
%%------CALCSRECUR
\NewDocumentCommand\CalculInterneTermeRecurrence{ m m m m }{%pas forcément utile
@@ -104,6 +105,7 @@
}%
}{}%
}
+\NewCommandCopy\pflcalcseuil\CalculSeuil
\defKV[calculsuiterecur]{%
No=\def\SRninit{#1},%
@@ -138,6 +140,7 @@
%\IfStrEq{\SRformat}{Decimal}{\num{\xintfloateval{\vartmp}}}{}%
%\IfStrEq{\SRformat}{BrutDecimal}{\xintFloatToDecimal{\vartmp}}{}%
}
+\NewCommandCopy\pflcalcrecurr\CalculTermeRecurrence
\defKV[suiteseuil]{%
No=\def\SEUILindiceinit{#1},%
@@ -203,5 +206,6 @@
}%
}%
}
+\NewCommandCopy\pflsolseuil\SolutionSeuil
\endinput
\ No newline at end of file
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-trigo.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-trigo.tex 2025-02-10 20:21:22 UTC (rev 73859)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-trigo.tex 2025-02-10 20:21:38 UTC (rev 73860)
@@ -1,5 +1,5 @@
% proflycee-tools-trigo.tex
-% Copyright 2023-2024 Cédric Pierquet
+% Copyright 2023-2025 Cédric Pierquet
% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
%%------CercleTrigo
@@ -161,6 +161,7 @@
}%
{}
}
+\NewCommandCopy\pflcercletrigo\CercleTrigo
%%------MESUREPPALE
\setKVdefault[MesurePpale]{%
@@ -218,6 +219,7 @@
\pi}{\num{\MPdenominateur}} \ifboolKV[MesurePpale]{Brut}{}{\: \ifboolKV[MesurePpale]{Crochets}{[2\pi]}{(2\pi)}}%
}%
}
+\NewCommandCopy\pflmesppale\MesurePrincipale
%%------LIGNES TRIGOS
\setKVdefault[Lgntrig]{%
@@ -780,5 +782,6 @@
}%
{}%
}
+\NewCommandCopy\pfllignetrig\LigneTrigo
\endinput
\ No newline at end of file
More information about the tex-live-commits
mailing list.