From 225d674dde02e0571b74d1fc483d2d4d1084856a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 20 May 2024 03:01:36 +0000 Subject: CTAN sync 202405200301 --- graphics/pgf/contrib/profsio/tex/ProfSio.sty | 318 ++++++++++++++++++++++++++- 1 file changed, 312 insertions(+), 6 deletions(-) (limited to 'graphics/pgf/contrib/profsio/tex/ProfSio.sty') diff --git a/graphics/pgf/contrib/profsio/tex/ProfSio.sty b/graphics/pgf/contrib/profsio/tex/ProfSio.sty index 1cc9916af4..3b70f9a1e3 100644 --- a/graphics/pgf/contrib/profsio/tex/ProfSio.sty +++ b/graphics/pgf/contrib/profsio/tex/ProfSio.sty @@ -3,8 +3,9 @@ % : Luatruthtable from Chetan Shirore and Dr. Ajit Kumar https://ctan.org/pkg/luatruthtable \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ProfSio}[2024/05/12 0.2.7 Pour les enseignants de Maths en BTS SIO] -%0.2.6 Correction d'un bug dans les simplifications de Karnaugh +\ProvidesPackage{ProfSio}[2024/05/18 0.2.8 Pour les enseignants de Maths en BTS SIO] +%0.2.8 Ajout des grilles de CCF (E2) +%0.2.7 Correction d'un bug dans les simplifications de Karnaugh %0.2.6 Corrections dans les simplifications de Karnaugh %0.2.5 Ajout de clés pour les tables de vérité, [Vide], pour ne pas le remplir %0.2.4 Ajout d'une commande pour afficher (sans simplifier) une expression booléenne + tables en base donnée + Possibilité math dans diag sagitt @@ -1921,14 +1922,18 @@ end \ExplSyntaxOff \defKV[simplifbool]{% - Variables=\def\simplifboolvars{#1} + Variables=\def\simplifboolvars{#1}, + Couleurs=\def\simplifboolcoul{#1},% + CouleurPlus=\def\simplifboolcoulplus{#1},% } \setKVdefault[simplifbool]{% Variables={a/b/c},% Enonce=true,% Espace=true,% - Contraire=false + Contraire=false,% + Couleurs={black/black/black},% + CouleurPlus=black,% } \NewDocumentCommand\ExprBool{ O{} m D<>{} }{%semble ok @@ -2079,8 +2084,8 @@ end \ensuremath{%\knghbinres=% \ifboolKV[simplifbool]{Enonce}{\ifboolKV[simplifbool]{Contraire}{\overline{\knghenoncetransf}}{\knghenoncetransf}=}{}% \ifboolKV[simplifbool]{Espace}% - {\SimplificationKarnaugh[Variables={\simplifboolvars},Espace=true,Swap,#3]{\knghbinres}}% - {\SimplificationKarnaugh[Variables={\simplifboolvars},Espace=false,Swap,#3]{\knghbinres}}% + {\SimplificationKarnaugh[Variables={\simplifboolvars},Espace=true,Swap,#3,Couleurs={\simplifboolcoul},CouleurPlus={\simplifboolcoulplus}]{\knghbinres}}% + {\SimplificationKarnaugh[Variables={\simplifboolvars},Espace=false,Swap,#3,Couleurs={\simplifboolcoul},CouleurPlus={\simplifboolcoulplus}]{\knghbinres}}% } } @@ -2833,4 +2838,305 @@ end \StrSubstitute{#2}{/}{#1}\relax% } +%===GRILLES CCF +\newcommand\tkzsquarebox{{\tikz\draw (0,0) rectangle++(0.9em,0.9em);}} + +\defKV[GrillesCCFSIO]{% + Session=\def\grccfsioannee{#1},% + PoliceManuscrite=\def\grpoliceccf{#1},% + Type=\def\grtypeccf{#1} +} + +\setKVdefault[GrillesCCFSIO]{% + Session={\year},% + PoliceManuscrite={},% + Type={7-1} +} + +\NewDocumentCommand\GrilleCCFSIO{ O{} m m m D<>{default} }{% + %1=clés + %2=candidat + %3=date + %4=résumé + %5=compétences + \restoreKV[GrillesCCFSIO]% + \setKV[GrillesCCFSIO]{#1}% + \IfStrEq{\grtypeccf}{7-1}% + {% + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]},row{1}={l},row{2-3}={c},cells={font=\sffamily\bfseries}} + \hline + BTS SERVICES INFORMATIQUES AUX ORGANISATIONS\hfill{}SESSION {\grccfsioannee}\hspace*{1cm} \\ + ANNEXE 7-1 : Document de préparation au déroulement de la situation 1 \\ + Épreuve E2 – Mathématiques pour l’informatique (CCF) \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\begin{tblr}{ + vline{1,Z}={solid},% + vline{2}={3-4}{solid},% + width=\linewidth, + colspec={X[m]Q[7cm,m]}, + hlines,stretch=1.25, + cells={font=\bfseries\sffamily}, + rows={1cm},% + row{2}={t},% + row{4}={t} + } + \SetCell[c=2]{c}{SITUATION PROBLÈME} & \\ + NOM et prénom : \textmd{\grpoliceccf #2} & \SetCell{l}{\phantom{BLABLA}OPTION SLAM\phantom{ISR}\raisebox{-0.1em}{\tkzsquarebox} \\ \phantom{BLABLA}OPTION SISR\phantom{LAM}\raisebox{-0.1em}{\tkzsquarebox}} \\ + N° candidat : & N° commission \\ + {Intitulé court de la situation proposée : \\~\\ \textmd{\grpoliceccf #4} \\} & {\\ Date : \textmd{\grpoliceccf #3}} \\ + {Consignes\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\} & \\ + {Documents ou composants fournis\\ \\ \textmd{\grpoliceccf Notice + Aide-mémoire + Clé USB}\\ \\ \\} & \\ + \end{tblr} + + \vspace*{5mm} + + \noindent\textsf{\textit{Au cours de l’épreuve, la personne candidate est autorisée à utiliser les ressources électroniques disponibles dans le centre d’examen à l’exception de tout service d’échanges synchrones ou asynchrones avec un tiers. Elle est informée que l’ensemble des connexions réalisées peuvent faire l’objet d’un contrôle par la commission d’interrogation.}} + + \pagebreak + }% + {}% + \IfStrEq{\grtypeccf}{7-2}% + {% + \IfStrEq{#5}{default}% + {% + \def\compteccfA{}% + \def\compteccfB{}% + \def\compteccfC{}% + \def\compteccfD{}% + }% + {% + \setsepchar[.]{/}% + \readlist*\lstcompetccf{#5}% + \itemtomacro\lstcompetccf[1]\compteccfA% + \itemtomacro\lstcompetccf[2]\compteccfB% + \itemtomacro\lstcompetccf[3]\compteccfC% + \itemtomacro\lstcompetccf[4]\compteccfD% + + }% + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]},row{1}={l},row{2-3}={c},cells={font=\sffamily\bfseries}} + \hline + BTS SERVICES INFORMATIQUES AUX ORGANISATIONS\hfill{}SESSION {\grccfsioannee}\hspace*{1cm} \\ + ANNEXE 7-2 : Grille d’aide à l’évaluation de la situation 1 (recto) \\ + Épreuve E2 – Mathématiques pour l’informatique (CCF) \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]Q[3.5cm,m]},cells={font=\sffamily\bfseries},stretch=1.25} + \hline + NOM et prénom : \textmd{\grpoliceccf #2} & N° commission\textsuperscript{\scriptsize 1} : \\ + N° candidat : & \\ + \hline + \end{tblr} + + \vspace*{0.75cm} + + \noindent\begin{tblr}{ + hlines,vlines, + width=\linewidth,colspec={X[0.625,m]X[0.375,m]}, + cells={font=\sffamily},% + row{2}={1.25cm},% + row{X}={0.75cm} + } + \SetCell[c=2]{l}{\bfseries Intitulé court de la situation problème proposée :} & \\ + \SetCell[c=2]{l}{\grpoliceccf #4} & \\ + \textbf{Évaluation\textsuperscript{\footnotesize 2}} & \textbf{Critères d'évaluation} \\ + \textbf{Maîtrise des connaissances (sur 8)} & \\ + \textmd{-- \grpoliceccf \compteccfA} & \\ + \textmd{-- \grpoliceccf \compteccfB} & \\ + \textmd{-- \grpoliceccf \compteccfC} & \\ + \textmd{-- \grpoliceccf \compteccfD} & \\ + \textbf{Production commentée (sur 6)} & \\ + \textmd{Efficacité et pertinence de la solution proposée} & \\ + \textmd{Pertinence de la solution proposée} & \\ + \textmd{Correction et cohérence de l’utilisation du formalisme retenu} & \\ + \textmd{Cohérence de l’utilisation du formalisme retenu} & \\ + \textmd{Lisibilité de la solution proposée} & \\ + \textbf{Mise en \oe{}uvre commentée (sur 6)} & \\ + \textmd{Qualité de la mise en \oe{}uvre} & \\ + \textmd{Efficacité de l’implémentation} & \\ + \textmd{Pertinence de l’utilisation des composants logiciels fournis} & \\ + \textmd{Adéquation des tests de validation effectués} & \\ + \textmd{Capacité à proposer des corrections pertinentes} & \\ + \textbf{Note globale} & \SetCell{r}{\textbf{Note ~~~~/\,20}} \\ + \SetCell[c=2]{l}{\textbf{Date :} {\grpoliceccf #3} \\ ~ \\ \textbf{Nom et signature de la commission d’évaluation :} \\ ~} & \\ + \SetCell[c=2]{l}{\textbf{\textit{Joindre le document descriptif de la situation problème proposée.}}} & \\ + \end{tblr} + + \vspace*{5mm} + + \noindent\textsf{\textbf{\textit{Cette partie est à l’usage exclusif de la commission d’interrogation et ne peut être communiquée à la personne candidate.}}} + + \vfill + + \par\noindent\rule{0.33\linewidth}{0.4pt} + + \noindent\textsf{\textsuperscript{\footnotesize 1}{\footnotesize Indiquer le nom du professeur responsable de l’évaluation.}} + + \noindent\textsf{\textsuperscript{\footnotesize 2}{\footnotesize Des appels (2 au maximum) permettent de s’assurer de la compréhension du problème et d’évaluer la communication orale et les capacités liées à l’usage des outils numériques.}} + + \vspace*{5mm} + + \pagebreak + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]},row{1}={l},row{2-3}={c},cells={font=\sffamily\bfseries}} + \hline + BTS SERVICES INFORMATIQUES AUX ORGANISATIONS\hfill{}SESSION {\grccfsioannee}\hspace*{1cm} \\ + ANNEXE 7-2 : Grille d’aide à l’évaluation de la situation 1 (verso) \\ + Épreuve E2 – Mathématiques pour l’informatique (CCF) \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]Q[6cm,m]},cells={font=\sffamily\bfseries},stretch=1.25} + \hline + NOM et prénom : \textmd{\grpoliceccf #2} & Date de l'interrogation : \\ + N° candidat : & \textmd{\grpoliceccf #3} \\ \hline + \end{tblr} + + \vspace*{0.75cm} + + \noindent\begin{tblr}{% + width=\linewidth,colspec={XQ[7cm]},cells={font=\bfseries\sffamily}, + row{1}={m,j,1cm}, + row{2}={m,7cm}, + row{3}={m,j,1cm}, + row{4}={m,4cm}, + vline{1,Z}={solid}, + vline{2}={Z}{solid}, + stretch=1.25} + \hline + Appréciation globale & \\ \hline + ~ + \\ \hline + Questionnement complémentaire éventuel & \\ \hline + ~ + \\ \hline + {\underline{Note sur 20 :}\\ \\ \\} & {Visa de la commission \\ \\ \\} \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\textsf{\textbf{Ce document d’évaluation peut être communiqué à la personne candidate, à sa demande, après délibération du jury.}} + + \pagebreak + }% + {}% + \IfStrEq{\grtypeccf}{7-3}% + {% + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]},row{1}={l},row{2-3}={c},cells={font=\sffamily\bfseries}} + \hline + BTS SERVICES INFORMATIQUES AUX ORGANISATIONS\hfill{}SESSION {\grccfsioannee}\hspace*{1cm} \\ + ANNEXE 7-3 : Grille d’aide à l’évaluation de la situation 2 (recto) \\ + Épreuve E2 – Mathématiques pour l’informatique (CCF) \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]Q[3.5cm,m]},cells={font=\sffamily\bfseries},stretch=1.25} + \hline + NOM et prénom : \textmd{\grpoliceccf #2} & N° commission\textsuperscript{\scriptsize 3} : \\ + N° candidat : & \\ + \hline + \end{tblr} + + \vspace*{0.75cm} + + \noindent\begin{tblr}{% + hline{1}={solid},% + hline{3-Y}={solid}, + hline{Z}={2-Z}{solid}, + vline{1}={1-Y}{solid}, + vline{2}={3-Z}{solid}, + vline{Z}={solid}, + width=\linewidth,colspec={X[0.525]X[0.475]}, + cells={font=\sffamily}, + row{1}={m,j}, + row{2}={m,j,1.5cm}, + row{3-Z}={m,j,1cm},stretch=1.25} + \textbf{Identification du sujet proposé :} & \\ + \textmd{\grpoliceccf #4} & \\ + \SetCell{c}{\textbf{Compétences}} & \SetCell{c}{\textbf{Appréciation du niveau d’acquisition\textsuperscript{\scriptsize 4}}} \\ + Maîtrise des connaissances figurant au programme & \\ + Pertinence des sources d’information mobilisées & \\ + Adaptation de la stratégie choisie au problème à résoudre & \\ + Efficacité dans la mise en \oe{}uvre de cette stratégie & \\ + Rigueur et pertinence dans l’utilisation des savoir-faire figurant au programme de mathématiques & \\ + Cohérence de l’argumentation employée & \\ + Aptitude à analyser un résultat avec pertinence & \\ + Qualité d’expression écrite ou orale & \\ + & \SetCell{r}{\textbf{/\,20}} \\ + \end{tblr} + + \vspace*{5mm} + + \noindent\textsf{\textbf{\textit{Cette partie est à l’usage exclusif de la commission d’interrogation et ne peut être communiquée à la personne candidate.}}} + + \vfill + + \par\noindent\rule{0.33\linewidth}{0.4pt} + + \noindent\textsf{\textsuperscript{\footnotesize 3}{\footnotesize Indiquer le nom du professeur responsable de l’évaluation.}} + + \noindent\textsf{\textsuperscript{\footnotesize 4}{\footnotesize Le professeur peut utiliser toute forme d’annotation lui permettant d’évaluer par compétences.}} + + \vspace*{5mm} + + \pagebreak + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]},row{1}={l},row{2-3}={c},cells={font=\sffamily\bfseries}} + \hline + BTS SERVICES INFORMATIQUES AUX ORGANISATIONS\hfill{}SESSION {\grccfsioannee}\hspace*{1cm} \\ + ANNEXE 7-3 : Grille d’aide à l’évaluation de la situation 2 (verso) \\ + Épreuve E2 – Mathématiques pour l’informatique (CCF) \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\begin{tblr}{vlines,width=\linewidth,colspec={X[m]Q[6cm,m]},cells={font=\sffamily\bfseries},stretch=1.25} + \hline + NOM et prénom : \textmd{\grpoliceccf #2} & Date de l'interrogation : \\ + N° candidat : & \textmd{\grpoliceccf #3} \\ \hline + \end{tblr} + + \vspace*{0.75cm} + + \noindent\begin{tblr}{% + width=\linewidth,colspec={XQ[7cm]},cells={font=\bfseries\sffamily}, + row{1}={m,j,1cm}, + row{2}={m,7cm}, + row{3}={m,j,1cm}, + row{4}={m,4cm}, + vline{1,Z}={solid}, + vline{2}={Z}{solid}, + stretch=1.25} + \hline + Appréciation globale & \\ \hline + ~ + \\ \hline + Questionnement complémentaire éventuel & \\ \hline + ~ + \\ \hline + {\underline{Note sur 20 :}\\ \\ \\} & {Visa de la commission \\ \\ \\} \\ + \hline + \end{tblr} + + \vspace*{5mm} + + \noindent\textsf{\textbf{Ce document d’évaluation peut être communiqué à la personne candidate, à sa demande, après délibération du jury.}} + + \pagebreak + }% + {}% +} + \endinput \ No newline at end of file -- cgit v1.2.3