summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex')
-rw-r--r--Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex38
1 files changed, 37 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex b/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
index 7086b10b220..83c150aaf11 100644
--- a/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
+++ b/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-ecritures.tex
@@ -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,18 +205,28 @@
\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