texlive[74531] Master/texmf-dist: proflycee (8mar25)
commits+karl at tug.org
commits+karl at tug.org
Sat Mar 8 21:55:40 CET 2025
Revision: 74531
https://tug.org/svn/texlive?view=revision&revision=74531
Author: karl
Date: 2025-03-08 21:55:40 +0100 (Sat, 08 Mar 2025)
Log Message:
-----------
proflycee (8mar25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
trunk/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
trunk/Master/texmf-dist/doc/latex/proflycee/README.md
trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty
trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex
trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex
trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex
Modified: trunk/Master/texmf-dist/doc/latex/proflycee/ProfLycee-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/proflycee/ProfLycee-docctan.zip
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/proflycee/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/proflycee/README.md 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/doc/latex/proflycee/README.md 2025-03-08 20:55:40 UTC (rev 74531)
@@ -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: trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee-Light.sty 2025-03-08 20:55:40 UTC (rev 74531)
@@ -3,7 +3,8 @@
% licence cliparts...: CC0 from openclipart
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee-Light}[2025/02/10 1.00c Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee-Light}[2025/03/07 1.00d Aide pour l'utilisation de LaTeX en lycee]
+%1.00d Option [nonsiunitxfr] + bugfix avec tabularray
%1.00c Ajout d'aliases en \pfl....
%1.00b Changement du préfixage de certaines commandes + \logo calculatrice interdite
%1.00a Refonte du fonctionnement
@@ -15,10 +16,12 @@
\newif\if at xcolor \@xcolorfalse
\newif\if at build \@buildfalse
\newif\if at loadamssymb \@loadamssymbtrue
+\newif\if at loadsiunitxfr \@loadsiunitxfrtrue
\newif\if at warningsoff \@warningsofffalse
\newif\if at loadtikzbabel \@loadtikzbabeltrue
\DeclareOption{xcolor}{\@xcolortrue}%
\DeclareOption{build}{\@buildtrue}%
+\DeclareOption{nonsiunitxfr}{\@loadsiunitxfrfalse}%
\DeclareOption{nonamssymb}{\@loadamssymbfalse}%
\DeclareOption{warningsoff}{\@warningsofftrue}%
\DeclareOption{nontikzbabel}{\@loadtikzbabelfalse}%
@@ -57,14 +60,16 @@
\RequirePackage{fancyvrb}
\RequirePackage{nicefrac}
\RequirePackage{siunitx}
-\sisetup{%
- locale=FR,output-decimal-marker={,},%
- mode=match,propagate-math-font=true,%
- reset-math-version=false,reset-text-family=false,%
- reset-text-series=false,reset-text-shape=false,%
- text-family-to-math=true,text-series-to-math=true,%
- group-minimum-digits=4%
-}%
+\if at loadsiunitxfr
+ \sisetup{%
+ locale=FR,output-decimal-marker={,},%
+ mode=match,propagate-math-font=true,%
+ reset-math-version=false,reset-text-family=false,%
+ reset-text-series=false,reset-text-shape=false,%
+ text-family-to-math=true,text-series-to-math=true,%
+ group-minimum-digits=4%
+ }%
+\fi
\RequirePackage{fontawesome5}
\RequirePackage{tcolorbox}%
\tcbuselibrary{breakable,fitting,skins,listings,listingsutf8,hooks}
@@ -369,7 +374,8 @@
%%=====LIBRAIRIES/BIBIOTHÈQUES
\newcommand\useproflyclib[1]{%ajout d'une commande "librairie" pour charger des modules
- \IfSubStr{#1}{most}{%
+ \IfSubStr{#1}{most}%
+ {%
\input{proflycee-tools-analyse.tex}
\input{proflycee-tools-graphiques.tex}
\input{proflycee-tools-listings.tex}
Modified: trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/tex/latex/proflycee/ProfLycee.sty 2025-03-08 20:55:40 UTC (rev 74531)
@@ -5,7 +5,8 @@
% code
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ProfLycee}[2025/02/10 3.11a Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee}[2025/03/07 3.11b Aide pour l'utilisation de LaTeX en lycee]
+% 3.11b Option [nonsiunitxfr] + bugfix avec tabularray
% 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)
@@ -113,10 +114,12 @@
\newif\if at xcolor \@xcolorfalse
\newif\if at build \@buildfalse
\newif\if at loadamssymb \@loadamssymbtrue
+\newif\if at loadsiunitxfr \@loadsiunitxfrtrue
\newif\if at warningsoff \@warningsofffalse
\newif\if at loadtikzbabel \@loadtikzbabeltrue
\DeclareOption{xcolor}{\@xcolortrue}%
\DeclareOption{build}{\@buildtrue}%
+\DeclareOption{nonsiunitxfr}{\@loadsiunitxfrfalse}%
\DeclareOption{nonamssymb}{\@loadamssymbfalse}%
\DeclareOption{warningsoff}{\@warningsofftrue}%
\DeclareOption{nonwarnings}{\@warningsofftrue}%
@@ -156,14 +159,16 @@
\RequirePackage{fancyvrb}
\RequirePackage{nicefrac}
\RequirePackage{siunitx} %test avec v3
-\sisetup{%
- locale=FR,output-decimal-marker={,},%
- mode=match,propagate-math-font=true,%
- reset-math-version=false,reset-text-family=false,%
- reset-text-series=false,reset-text-shape=false,%
- text-family-to-math=true,text-series-to-math=true,%
- group-minimum-digits=4%
-}%
+\if at loadsiunitxfr
+ \sisetup{%
+ locale=FR,output-decimal-marker={,},%
+ mode=match,propagate-math-font=true,%
+ reset-math-version=false,reset-text-family=false,%
+ reset-text-series=false,reset-text-shape=false,%
+ text-family-to-math=true,text-series-to-math=true,%
+ group-minimum-digits=4%
+ }%
+\fi
\RequirePackage{fontawesome5}
%tcolorbox
\RequirePackage{tcolorbox}%
Modified: trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex 2025-03-08 20:55:40 UTC (rev 74531)
@@ -380,7 +380,7 @@
\ifboolKV[dichoto]{Balayage}{\ifboolKV[dichoto]{Majuscule}{P}{p}ar balayage, on obtient }{}%
\ifboolKV[dichoto]{Calculatrice}{\ifboolKV[dichoto]{Majuscule}{P}{p}ar calculatrice, on obtient }{}%
\ensuremath{%
- \left\lbrace \begin{tblr}{stretch=\DHTstretch,colsep=1pt,rll}%
+ \left\lbrace \begin{tblr}{stretch=\DHTstretch,colsep=1pt,colspec={rll}}%
{\DHTnomfct}{\left( \num{\DHTva} \right)} &\approx \num[minimum-decimal-digits=\DHTprec]{\xintFloatToDecimal{\xintfloateval{round(varfct(\DHTva),\DHTprec)}}} & \xintifGt{\xintfloateval{varfct(\DHTva)-#3}}{0}{> \num{#3}}{< \num{#3}} \: \\ %
{\DHTnomfct}{\left( \num{\DHTvb} \right)} &\approx \num[minimum-decimal-digits=\DHTprec]{\xintFloatToDecimal{\xintfloateval{round(varfct(\DHTvb),\DHTprec)}}} & \xintifGt{\xintfloateval{varfct(\DHTvb)-#3}}{0}{> \num{#3}}{< \num{#3}} \:%
\end{tblr}%
@@ -584,7 +584,7 @@
\NewDocumentCommand\CalcIntegrale{ s O{} D<>{50} m m m }{%
\xintdeffloatfunc varfct(x) := #4 ;%
\def\TmpNmU{\xinteval{(#3)-1}}%
- \def\TmpRes{\xintfloateval{(#6-#5)/(6*(#3))*(2*add(varfct(#5+i*(#6-#5)/(#3)),i=1..\TmpNmU)+varfct(#5)+varfct(#6)+4*add(varfct(#5+(i+0.5)*(#6-#5)/(#3)), i=0..\TmpNmU))}}%
+ \def\TmpRes{\xintfloateval{((#6)-(#5))/(6*(#3))*(2*add(varfct((#5)+i*((#6)-(#5))/(#3)),i=1..\TmpNmU)+varfct(#5)+varfct(#6)+4*add(varfct((#5)+(i+0.5)*((#6)-(#5))/(#3)), i=0..\TmpNmU))}}%
\IfStrEq{#2}{}%
{%
\IfBooleanTF{#1}{\num{\TmpRes}}{\TmpRes}%
Modified: trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-arithm.tex 2025-03-08 20:55:40 UTC (rev 74531)
@@ -1690,7 +1690,7 @@
{%
\ifboolKV[calcfactorielle]{Grand}%
{%
- \num[scientific-notation=true]{\tmpres}%
+ \num[exponent-mode=scientific]{\tmpres}%
}%
{%
\num{\tmpres}%
@@ -1748,7 +1748,7 @@
{%
\ifboolKV[calcfactorielle]{Grand}%
{%
- \num[scientific-notation=true]{\tmpres}%
+ \num[exponent-mode=scientific]{\tmpres}%
}%
{%
\num{\tmpres}%
@@ -1854,7 +1854,7 @@
{%
\ifboolKV[calcfactorielle]{Grand}%
{%
- \num[scientific-notation=true]{\tmpres}%
+ \num[exponent-mode=scientific]{\tmpres}%
}%
{%
\num{\tmpres}%
@@ -1927,7 +1927,7 @@
{%
\ifboolKV[calcfactorielle]{Grand}%
{%
- \num[scientific-notation=true]{\tmpres}%
+ \num[exponent-mode=scientific]{\tmpres}%
}%
{%
\num{\tmpres}%
@@ -2000,7 +2000,7 @@
{%
\ifboolKV[calcfactorielle]{Grand}%
{%
- \num[scientific-notation=true]{\tmpres}%
+ \num[exponent-mode=scientific]{\tmpres}%
}%
{%
\num{\tmpres}%
Modified: trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex 2025-03-08 20:29:11 UTC (rev 74530)
+++ trunk/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-suites.tex 2025-03-08 20:55:40 UTC (rev 74531)
@@ -196,7 +196,7 @@
}%
{%
\ensuremath{%
- \left\lbrace \begin{tblr}{stretch=\SEUILstretch,colsep=1pt,rll}%
+ \left\lbrace \begin{tblr}{stretch=\SEUILstretch,colsep=1pt,colspec={rll}}%
\SEUILnomsuite_{\SEUILnmu} &\ifboolKV[suiteseuil]{Exact}{=}{\approx} \CalculTermeRecurrence[Precision=\SEUILprec,No=\SEUILindiceinit,UNo=\SEUILtermeinit,N=\SEUILnmu]{#2} & \SensDeb\num{#3} \: \\ %
\SEUILnomsuite_{\SEUILn} &\ifboolKV[suiteseuil]{Exact}{=}{\approx} \CalculTermeRecurrence[Precision=\SEUILprec,No=\SEUILindiceinit,UNo=\SEUILtermeinit,N=\SEUILn]{#2} & \SensFin\num{#3} \: %
\end{tblr}%
More information about the tex-live-commits
mailing list.