summaryrefslogtreecommitdiff
path: root/macros/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-26 03:03:59 +0000
committerNorbert Preining <norbert@preining.info>2024-03-26 03:03:59 +0000
commit904f56f2c26edc7eb11d5a27579bccbeca29c618 (patch)
tree8a4d6d2e163e93dd2c13a28db996b419aee856b4 /macros/latex
parent05f8146ef2eea2cd71b9c96583c6d893e6c76af5 (diff)
CTAN sync 202403260303
Diffstat (limited to 'macros/latex')
-rw-r--r--macros/latex/contrib/dashrulex/dashrulex.pdfbin58949 -> 58940 bytes
-rw-r--r--macros/latex/contrib/dashrulex/dashrulex.sty181
-rw-r--r--macros/latex/contrib/dashrulex/dashrulex.tex188
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdfbin1640551 -> 1662397 bytes
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex18
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pyluatex.tex427
-rw-r--r--macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pythontex.tex242
-rw-r--r--macros/latex/contrib/proflycee/tex/ProfLycee.sty16
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-arithm.tex15
-rw-r--r--macros/latex/contrib/proflycee/tex/proflycee-tools-competences.tex662
-rw-r--r--macros/latex/contrib/profmaquette/doc/Attention-1.pdfbin11044 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/Attention-2.pdfbin11099 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.pdfbin287008 -> 286837 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.tex1563
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestCAN.pdfbin20353 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestCAN.tex27
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestCANComplement.pdfbin21506 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestCANComplement.tex31
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestParcoursPerso.pdfbin17412 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/doc/TestParcoursPerso.tex31
-rw-r--r--macros/latex/contrib/profmaquette/doc/pg_0002-crop.pdfbin14470 -> 0 bytes
-rw-r--r--macros/latex/contrib/profmaquette/latex/ProfMaquette.sty142
22 files changed, 993 insertions, 2550 deletions
diff --git a/macros/latex/contrib/dashrulex/dashrulex.pdf b/macros/latex/contrib/dashrulex/dashrulex.pdf
index 5ed12594f6..376eb91c90 100644
--- a/macros/latex/contrib/dashrulex/dashrulex.pdf
+++ b/macros/latex/contrib/dashrulex/dashrulex.pdf
Binary files differ
diff --git a/macros/latex/contrib/dashrulex/dashrulex.sty b/macros/latex/contrib/dashrulex/dashrulex.sty
index 58c104c0e1..86d43d1478 100644
--- a/macros/latex/contrib/dashrulex/dashrulex.sty
+++ b/macros/latex/contrib/dashrulex/dashrulex.sty
@@ -1,92 +1,91 @@
-%
-% ***************** THE DASHRULEX PACKAGE *****************
-%
-% Copyright (C) 2024 by Qu Yi <toquyi@163.com>
-%
-% This work may be distributed and/or modified under the
-% conditions of the CC-BY 4.0 License.
-% The latest version of this license is in
-% https://creativecommons.org/licenses/by/4.0/legalcode
-\NeedsTeXFormat{LaTeX2e}[2012/02/12]
-\RequirePackage{xparse}
-\ProvidesExplPackage{dashrulex}{2024/03/18}{1.00b}
- {Draw dashed rules}
-\DeclareDocumentCommand{\hdashrule}{O{0pt}O{x}mmm}
- {
- \tl_if_blank:nTF {#5}
- { \rule[#1]{#3}{#4} }
- {
- \mbox{}
- \use:c { #2leaders }
- \hbox:n
- {
- \clist_map_inline:nn {#5}
- { \drx@parse@dash{#1}{#4}{##1} }
- }
- \skip_horizontal:n {#3}
- \mbox{}
- }
- }
-\NewDocumentCommand{\drx@parse@dash}
- {mm>{\SplitArgument{1}{|}}m}
- {\drx@parse@dash@inner{#1}{#2}#3}
-\cs_set_protected:Npn \drx@parse@dash@inner #1#2#3#4
- {
- \IfNoValueTF{#4}
- {\vrulemod[#1]{#3}{#2}\skip_horizontal:n {#3}}
- {\vrulemod[#1]{#3}{#2}\skip_horizontal:n {#4}}
- }
-\NewDocumentCommand{\hanyrule}{O{x}mm}
- {
- \mbox{}
- \use:c { #1leaders }
- \hbox:n { \clist_map_inline:nn {#3} {##1} }
- \skip_horizontal:n {#2}
- \mbox{}
- }
-
-\int_new:N \l__drx_vrule_counter_int
-\int_set:Nn \l__drx_vrule_counter_int { 1 }
-\dim_new:N \l__drx_vrule_height_dim
-\tl_new:N \l__drx_tmpa_tl
-\cs_new_protected:Npn \drx@step@counter@height #1
- {
- \int_incr:N \l__drx_vrule_counter_int
- \dim_add:Nn \l__drx_vrule_height_dim {#1}
- }
-\NewDocumentCommand{\vrulemod}{O{0pt}oomm}
- {
- \group_begin:
- \IfValueTF{#2}
- {
- \tl_set:Nn \l__drx_tmpa_tl { [#2] }
- \IfValueT{#3}{\tl_put_right:Nn \l__drx_tmpa_tl { [#3] }}
- }
- {\IfValueT{#3}{\tl_set:Nn \l__drx_tmpa_tl { [#3] }}}
- \exp_last_unbraced:Nnf
- \raisebox{#1}{\l__drx_tmpa_tl}
- {
- \clist_map_inline:nn {#5}
- {
- \int_compare:nNnTF { \l__drx_vrule_counter_int } > { 1 }
- {
- \int_if_even:nTF { \l__drx_vrule_counter_int }
- { \drx@step@counter@height{##1} }
- {
- \kern -#4
- \exp_args:NV
- \raisebox\l__drx_vrule_height_dim{\rule{#4}{##1}}
- \drx@step@counter@height{##1}
- }
- }
- {
- \rule{#4}{##1}
- \drx@step@counter@height{##1}
- }
- }
- }
- \group_end:
- }
-\endinput
-%
+%
+% ***************** THE DASHRULEX PACKAGE *****************
+%
+% Copyright (C) 2024 by Qu Yi <toquyi@163.com>
+%
+% This work may be distributed and/or modified under the
+% conditions of the CC-BY 4.0 License.
+% The latest version of this license is in
+% https://creativecommons.org/licenses/by/4.0/legalcode
+\NeedsTeXFormat{LaTeX2e}[2012/02/12]
+\RequirePackage{xparse}
+\ProvidesExplPackage{dashrulex}{2024/03/25}{1.00c}
+ {Draw dashed rules}
+\DeclareDocumentCommand{\hdashrule}{O{0pt}O{x}mmm}
+ {
+ \tl_if_blank:nTF {#5}
+ { \rule[#1]{#3}{#4} }
+ {
+ \mbox{}
+ \use:c { #2leaders }
+ \hbox:n
+ {
+ \clist_map_inline:nn {#5}
+ { \drx@parse@dash{#1}{#4}{##1} }
+ }
+ \skip_horizontal:n {#3}
+ \mbox{}
+ }
+ }
+\NewDocumentCommand{\drx@parse@dash}
+ {mm>{\SplitArgument{1}{|}}m}
+ {\drx@parse@dash@inner{#1}{#2}#3}
+\cs_set_protected:Npn \drx@parse@dash@inner #1#2#3#4
+ {
+ \IfNoValueTF{#4}
+ {\vrulemod[#1]{#3}{#2}\skip_horizontal:n {#3}}
+ {\vrulemod[#1]{#3}{#2}\skip_horizontal:n {#4}}
+ }
+\NewDocumentCommand{\hanyrule}{O{x}mm}
+ {
+ \mbox{}
+ \use:c { #1leaders }
+ \hbox:n { \clist_map_inline:nn {#3} {##1} }
+ \skip_horizontal:n {#2}
+ \mbox{}
+ }
+
+\int_new:N \l__drx_vrule_counter_int
+\int_set:Nn \l__drx_vrule_counter_int { 1 }
+\dim_new:N \l__drx_vrule_height_dim
+\tl_new:N \l__drx_tmpa_tl
+\cs_new_protected:Npn \drx@step@counter@height #1
+ {
+ \int_incr:N \l__drx_vrule_counter_int
+ \dim_add:Nn \l__drx_vrule_height_dim {#1}
+ }
+\NewDocumentCommand{\vrulemod}{O{0pt}oomm}
+ {
+ \group_begin:
+ \IfValueT{#2}
+ {
+ \tl_set:Nn \l__drx_tmpa_tl { [#2] }
+ \IfValueT{#3}{\tl_put_right:Nn \l__drx_tmpa_tl { [#3] }}
+ }
+ \exp_last_unbraced:Nnf
+ \raisebox{#1}{\l__drx_tmpa_tl}
+ {
+ \clist_map_inline:nn {#5}
+ {
+ \int_compare:nNnTF { \l__drx_vrule_counter_int } > { 1 }
+ {
+ \int_if_even:nTF { \l__drx_vrule_counter_int }
+ { \drx@step@counter@height{##1} }
+ {
+ \kern -#4
+ \exp_args:NV
+ \raisebox\l__drx_vrule_height_dim{\rule{#4}{##1}}
+ \drx@step@counter@height{##1}
+ }
+ }
+ {
+ \rule{#4}{##1}
+ \drx@step@counter@height{##1}
+ }
+ }
+ }
+ \group_end:
+ }
+\endinput
+%
% End of file `dashrulex.sty'. \ No newline at end of file
diff --git a/macros/latex/contrib/dashrulex/dashrulex.tex b/macros/latex/contrib/dashrulex/dashrulex.tex
index fdb4fd69fc..c7db9dd89c 100644
--- a/macros/latex/contrib/dashrulex/dashrulex.tex
+++ b/macros/latex/contrib/dashrulex/dashrulex.tex
@@ -1,95 +1,95 @@
-\documentclass[load-preamble+]{cnltx-doc}
-
-\usepackage{setspace,hologo,dashrulex,tikz}
-\usepackage[noto]{newtxmath}
-\setcnltx
- {
- package = dashrulex,
- title = the dashrulex package,
- version = v1.00b,
- date = 2024/03/18,
- authors = Qu Yi,
- info = Draw dashed rules,
- email = toquyi@163.com,
- abstract =
- {
- The \pkg*{dashrulex} package provides a flexible solution for drawing dashed rules in the body, and currently provides two commands \cs{hdashrule} and \cs{hanyrule}. It's written in \hologo{LaTeX3} and can be used as an alternative to the \pkg*{dashrule} package.
- },
- color-scheme = blue,
- title-format = \huge\bfseries\scshape,
- listings-options = {numbers = none,gobble = 2,lineskip = 1pt},
- pre-output = {\parindent = 0em\setstretch{1.3}},
- before-skip = \smallskipamount,
- after-skip = \smallskipamount
- }
-\makeatletter
-\newcommand{\splitmeta}[3][\code{,}]{\meta{#2}#1\meta{#3}}
-\newcommand{\newsplitarg}[4][\splitmeta]
- {
- \newcommand{#2}[2]
- {\code{\textcolor{argument}{#3\textnormal{#1{##1}{##2}}#4}}}
- }
-\newcommand{\kvsplit}[3]
- {
- \item\code{\option{#1}\cnltx@isvalue\splitmarg{#2}{#3}}
- \cnltx@checkdefault{\hfill\newline}
- }
-\newsplitarg{\splitoarg}{[}{]}
-\newsplitarg{\splitmarg}{\{}{\}}
-\newsplitarg{\splitdarg}{(}{)}
-\newnote{\newtag}[1][New]{\textcolor{red}{\ding{73}\ #1}}
-\renewcommand{\emph}[1]{\textcolor{red}{#1}}
-\renewcommand{\cnltx@write@lastname}{}
-\makeatother
-
-\begin{document}
-\section{Preface}
-Sometimes it is necessary to draw dashed rules when writing documents, such as guides in the table of contents and indexes, horizontal lines in headers and footers, and even adding horizontal lines after headings. Macro packages such as \pkg*{dashrule} and \pkg*{nccrules} are available to accomplish this. Considering that \pkg*{dashrule} has not been updated for a long time, \pkg*{dashrulex} rewrites it using \hologo{LaTeX3} syntax and enhances it a bit.
-
-\section{User commands}
-\begin{commands}
- \command{hdashrule}[\oarg{raise}\oarg{leader}\marg{width}\marg{thickness list}\marg{dash rules}]
- The command to draw horizontal dashed rules, based on the \cs{rule} command, and the same as the \cs{rule} command when the \meta{dash rules} are empty. \meta{raise} is the vertical offset of the rule. \meta{leader} is the alignment of the dashed line fill, which can be empty, \code{c}, or \code{x} (the default), corresponding to the \cs{leaders}, \cs{cleaders}, and \cs{xleaders} commands, respectively. \meta{width} is the length of the dotted line, which can be set to \cs{fill} when used to fill the remaining center of the current text line. \meta{thickness list} is a rule for the height of vertically oriented lines, separated by \textcolor{red}{commas} and written as \splitmeta{height 1}{height a}\code{,...}, where \meta{height 1} denotes the height of a solid line and \meta{height a} denotes the height of a blank space.\meta{dash rules} is expressed as \splitmeta[\code{|}]{length 1}{length a}\code{,}\splitmeta[\code{|}]{length 2}{length b}\code{,...}, where \meta{length 1} represents the length of the solid line and \meta{length a} represents the length of the blank space, such as \code{5pt|2pt,3pt}, if the blank space is empty, then it is equal to the solid line length.
- \begin{example}
- 1X\rule{2cm}{1pt}x \\
- 2X\hdashrule{2cm}{1pt}{}x \\
- 3X\hdashrule{2cm}{1pt}{1pt}x \\
- 4X\hdashrule{4cm}{1pt}{1pt}x \\
- 5X\hdashrule[0.5ex]{4cm}{1pt}{1pt}x \\
- 6X\hdashrule[0.5ex]{4cm}{1pt}{3mm}x \\
- 7X\hdashrule[0.5ex]{4cm}{1mm}{3mm}x \\
- 8X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt}x \\
- 9X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt,1mm|2pt}x \\
- 10X\hdashrule[0.5ex]{4cm}{2pt,1pt,1pt}{3mm|3pt,1mm|2pt}x
- \end{example}
- \command{vrulemod}[\oarg{raise}\oarg{height}\oarg{depth}\marg{width}\marg{thickness list}]
- The vertical component used to fill the dashed line. \meta{thickness list} is consistent with the \cs{hdashrule} command, \meta{width} represents the length of the component, and the three optional parameters are consistent with those of the \cs{raisebox} command.
- \command{hanyrule}[\oarg{leader}\marg{width}\marg{symbol list}]
- This command sets the length of the dotted rule and fills it with arbitrary symbols. \meta{symbol list} can be more than one symbol and they are separated by \textcolor{red}{commas}. Symbols are best packed in boxes of a certain length, as spacing between symbols is not provided.
- \begin{example}
- \newcommand{\dblelement}
- {%
- \tikz[color=blue]
- {
- \draw[line width=0.8mm](0mm,1.1mm)--(3mm,1.1mm);
- \draw[line width=0.3mm](0mm,0mm)--(3mm,0mm);
- }%
- }
- 1X\hanyrule[]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
- 2X\hanyrule[c]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
- 3X\hanyrule[x]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
- 4X\hanyrule[c]{5cm}{\makebox[8pt]{$\cdot$}}x \\
- 5X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$}}x \\
- 6X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$},\makebox[8pt]{$\circ$}}x \\
- 7X\hanyrule[x]{5cm}{\makebox[5mm]{\vrulemod{3mm}{2pt,1pt,1pt}}}x \\
- 8X\hanyrule[x]{5cm}{\makebox[5mm]{\dblelement}}x
- \end{example}
-\end{commands}
-
-\section{Known issues}
-Currently only horizontal dashed line drawing is supported, with future plans to support vertical dashed lines, and even box dashed borders and so on.
-
-\appendix
-\nocite{*}
-
+\documentclass[load-preamble+]{cnltx-doc}
+
+\usepackage{setspace,hologo,dashrulex,tikz}
+\usepackage[noto]{newtxmath}
+\setcnltx
+ {
+ package = dashrulex,
+ title = the dashrulex package,
+ version = v1.00c,
+ date = 2024/03/25,
+ authors = Qu Yi,
+ info = Draw dashed rules,
+ email = toquyi@163.com,
+ abstract =
+ {
+ The \pkg*{dashrulex} package provides a flexible solution for drawing dashed rules in the body, and currently provides two commands \cs{hdashrule} and \cs{hanyrule}. It's written in \hologo{LaTeX3} and can be used as an alternative to the \pkg*{dashrule} package.
+ },
+ color-scheme = blue,
+ title-format = \huge\bfseries\scshape,
+ listings-options = {numbers = none,gobble = 2,lineskip = 1pt},
+ pre-output = {\parindent = 0em\setstretch{1.3}},
+ before-skip = \smallskipamount,
+ after-skip = \smallskipamount
+ }
+\makeatletter
+\newcommand{\splitmeta}[3][\code{,}]{\meta{#2}#1\meta{#3}}
+\newcommand{\newsplitarg}[4][\splitmeta]
+ {
+ \newcommand{#2}[2]
+ {\code{\textcolor{argument}{#3\textnormal{#1{##1}{##2}}#4}}}
+ }
+\newcommand{\kvsplit}[3]
+ {
+ \item\code{\option{#1}\cnltx@isvalue\splitmarg{#2}{#3}}
+ \cnltx@checkdefault{\hfill\newline}
+ }
+\newsplitarg{\splitoarg}{[}{]}
+\newsplitarg{\splitmarg}{\{}{\}}
+\newsplitarg{\splitdarg}{(}{)}
+\newnote{\newtag}[1][New]{\textcolor{red}{\ding{73}\ #1}}
+\renewcommand{\emph}[1]{\textcolor{red}{#1}}
+\renewcommand{\cnltx@write@lastname}{}
+\makeatother
+
+\begin{document}
+\section{Preface}
+Sometimes it is necessary to draw dashed rules when writing documents, such as guides in the table of contents and indexes, horizontal lines in headers and footers, and even adding horizontal lines after headings. Macro packages such as \pkg*{dashrule} and \pkg*{nccrules} are available to accomplish this. Considering that \pkg*{dashrule} has not been updated for a long time, \pkg*{dashrulex} rewrites it using \hologo{LaTeX3} syntax and enhances it a bit.
+
+\section{User commands}
+\begin{commands}
+ \command{hdashrule}[\oarg{raise}\oarg{leader}\marg{width}\marg{thickness list}\marg{dash rules}]
+ The command to draw horizontal dashed rules, based on the \cs{rule} command, and the same as the \cs{rule} command when the \meta{dash rules} are empty. \meta{raise} is the vertical offset of the rule. \meta{leader} is the alignment of the dashed line fill, which can be empty, \code{c}, or \code{x} (the default), corresponding to the \cs{leaders}, \cs{cleaders}, and \cs{xleaders} commands, respectively. \meta{width} is the length of the dotted line, which can be set to \cs{fill} when used to fill the remaining center of the current text line. \meta{thickness list} is a rule for the height of vertically oriented lines, separated by \textcolor{red}{commas} and written as \splitmeta{height 1}{height a}\code{,...}, where \meta{height 1} denotes the height of a solid line and \meta{height a} denotes the height of a blank space.\meta{dash rules} is expressed as \splitmeta[\code{|}]{length 1}{length a}\code{,}\splitmeta[\code{|}]{length 2}{length b}\code{,...}, where \meta{length 1} represents the length of the solid line and \meta{length a} represents the length of the blank space, such as \code{5pt|2pt,3pt}, if the blank space is empty, then it is equal to the solid line length.
+ \begin{example}
+ 1X\rule{2cm}{1pt}x \\
+ 2X\hdashrule{2cm}{1pt}{}x \\
+ 3X\hdashrule{2cm}{1pt}{1pt}x \\
+ 4X\hdashrule{4cm}{1pt}{1pt}x \\
+ 5X\hdashrule[0.5ex]{4cm}{1pt}{1pt}x \\
+ 6X\hdashrule[0.5ex]{4cm}{1pt}{3mm}x \\
+ 7X\hdashrule[0.5ex]{4cm}{1mm}{3mm}x \\
+ 8X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt}x \\
+ 9X\hdashrule[0.5ex]{4cm}{1mm}{3mm|3pt,1mm|2pt}x \\
+ 10X\hdashrule[0.5ex]{4cm}{2pt,1pt,1pt}{3mm|3pt,1mm|2pt}x
+ \end{example}
+ \command{vrulemod}[\oarg{raise}\oarg{height}\oarg{depth}\marg{width}\marg{thickness list}]
+ The vertical component used to fill the dashed line. \meta{thickness list} is consistent with the \cs{hdashrule} command, \meta{width} represents the length of the component, and the three optional parameters are consistent with those of the \cs{raisebox} command.
+ \command{hanyrule}[\oarg{leader}\marg{width}\marg{symbol list}]
+ This command sets the length of the dotted rule and fills it with arbitrary symbols. \meta{symbol list} can be more than one symbol and they are separated by \textcolor{red}{commas}. Symbols are best packed in boxes of a certain length, as spacing between symbols is not provided.
+ \begin{example}
+ \newcommand{\dblvmod}
+ {%
+ \tikz[color=blue]
+ {
+ \draw[line width=0.8mm](0mm,1.1mm)--(3mm,1.1mm);
+ \draw[line width=0.3mm](0mm,0mm)--(3mm,0mm);
+ }%
+ }
+ 1X\hanyrule[]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
+ 2X\hanyrule[c]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
+ 3X\hanyrule[x]{5cm}{\makebox[8pt][l]{$\cdot$}}x \\
+ 4X\hanyrule[c]{5cm}{\makebox[8pt]{$\cdot$}}x \\
+ 5X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$}}x \\
+ 6X\hanyrule[x]{5cm}{\makebox[8pt]{$\cdot$},\makebox[8pt]{$\circ$}}x \\
+ 7X\hanyrule[x]{5cm}{\makebox[5mm]{\vrulemod{3mm}{2pt,1pt,1pt}}}x \\
+ 8X\hanyrule[x]{5cm}{\makebox[5mm]{\dblvmod}}x
+ \end{example}
+\end{commands}
+
+\section{Known issues}
+Currently only horizontal dashed line drawing is supported, with future plans to support vertical dashed lines, and even box dashed borders and so on.
+
+\appendix
+\nocite{*}
+
\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf b/macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf
index 6401533972..67411ded0e 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 55981358f1..d12abe48b8 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{3.03a}
-\def\PLdate{17 mars 2024}
+\def\PLversion{3.03b}
+\def\PLdate{25 mars 2024}
\usepackage{amsfonts}
\usepackage{ProfLycee}
\useproflyclib{piton,minted,pythontex,ecritures,espace}
@@ -260,6 +260,20 @@
\phantom{t}\par\vfill\par
\begin{PART}
\begin{center}
+ \Huge\MakeUppercase{Compétences en lycée}
+ \end{center}
+\end{PART}
+\par\vfill\par\phantom{t}
+
+\newpage
+
+\input{ProfLycee-doc-competences.tex}
+
+\newpage
+
+\phantom{t}\par\vfill\par
+\begin{PART}
+ \begin{center}
\Huge\MakeUppercase{Projets, en test}
\end{center}
\end{PART}
diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pyluatex.tex b/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pyluatex.tex
deleted file mode 100644
index 937fed22c1..0000000000
--- a/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pyluatex.tex
+++ /dev/null
@@ -1,427 +0,0 @@
-% !TeX TXS-program:compile = txs:///arara
-% arara: lualatex: {shell: yes, synctex: no, interaction: batchmode}
-% arara: lualatex: {shell: yes, synctex: no, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
-
-\documentclass[french,a4paper,10pt]{article}
-\def\PLver{3.02e}
-\usepackage[margin=1.5cm]{geometry}
-\usepackage{ProfLycee}
-\useproflyclib{piton}
-\usepackage[executable=python,ignoreerrors]{pyluatex}
-\usepackage{babel}
-\sisetup{locale=FR,output-decimal-marker={,},group-minimum-digits=4}
-\usepackage{codehigh}
-
-\begin{document}
-
-\part*{ProfLycee (\PLver), Piton et Pyluatex}
-
-\section{Code \og Piton \fg{}, indépendant de Pyluatex}
-
-\subsection{Préambule basique}
-
-{\small \begin{codehigh}
-\documentclass[french,a4paper,10pt]{article}
-\usepackage{ProfLycee}
-\useproflyclib{piton} % lua
-\end{codehigh}}
-
-\subsection{Exemples}
-
-{\small \begin{codehigh}
-%Sortie par défaut
-\begin{CodePiton}{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-\end{codehigh}}
-
-\begin{CodePiton}{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-
-{\small \begin{codehigh}
-%Sortie avec style Classique, Largeur=10cm
-\begin{CodePiton}[Largeur=10cm]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-\end{codehigh}}
-
-\begin{CodePiton}[Largeur=10cm]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-
-\pagebreak
-
-{\small \begin{codehigh}
-%Sortie avec Style=Moderne, Sans Titre, Largeur=10cm, centré
-\begin{CodePiton}[Style=Moderne,Largeur=10cm,BarreTitre=false,Alignement=center]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-\end{codehigh}}
-
-\begin{CodePiton}[Style=Moderne,Largeur=10cm,BarreTitre=false,Alignement=center]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-
-{\small \begin{codehigh}
-%Sortie avec Style=Classique, Largeur=0.5\linewidth, aligné à droite, sans Cadre, avec Filigrane
-\begin{CodePiton}%
- [Largeur=0.5\linewidth,Cadre=false,Alignement=flush right,Filigrane,Titre={Script}]{}
-#environnement piton avec numéros de ligne, pleine largeur, style moderne
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-\end{codehigh}}
-
-\begin{CodePiton}[Largeur=0.5\linewidth,Cadre=false,Alignement=flush right,Filigrane,Titre={Script}]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-
-{\small \begin{codehigh}
-%Sortie Moderne, Largeur=11cm, avec Filigrane, aligné à gauche, sans ligne
-\begin{CodePiton}[Style=Moderne,Largeur=11cm,Filigrane,Alignement=flush left,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-\end{codehigh}}
-
-\begin{CodePiton}[Style=Moderne,Largeur=11cm,Filigrane,Alignement=flush left,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePiton}
-
-\pagebreak
-
-\section{Console \og Piton \fg{}, dépendant de Pyluatex}
-
-\subsection{Préambule, avec le package pyluatex}
-
-{\small \begin{codehigh}
-\documentclass[french,a4paper,10pt]{article}
-\usepackage{ProfLycee}
-\useproflyclib{piton}
-\usepackage[executable=python]{pyluatex} % lua + shell-escape
-\end{codehigh}}
-
-\subsection{Commande}
-
-{\small \begin{codehigh}
-\begin{ConsolePiton}[Options piton]<Clés>{Options tcbox}
-...
-...
-\end{ConsolePiton}
-\end{codehigh}}
-
-\medskip
-
-Les clés, à placer entre \texttt{<...>}, sont :
-
-\begin{itemize}
- \item \textbf{\textsf{$\langle$Logo$\rangle$}} pour afficher un petit logo dans les \textit{titres} de la console REPL ; \hfill{}défaut : \textbf{\textsf{$\langle$true$\rangle$}}
- \item \textbf{\textsf{$\langle$Largeur$\rangle$}} pour spécifier la largeur de la console REPL ; \hfill{}défaut : \textbf{\textsf{$\langle$\textbackslash{}linewidth$\rangle$}}
- \item \textbf{\textsf{$\langle$Alignement$\rangle$}} pour spécifier l'alignement de la console REPL.\hfill{}défaut : \textbf{\textsf{$\langle$flush left$\rangle$}}
-\end{itemize}
-
-\subsection{Exemples}
-
-{\small \begin{codehigh}
-%Déclaration d'une fonction python + librairie random pour utilisation ultérieure
-\begin{python}
-from random import randint
-
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{python}
-\end{codehigh}}
-
-\begin{python}
-from random import randint
-
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{python}
-
-{\small \begin{codehigh}
-\begin{ConsolePiton}{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-\end{ConsolePiton}
-\end{codehigh}}
-
-\begin{ConsolePiton}{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-\end{ConsolePiton}
-
-\pagebreak
-
-{\small \begin{codehigh}
-\begin{ConsolePiton}<Largeur=11cm,Alignement=center,Logo=false>{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-liste = [randint(1,20) for i in range(10)]
-print(liste)
-print(max(liste), min(liste), sum(liste))
-\end{ConsolePiton}
-\end{codehigh}}
-
-\begin{ConsolePiton}<Largeur=11cm,Alignement=center,Logo=false>{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-liste = [randint(1,20) for i in range(10)]
-print(liste)
-print(max(liste), min(liste), sum(liste))
-\end{ConsolePiton}
-
-{\small \begin{codehigh}
-\begin{ConsolePiton}<Largeur=10cm,Alignement=center>{}
-[i**2 for i in range(50)]
-\end{ConsolePiton}
-\end{codehigh}}
-
-\begin{ConsolePiton}<Largeur=10cm,Alignement=center>{}
-[i**2 for i in range(50)]
-\end{ConsolePiton}
-
-\pagebreak
-
-\section{Présentation, et exécution, comme avec Thonny}
-
-\subsection{Préambule, avec le package pyluatex}
-
-{\small \begin{codehigh}
-\documentclass[french,a4paper,10pt]{article}
-\usepackage{ProfLycee}
-\useproflyclib{piton}
-\usepackage[executable=python]{pyluatex} % lua + shell-escape
-\end{codehigh}}
-
-\subsection{Commandes}
-
-{\small \begin{codehigh}
-\begin{PitonThonnyEditor}<clé>[options tcbox]{largeur}
-...
-\end{PitonThonnyEditor}
-\end{codehigh}}
-
-\medskip
-
-La clé, à placer entre \texttt{<...>}, est :
-
-\begin{itemize}
- \item la clé \textbf{\textsf{$\langle$Gobble$\rangle$}} pour spécifier des options liées au \textsf{gobble}, parmi \textbf{\textsf{$\langle$nb/auto$\rangle$}} ;
-
- \hfill{}à adapter en fonction des situations (!)
- \item la clé \textbf{\textsf{$\langle$NomFichier$\rangle$}} pour afficher le nom du fichier dans le cartouche \textit{éditeur}.
-
- \hfill{}défaut : \textbf{\textsf{$\langle$script.py$\rangle$}}
-\end{itemize}
-
-{\small \begin{codehigh}
-\begin{PitonThonnyConsole}<clés>[options tcbox]{largeur}
-...
-\end{PitonThonnyConsole}
-\end{codehigh}}
-
-\medskip
-
-Les clés, à placer entre \texttt{<...>}, sont :
-
-\begin{itemize}
- \item la clé \textbf{\textsf{$\langle$NomConsole$\rangle$}} pour afficher le nom de la \textit{console} ; \hfill{}défaut \textbf{\textsf{$\langle$console$\rangle$}}
- \item la clé \textbf{\textsf{$\langle$IntroConsole$\rangle$}} pour afficher le message d'accueil de la console.
-\end{itemize}
-
-\subsection{Exemples}
-
-{\small\begin{codehigh}
-\begin{python}
-from math import gcd
-
-def est_duffy(n) :
- nb_div, somme_div = 0, 0
- for i in range(1, n+1) :
- if n % i == 0 :
- nb_div += 1
- somme_div += i
- if gcd(somme_div, n) == 1 :
- return True
- else :
- return False
-
-\end{python}
-\end{codehigh}}
-
-{\small\begin{codehigh}
-\begin{PitonThonnyEditor}<NomFichier=tpcapytale.py>{12cm}
-#PROJET CAPYTALE
-from math import gcd
-
-def est_duffy(n) :
- nb_div = 0
- somme_div = 0
- for i in range(1, n+1) :
- if n % i == 0 :
- nb_div += 1
- somme_div += i
- if gcd(somme_div, n) == 1 :
- return True
- else :
- return False
-\end{PitonThonnyEditor}
-\end{codehigh}}
-
-\begin{PitonThonnyEditor}<NomFichier=tpcapytale.py>{12cm}
-#PROJET CAPYTALE
-from math import gcd
-
-def est_duffy(n) :
- nb_div = 0
- somme_div = 0
- for i in range(1, n+1) :
- if n % i == 0 :
- nb_div += 1
- somme_div += i
- if gcd(somme_div, n) == 1 :
- return True
- else :
- return False
-\end{PitonThonnyEditor}
-
-{\small\begin{codehigh}
-\begin{PitonThonnyConsole}<IntroConsole={python 3.8.10}>{12cm}
-#Run tpcapytale.py
-est_duffy(6)
-est_duffy(13)
-est_duffy(265)
-
-from random import randint
-nb = randint(1,100000)
-nb, est_duffy(nb)
-\end{PitonThonnyConsole}
-\end{codehigh}}
-
-\begin{python}
-from math import gcd
-
-def est_duffy(n) :
- nb_div, somme_div = 0, 0
- for i in range(1, n+1) :
- if n % i == 0 :
- nb_div += 1
- somme_div += i
- if gcd(somme_div, n) == 1 :
- return True
- else :
- return False
-
-\end{python}
-\begin{PitonThonnyConsole}<IntroConsole={python 3.8.10}>{12cm}
-#Run tpcapytale.py
-est_duffy(6)
-est_duffy(13)
-est_duffy(265)
-
-from random import randint
-nb = randint(1,100000)
-nb, est_duffy(nb)
-\end{PitonThonnyConsole}
-
-{\small\begin{codehigh}
-\begin{PitonThonnyConsole}{8cm}
-[i**2 for i in range(50)]
-\end{PitonThonnyConsole}
-\end{codehigh}}
-
-\begin{PitonThonnyConsole}{8cm}
-[i**2 for i in range(50)]
-\end{PitonThonnyConsole}
-
-\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pythontex.tex b/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pythontex.tex
deleted file mode 100644
index e418300cae..0000000000
--- a/macros/latex/contrib/proflycee/doc/ProfLycee-exemples-pythontex.tex
+++ /dev/null
@@ -1,242 +0,0 @@
-% !TeX TXS-program:compile = txs:///arara
-% arara: lualatex: {shell: no, synctex: yes, interaction: batchmode}
-% arara: pythontex: {rerun: always} if found('pytxcode', 'PYTHONTEX#py')
-% arara: lualatex: {shell: no, synctex: yes, interaction: batchmode} if found('pytxcode', 'PYTHONTEX#py')
-% arara: lualatex: {shell: no, synctex: yes, interaction: batchmode} if found('log', '(undefined references|Please rerun|Rerun to get)')
-
-\documentclass[french,a4paper,10pt]{article}
-\def\PLver{2.7.5}
-\usepackage[margin=1.5cm]{geometry}
-\usepackage{ProfLycee}
-\useproflyclib{pythontex}
-\usepackage{babel}
-\sisetup{locale=FR,output-decimal-marker={,},group-minimum-digits=4}
-\usepackage{codehigh}
-
-\begin{document}
-
-\part*{ProfLycee (\PLver), Pythontex}
-
-\section{Code \og Pythontex \fg{}}
-
-\subsection{Préambule basique}
-
-{\small \begin{codehigh}
-\documentclass[french,a4paper,10pt]{article}
-\usepackage{ProfLycee}
-\useproflyclib{pythontex} % compilation spécifique
-\end{codehigh}}
-
-\subsection{Exemples}
-
-{\small \begin{codehigh}
-%Sortie par défaut
-\begin{CodePythontex}{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontex}
-\end{codehigh}}
-
-\begin{CodePythontex}{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-
-#bla
-#bla
-#bla
-\end{CodePythontex}
-
-{\small \begin{codehigh}
-%Sortie avec Style=Classique, Largeur=10cm, centré
-\begin{CodePythontexAlt}[Largeur=10cm,Centre,PremLigne=10]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontexAlt}
-\end{codehigh}}
-
-\begin{CodePythontexAlt}[Largeur=10cm,Centre,PremLigne=10]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-
-#bla
-#bla
-#bla
-\end{CodePythontexAlt}
-
-\pagebreak
-
-{\small \begin{codehigh}
-%Sortie avec Style=Classique, Largeur=10cm
-\begin{CodePythontexAlt}[Largeur=10cm]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontexAlt}
-\end{codehigh}}
-
-\begin{CodePythontexAlt}[Largeur=10cm]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontexAlt}
-
-{\small \begin{codehigh}
-%Sortie avec Style=Classique, Largeur=0.5\linewidth, centré, sans numéro
-\begin{CodePythontexAlt}[Largeur=0.5\linewidth,Centre,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontexAlt}
-\end{codehigh}}
-
-\begin{CodePythontexAlt}[Largeur=0.5\linewidth,Centre,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontexAlt}
-
-{\small \begin{codehigh}
-%Sortie Moderne, Largeur=11cm, sans ligne
-\begin{CodePythontex}[Largeur=11cm,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontex}
-\end{codehigh}}
-
-\begin{CodePythontex}[Largeur=11cm,Lignes=false]{}
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-\end{CodePythontex}
-
-\pagebreak
-
-\section{Console \og Pythontex \fg{}}
-
-{\small \begin{codehigh}
-%Déclaration d'une fonction python + librairie random pour utilisation ultérieure
-\begin{pyconcode}
-from random import randint
-
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-
-\end{pyconcode}
-\end{codehigh}}
-
-\begin{pyconcode}
-from random import randint
-
-def valeur_absolue(x):
- "Renvoie la valeur absolue de x"
- #le petit test qui va bien
- if x > 0:
- return x
- else:
- return -x
-
-\end{pyconcode}
-
-{\small \begin{codehigh}
-\begin{ConsolePythontex}{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-\end{ConsolePythontex}
-\end{codehigh}}
-
-\begin{ConsolePythontex}{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-\end{ConsolePythontex}
-
-\pagebreak
-
-{\small \begin{codehigh}
-\begin{ConsolePythontex}[Largeur=12cm,Centre]{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-liste = [randint(1,20) for i in range(10)]
-print(liste)
-print(max(liste), min(liste), sum(liste))
-\end{ConsolePythontex}
-\end{codehigh}}
-
-\begin{ConsolePythontex}[Largeur=12cm,Centre]{}
-1+1
-2**10
-valeur_absolue(-3)
-valeur_absolue(0)
-valeur_absolue(5)
-print(f"La valeur absolue de 5 est {valeur_absolue(5)}")
-print(f"La valeur absolue de -4 est {valeur_absolue(-4)}")
-liste = [randint(1,20) for i in range(10)]
-print(liste)
-print(max(liste), min(liste), sum(liste))
-\end{ConsolePythontex}
-
-\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/proflycee/tex/ProfLycee.sty b/macros/latex/contrib/proflycee/tex/ProfLycee.sty
index f714774351..02c4a3a8f8 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}[2024/03/17 3.03a Aide pour l'utilisation de LaTeX en lycee]
+\ProvidesPackage{ProfLycee}[2024/03/25 3.03b Aide pour l'utilisation de LaTeX en lycee]
+% 3.03b Compétences Maths Lycées + \pflnum pour num+xint :-) + correction de bugs (div eucl)
% 3.03a Forme canonique + fonction homographique
% 3.02g Correction de bugs avec les arbres de probas
% 3.02f Ajout de petits schémas type pour la géométrie dans l'espace + conformité avec piton
@@ -188,6 +189,17 @@
{}%
}
+%%------patch num et xint
+\NewDocumentCommand\pflnum{ s O{} m }{%
+ \IfBooleanTF{#1}%
+ {%
+ \IfEq{#2}{}{\num{\xintfloateval{#3}}}{\num{\xintfloateval{round(#3,#2)}}}%
+ }%
+ {%
+ \num{\xintiieval{#3}}%
+ }%
+}
+
%%------Codes listings
\input{proflycee-tools-listings.tex}
%%------Trigo
@@ -212,5 +224,7 @@
\input{proflycee-tools-geom.tex}
%%------Récréations diverses
\input{proflycee-tools-recreat.tex}
+%%------Compétences
+\input{proflycee-tools-competences.tex}
\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-arithm.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-arithm.tex
index eccfd35733..f013ab3d07 100644
--- a/macros/latex/contrib/proflycee/tex/proflycee-tools-arithm.tex
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-arithm.tex
@@ -913,7 +913,7 @@
}%
}
-%====DIV EUCL (OK)
+%====DIV EUCL (OK), 2 versions, mises à jour ;-)
\setKVdefault[diveucl]{%
Quotient=true,%
Reste=true,%
@@ -928,9 +928,16 @@
\setKV[diveucl]{Quotient=false,Reste=false}%
}%
{}%
- \xdef\tmp@quotient{\xintiiQuo{#3}{#4}}\xdef\tmp@reste{\xintiiRem{#3}{#4}}%
- \ensuremath{\num{#3}=\num{#4}\times\ifboolKV[diveucl]{Quotient}{\xintifboolexpr{\tmp@quotient < 0}{(\num{\tmp@quotient})}{\num{\tmp@quotient}}}{\useKV[diveucl]{Pointilles}}+\ifboolKV[diveucl]{Reste}{\num{\tmp@reste}}{\useKV[diveucl]{Pointilles}}}%
- \IfBooleanT{#1}{~avec $0 \leqslant \num{\xintiiRem{#3}{#4}} < \xintifboolexpr{#4 < 0}{\lvert\num{#4}\rvert}{\num{#4}}$}%
+ \xdef\tmpAA{\xinteval{#3}}\xdef\tmpBB{\xinteval{#4}}%
+ \xdef\tmpQuotient{\xintiiQuo{\tmpAA}{\tmpBB}}\xdef\tmpReste{\xintiiRem{\tmpAA}{\tmpBB}}%
+ \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}}}$}%
+}
+
+\NewDocumentCommand\DivisionEucl{ m m }{%
+ \xdef\tmpAA{\xinteval{#1}}\xdef\tmpBB{\xinteval{#2}}%
+ \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}}}
}
%====ADDITIONS POSÉES ?
diff --git a/macros/latex/contrib/proflycee/tex/proflycee-tools-competences.tex b/macros/latex/contrib/proflycee/tex/proflycee-tools-competences.tex
new file mode 100644
index 0000000000..1fcbbf3a98
--- /dev/null
+++ b/macros/latex/contrib/proflycee/tex/proflycee-tools-competences.tex
@@ -0,0 +1,662 @@
+% proflycee-tools-competences.tex
+% Copyright 2024 Cédric Pierquet
+% Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
+
+%====COMPÉTENCES MATHS LYCÉE
+\setKVdefault[competencesmaths]{%
+ AffCateg=false,%
+ AffNumero=false,%
+ Court=false,%
+ Puce=false,%
+ TypePuce={\textbullet~~}
+}
+
+%les versions individuelles lycée
+\def\tmpcompetAA{Analyser un problème.}
+\def\tmpcompetAB{Extraire, organiser et traiter l’information utile.}
+\def\tmpcompetAC{Observer, s’engager dans une démarche, expérimenter en utilisant éventuellement des outils logiciels, chercher des exemples ou des contre-exemples, simplifier ou particulariser une situation, reformuler un problème, émettre une conjecture.}
+\def\tmpcompetACc{Observer, s’engager dans une démarche, expérimenter [\ldots].}
+\def\tmpcompetAD{Valider, corriger une démarche, ou en adopter une nouvelle.}
+
+\def\tmpcompetBA{Traduire en langage mathématique une situation réelle (à l’aide d’équations, de suites, de fonctions, de configurations géométriques, de graphes, de lois de probabilité, d’outils statistiques, \ldots).}
+\def\tmpcompetBAc{Traduire en langage mathématique une situation réelle adaptée [\ldots].}
+\def\tmpcompetBB{Utiliser, comprendre, élaborer une simulation numérique ou géométrique prenant appui sur la modélisation et utilisant un logiciel.}
+\def\tmpcompetBBc{Utiliser, comprendre, élaborer une simulation numérique ou géométrique [\ldots].}
+\def\tmpcompetBC{Valider ou invalider un modèle.}
+
+\def\tmpcompetCA{Choisir un cadre (numérique, algébrique, géométrique, \ldots) adapté pour traiter un problème ou pour représenter un objet mathématique.}
+\def\tmpcompetCAc{Choisir un cadre adapté [\ldots].}
+\def\tmpcompetCB{Passer d’un mode de représentation à un autre.}
+\def\tmpcompetCC{Changer de registre.}
+
+\def\tmpcompetDA{Effectuer un calcul automatisable à la main ou à l’aide d’un instrument (calculatrice, logiciel).}
+\def\tmpcompetDAc{Effectuer un calcul automatisable à la main ou à l’aide d’un instrument [\ldots].}
+\def\tmpcompetDB{Mettre en \oe{}uvre des algorithmes simples.}
+\def\tmpcompetDC{Exercer l’intelligence du calcul : organiser les différentes étapes d’un calcul complexe, choisir des transformations, effectuer des simplifications.}
+\def\tmpcompetDCc{Exercer l’intelligence du calcul [\ldots].}
+\def\tmpcompetDD{Contrôler les calculs (au moyen d’ordres de grandeur, de considérations de signe ou d’encadrement).}
+\def\tmpcompetDDc{Contrôler les calculs [\ldots].}
+
+\def\tmpcompetEA{Utiliser les notions de la logique élémentaire (conditions nécessaires ou suffisantes, équivalences, connecteurs) pour bâtir un raisonnement.}
+\def\tmpcompetEAc{Utiliser les notions de la logique élémentaire [\ldots].}
+\def\tmpcompetEB{Différencier le statut des énoncés mis en jeu : définition, propriété, théorème démontré, théorème admis\ldots}
+\def\tmpcompetEBc{Différencier le statut des énoncés mis en jeu [\ldots].}
+\def\tmpcompetEC{Utiliser différents types de raisonnement (par analyse et synthèse, par équivalence, par disjonction de cas, par l’absurde, par contraposée, par récurrence\ldots).}
+\def\tmpcompetECc{Utiliser différents types de raisonnement [\ldots].}
+\def\tmpcompetED{Effectuer des inférences (inductives, déductives) pour obtenir de nouveaux résultats, conduire une démonstration, confirmer ou infirmer une conjecture, prendre une décision.}
+\def\tmpcompetEDc{Effectuer des inférences pour obtenir de nouveaux résultats [\ldots].}
+
+\def\tmpcompetFA{Opérer la conversion entre le langage naturel et le langage symbolique formel.}%
+\def\tmpcompetFB{Développer une argumentation mathématique correcte à l’écrit ou à l’oral.}%
+\def\tmpcompetFC{Critiquer une démarche ou un résultat.}%
+\def\tmpcompetFD{S’exprimer avec clarté et précision à l’oral et à l’écrit.}%
+
+%commande principale lycée
+\NewDocumentCommand\CompMathsLyc{ s O{} m }{%
+ \restoreKV[competencesmaths]%
+ \setKV[competencesmaths]{#2}%
+ \IfBooleanTF{#1}{}{\noindent}%
+ \IfSubStr{#3}{/}%
+ {%
+ \StrCut{#3}{/}{\tmpCategCompet}{\tmpItemCompet}%
+ }%
+ {%
+ \xdef\tmpCategCompet{#3}%
+ }%
+ \IfStrEqCase{\tmpCategCompet}{%
+ {CH}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Analyser}{\tmpcompetAA}%
+ {Extraire}{\tmpcompetAB}%
+ {Observer}{\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetAC}}%
+ {Valider}{\tmpcompetAD}%
+ {A}{\tmpcompetAA}%
+ {E}{\tmpcompetAB}%
+ {O}{\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetAC}}%
+ {V}{\tmpcompetAD}%
+ {An}{\tmpcompetAA}%
+ {Ex}{\tmpcompetAB}%
+ {Ob}{\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetAC}}%
+ {Va}{\tmpcompetAD}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetAA}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetAB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ \ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetAC}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetAD}%
+ }%
+ }%
+ }%
+ {MO}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Traduire}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}%
+ {Utiliser}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}%
+ {Valider}{\tmpcompetBC}%
+ {T}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}%
+ {U}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}%
+ {V}{\tmpcompetBC}%
+ {Tr}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}%
+ {Ut}{\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}%
+ {Va}{\tmpcompetBC}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetBC}%
+ }%
+ }%
+ }%
+ {RE}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Cadre}{\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}%
+ {Passer}{\tmpcompetCB}%
+ {Registre}{\tmpcompetCC}%
+ {C}{\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}%
+ {P}{\tmpcompetCB}%
+ {R}{\tmpcompetCC}%
+ {Ca}{\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}%
+ {Pa}{\tmpcompetCB}%
+ {Re}{\tmpcompetCC}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetCB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetCC}%
+ }%
+ }%
+ }%
+ {CA}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Effectuer}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}%
+ {Mettre}{\tmpcompetDB}%
+ {Intellig}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}%
+ {Controler}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}%
+ {E}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}%
+ {M}{\tmpcompetDB}%
+ {I}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}%
+ {C}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}%
+ {Ef}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}%
+ {Me}{\tmpcompetDB}%
+ {In}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}%
+ {Co}{\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetDB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}%
+ }%
+ }%
+ }%
+ {RA}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Logique}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}%
+ {Differencier}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}%
+ {Raisonnement}{\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}%
+ {Inference}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}%
+ {L}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}%
+ {D}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}%
+ {R}{\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}%
+ {I}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}%
+ {Lo}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}%
+ {Di}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}%
+ {Ra}{\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}%
+ {In}{\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}%
+ }%
+ }%
+ }%
+ {CO}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Operer}{\tmpcompetFA}%
+ {Developper}{\tmpcompetFB}%
+ {Critiquer}{\tmpcompetFC}%
+ {Exprimer}{\tmpcompetFD}%
+ {O}{\tmpcompetFA}%
+ {D}{\tmpcompetFB}%
+ {C}{\tmpcompetFC}%
+ {E}{\tmpcompetFD}%
+ {Op}{\tmpcompetFA}%
+ {De}{\tmpcompetFB}%
+ {Cr}{\tmpcompetFC}%
+ {Ex}{\tmpcompetFD}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetFA}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetFB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetFC}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetFD}%
+ }%
+ }%
+ }%
+ }%
+ \IfStrEqCase{\tmpCategCompet}{%
+ {LYC11}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetAA}}%
+ {LYC12}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetAB}}%
+ {LYC13}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetAC}}}%
+ {LYC14}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetAD}}%
+ {LYC1}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\tmpcompetAA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetAB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetACc}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\tmpcompetAD}%
+ }%fin catégorie 1
+ {LYC21}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}}%
+ {LYC22}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}}%
+ {LYC23}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetBC}}%
+ {LYC2}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetBC}%
+ }%fin catégorie 2
+ {LYC31}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}}%
+ {LYC32}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetCB}}%
+ {LYC33}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetCC}}%
+ {LYC3}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetCB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetCC}%
+ }%fin catégorie 3
+ {LYC41}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}}%
+ {LYC42}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetDB}}%
+ {LYC43}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}}%
+ {LYC44}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}}%
+ {LYC4}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetDB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}%
+ }%fin catégorie 4
+ {LYC51}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}}%
+ {LYC52}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}}%
+ {LYC53}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}}%
+ {LYC54}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}}%
+ {LYC5}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}%
+ }%fin catégorie 5
+ {LYC61}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetFA}}%
+ {LYC62}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetFB}}%
+ {LYC63}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetFC}}%
+ {LYC64}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetFD}}%
+ {LYC6}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\tmpcompetFA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetFB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetFC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\tmpcompetFD}%
+ }
+ {LYC}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Chercher.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet11.~}}{}\tmpcompetAA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet12.~}}{}\tmpcompetAB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet13.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetACc}{\tmpcompetACc}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet14.~}}{}\tmpcompetAD}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Modéliser.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet21.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetBAc}{\tmpcompetBA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet22.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetBBc}{\tmpcompetBB}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet23.~}}{}\tmpcompetBC}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Représenter.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet31.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetCAc}{\tmpcompetCA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet32.~}}{}\tmpcompetCB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet33.~}}{}\tmpcompetCC}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Calculer.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet41.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDAc}{\tmpcompetDA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet42.~}}{}\tmpcompetDB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet43.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDCc}{\tmpcompetDC}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet44.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetDDc}{\tmpcompetDD}}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Raisonner.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet51.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEAc}{\tmpcompetEA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet52.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEBc}{\tmpcompetEB}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet53.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetECc}{\tmpcompetEC}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet54.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetEDc}{\tmpcompetED}}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet61.~}}{}\tmpcompetFA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet62.~}}{}\tmpcompetFB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet63.~}}{}\tmpcompetFC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet64.~}}{}\tmpcompetFD}%
+ }%
+ }%
+}
+
+%les versions individuelles lycée pro
+%S’approprier
+\def\tmpcompetproAA{Rechercher, extraire et organiser l’information.}
+\def\tmpcompetproAB{Traduire des informations, des codages.}
+%Analyser/Raisonner
+\def\tmpcompetproBA{Émettre des conjectures, formuler des hypothèses.}
+\def\tmpcompetproBB{Proposer une méthode de résolution.}
+\def\tmpcompetproBC{Choisir un modèle ou des lois pertinentes.}
+\def\tmpcompetproBD{Élaborer un algorithme.}
+\def\tmpcompetproBE{Choisir, élaborer un protocole.}
+\def\tmpcompetproBF{Évaluer des ordres de grandeur.}
+%Réaliser
+\def\tmpcompetproCA{Mettre en \oe{}uvre les étapes d’une démarche.}
+\def\tmpcompetproCB{Utiliser un modèle.}
+\def\tmpcompetproCC{Représenter (tableau, graphique, \ldots), changer de registre.}
+\def\tmpcompetproCD{Calculer (calcul littéral, calcul algébrique, calcul numérique exact ou approché, instrumenté ou à la main).}
+\def\tmpcompetproCDc{Calculer (calcul littéral, calcul algébrique, [\ldots]).}
+\def\tmpcompetproCE{Mettre en \oe{}uvre des algorithmes.}
+\def\tmpcompetproCF{Expérimenter – en particulier à l’aide d’outils numériques (logiciels ou des dispositifs d’acquisition de données\ldots).}
+\def\tmpcompetproCFc{Expérimenter – en particulier à l’aide d’outils numériques [\ldots].}
+\def\tmpcompetproCG{Faire une simulation.}
+\def\tmpcompetproCH{Effectuer des procédures courantes (représentations, collectes de données, utilisation du matériel, etc).}
+\def\tmpcompetproCHc{Effectuer des procédures courantes (représentations, [\ldots]).}
+\def\tmpcompetproCI{Mettre en \oe{}uvre un protocole expérimental en respectant les règles de sécurité à partir d’un schéma ou d’un descriptif.}
+\def\tmpcompetproCIc{Mettre en \oe{}uvre un protocole expérimental en respectant les règles de sécurité [\ldots].}
+\def\tmpcompetproCJ{Organiser son poste de travail.}
+%Valider
+\def\tmpcompetproDA{Exploiter et interpréter les résultats obtenus ou les observations effectuées afin de répondre à une problématique.}
+\def\tmpcompetproDAc{Exploiter et interpréter les résultats obtenus ou les observations effectuées [\ldots].}
+\def\tmpcompetproDB{Valider ou invalider un modèle, une hypothèse en argumentant.}
+\def\tmpcompetproDC{Contrôler la vraisemblance d’une conjecture.}
+\def\tmpcompetproDD{Critiquer un résultat (signe, ordre de grandeur, identification des sources d’erreur), argumenter.}
+\def\tmpcompetproDDc{Critiquer un résultat [\ldots], argumenter.}
+\def\tmpcompetproDE{Conduire un raisonnement logique et suivre des règles établies pour parvenir à une conclusion (démontrer, prouver).}
+\def\tmpcompetproDEc{Conduire un raisonnement logique et suivre des règles établies [\ldots].}
+%Communiquer
+\def\tmpcompetproEA{Rendre compte d’un résultat en utilisant un vocabulaire adapté et choisir des modes de représentation appropriés.}
+\def\tmpcompetproEAc{Rendre compte d’un résultat en utilisant un vocabulaire adapté [\ldots].}
+\def\tmpcompetproEB{Expliquer une démarche.}
+
+%commande principale lycée
+\NewDocumentCommand\CompMathsLycPro{ s O{} m }{%
+ \restoreKV[competencesmaths]%
+ \setKV[competencesmaths]{#2}%
+ \IfBooleanTF{#1}{}{\noindent}%
+ \IfSubStr{#3}{/}%
+ {%
+ \StrCut{#3}{/}{\tmpCategCompet}{\tmpItemCompet}%
+ }%
+ {%
+ \xdef\tmpCategCompet{#3}%
+ }%
+ \IfStrEqCase{\tmpCategCompet}{%
+ {AP}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{S'approprier.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Rechercher}{\tmpcompetproAA}%
+ {Traduire}{\tmpcompetproAB}%
+ {R}{\tmpcompetproAA}%
+ {T}{\tmpcompetproAB}%
+ {Re}{\tmpcompetproAA}%
+ {Tr}{\tmpcompetproAB}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproAA}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproAB}%
+ }%
+ }%
+ }%
+ {AR}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Emettre}{\tmpcompetproBA}%
+ {Proposer}{\tmpcompetproBB}%
+ {Modele}{\tmpcompetproBC}%
+ {Algorithme}{\tmpcompetproBD}%
+ {Choisir}{\tmpcompetproBE}%
+ {Grandeur}{\tmpcompetproBF}%
+ {E}{\tmpcompetproBA}%
+ {P}{\tmpcompetproBB}%
+ {M}{\tmpcompetproBC}%
+ {A}{\tmpcompetproBD}%
+ {C}{\tmpcompetproBE}%
+ {G}{\tmpcompetproBF}%
+ {Em}{\tmpcompetproBA}%
+ {Pr}{\tmpcompetproBB}%
+ {Mo}{\tmpcompetproBC}%
+ {Al}{\tmpcompetproBD}%
+ {Ch}{\tmpcompetproBE}%
+ {Gr}{\tmpcompetproBF}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBA}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBC}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBD}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBE}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproBF}%
+ }%
+ }%
+ }%
+ {RE}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Etapes}{\tmpcompetproCA}%
+ {Modele}{\tmpcompetproCB}%
+ {Representer}{\tmpcompetproCC}%
+ {Calculer}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}%
+ {Algorithmes}{\tmpcompetproCE}%
+ {Experimenter}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}%
+ {Simulation}{\tmpcompetproCG}%
+ {Effectuer}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}%
+ {Protocole}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}%
+ {Organiser}{\tmpcompetproCJ}%
+ {E}{\tmpcompetproCA}%
+ {M}{\tmpcompetproCB}%
+ {R}{\tmpcompetproCC}%
+ {C}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}%
+ {A}{\tmpcompetproCE}%
+ {Ex}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}%
+ {S}{\tmpcompetproCG}%
+ {Ef}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}%
+ {P}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}%
+ {O}{\tmpcompetproCJ}%
+ {Et}{\tmpcompetproCA}%
+ {Mo}{\tmpcompetproCB}%
+ {Re}{\tmpcompetproCC}%
+ {Ca}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}%
+ {Al}{\tmpcompetproCE}%
+ {Si}{\tmpcompetproCG}%
+ {Pr}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}%
+ {Or}{\tmpcompetproCJ}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCA}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCC}%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCE}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCG}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproCJ}%
+ }%
+ }%
+ }%
+ {VA}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Exploiter}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}%
+ {Valider}{\tmpcompetproDB}%
+ {Controler}{\tmpcompetproDC}%
+ {Critiquer}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDDc}{\tmpcompetproDD}}%
+ {Raisonnement}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}%
+ {Ex}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}%
+ {Va}{\tmpcompetproDB}%
+ {Co}{\tmpcompetproDC}%
+ {Cr}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDDc}{\tmpcompetproDD}}%
+ {Ra}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}%
+ {E}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}%
+ {V}{\tmpcompetproDB}%
+ {R}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproDB}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproDC}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproDDc}{\tmpcompetproDD}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}%
+ }%
+ }%
+ }%
+ {CO}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}%
+ \IfStrEqCase{\tmpItemCompet}{%
+ {Rendre}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}%
+ {Expliquer}{\tmpcompetproEB}%
+ {R}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}%
+ {E}{\tmpcompetproEB}%
+ {Re}{\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}%
+ {Ex}{\tmpcompetproEB}%
+ {Tout}{%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}\\%
+ \ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}%
+ {\tmpcompetproEB}%
+ }%
+ }%
+ }%
+ }%
+ \IfStrEqCase{\tmpCategCompet}{%
+ {LYC11}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{S’approprier.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproAA}}%
+ {LYC12}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{S’approprier.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproAB}}%
+ {LYC1}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{S’approprier.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\tmpcompetproAA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetproAB}%
+ }%fin catégorie 1
+ {LYC21}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBA}}%
+ {LYC22}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBB}}%
+ {LYC23}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBC}}%
+ {LYC24}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBD}}%
+ {LYC25}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBE}}%
+ {LYC26}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproBF}}%
+ {LYC2}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\tmpcompetproBA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetproBB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetproBC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\tmpcompetproBD}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet5.~}}{}\tmpcompetproBE}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet6.~}}{}\tmpcompetproBF}%
+ }%fin catégorie 2
+ {LYC31}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCA}}%
+ {LYC32}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCB}}%
+ {LYC33}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCC}}%
+ {LYC34}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}}%
+ {LYC35}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCE}}%
+ {LYC36}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}}%
+ {LYC37}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCG}}%
+ {LYC38}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}}%
+ {LYC39}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}}%
+ {LYC3A}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproCJ}}%
+ {LYC3}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\tmpcompetproCA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetproCB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetproCC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet5.~}}{}\tmpcompetproCE}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet6.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet7.~}}{}\tmpcompetproCG}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet8.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet9.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet{}A.~}}{}\tmpcompetproCJ}%
+ }%fin catégorie 3
+ {LYC41}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}}%
+ {LYC42}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproDB}}%
+ {LYC43}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproDC}}%
+ {LYC44}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproDD}}%
+ {LYC45}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}}%
+ {LYC4}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetproDB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3.~}}{}\tmpcompetproDC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet4.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDDc}{\tmpcompetproDD}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet5.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}%
+ }%fin catégorie 4
+ {LYC51}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}}%
+ {LYC52}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet.~}}{}%
+ {\tmpcompetproEB}}%
+ {LYC5}{\ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet1.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet2.~}}{}\tmpcompetproEB}}%
+ {LYC}{%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{S’approprier.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet11.~}}{}\tmpcompetproAA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet12.~}}{}\tmpcompetproAB}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Analyser/Raisonner.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet21.~}}{}\tmpcompetproBA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet22.~}}{}\tmpcompetproBB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet23.~}}{}\tmpcompetproBC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet24.~}}{}\tmpcompetproBD}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet25.~}}{}\tmpcompetproBE}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet26.~}}{}\tmpcompetproBF}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Réaliser.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet31.~}}{}\tmpcompetproCA}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet32.~}}{}\tmpcompetproCB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet33.~}}{}\tmpcompetproCC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet34.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCDc}{\tmpcompetproCD}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet35.~}}{}\tmpcompetproCE}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet36.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCFc}{\tmpcompetproCF}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet37.~}}{}\tmpcompetproCG}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet38.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCHc}{\tmpcompetproCH}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet39.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproCIc}{\tmpcompetproCI}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet3A.~}}{}\tmpcompetproCJ}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Valider.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet41.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDAc}{\tmpcompetproDA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet42.~}}{}\tmpcompetproDB}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet43.~}}{}\tmpcompetproDC}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet44.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDDc}{\tmpcompetproDD}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet45.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproDEc}{\tmpcompetproDE}}\\%
+ \ifboolKV[competencesmaths]{AffCateg}{\textbf{Communiquer.~\\}}{}%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet61.~}}{}\ifboolKV[competencesmaths]{Court}{\tmpcompetproEAc}{\tmpcompetproEA}}\\%
+ {\ifboolKV[competencesmaths]{Puce}{\useKV[competencesmaths]{TypePuce}}{}\ifboolKV[competencesmaths]{AffNumero}{\textbf{\tmpCategCompet62.~}}{}\tmpcompetproEB}%
+ }%
+ }%
+}
+
+\endinput \ No newline at end of file
diff --git a/macros/latex/contrib/profmaquette/doc/Attention-1.pdf b/macros/latex/contrib/profmaquette/doc/Attention-1.pdf
deleted file mode 100644
index 610035bec8..0000000000
--- a/macros/latex/contrib/profmaquette/doc/Attention-1.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/Attention-2.pdf b/macros/latex/contrib/profmaquette/doc/Attention-2.pdf
deleted file mode 100644
index 731646c80f..0000000000
--- a/macros/latex/contrib/profmaquette/doc/Attention-2.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.pdf b/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.pdf
index dc34cdefa9..a4382edbdf 100644
--- a/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.pdf
+++ b/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.tex b/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.tex
deleted file mode 100644
index 2c53d9fd8c..0000000000
--- a/macros/latex/contrib/profmaquette/doc/ProfMaquette-doc.tex
+++ /dev/null
@@ -1,1563 +0,0 @@
-% with lualatex
-\documentclass[12pt,french]{article}
-\usepackage[nonamssymb]{ProfCollege}
-\usepackage{ProfMaquetteT}
-\usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
-\usepackage[math-style=french]{fourier-otf}
-
-% \newfontfamily\myfontDys{FiraMath-Regular.otf}
-%\newfontfamily\myfontDys{Lato}
-%\newfontfamily\myfontMathDys{LatoMath}
-
-\newfontfamily\myfontDys{KpSans.otf}
-\setmathfont[version=kp]{KpMath-Sans.otf}
-
-\usepackage[a4paper,margin=1.5cm,nohead,includefoot]{geometry}
-\setlength{\parindent}{0pt}
-\pagestyle{empty}
-\usepackage{mflogo}
-
-\usepackage{graphicx}
-
-\usepackage{babel}
-
-\def\MPclipOne#1#2#3{
- \begin{mplibcode}
- vardef paired (expr d) =
- if pair d : d else : (d,d) fi
- enddef ;
-
- primarydef p xyscaled q =
- begingroup ; save qq ; pair qq ; qq = paired(q) ;
- ( p
- if xpart qq<>0 : xscaled (xpart qq) fi
- if ypart qq<>0 : yscaled (ypart qq) fi )
- endgroup
- enddef ;
-
- path fullsquare;
- fullsquare := unitsquare shifted - center unitsquare ;
-
- color myyellow;
- myyellow = (242/255,226/255,149/255);
-
- path p; p := fullsquare xyscaled (#1,#2);% squeezed #3;
-
- %fill (point(0) of p)--(point(1) of p)--(point(2) of p)--(point(3) of p)--cycle;
- pair pp;
- pp=0.5[point(0) of p,point(2) of p];
- height=2pt;
- width=2pt;
- p:=(point(0) of p)--(point(1) of p)--(point(2) of p);
-
- p:=(1/3[point(0) of p,point(1) of p])--(point(1) of p)--(2/3[point(1) of p,point(2) of p]);% withpen pencircle scaled 2bp;
- z1=point(0) of p;
- x2=x12=xpart(point(length p/6) of p);
- x3=x11=xpart(point(2*length p/6) of p);
- x4=xpart(point(3*length p/6) of p)+width;
- x5=x4-(width/3);
- x6=x4-(2*width/3);
- x7=xpart(point(length p) of p);
- x8=x7-(width/3);
- x9=x7-(2*width/3);
- x10=x7-width;
- y2=ypart(point(length p/6) of p)-(height/3);
- y3=ypart(point(2*length p/6) of p)-(2*height/3);
- y4=ypart(point(3*length p/6) of p)-height;
- y12=ypart(point(length p/6) of p)+(height/3);
- y11=ypart(point(2*length p/6) of p)+(2*height/3);
- y10=ypart(point(3*length p/6) of p)+height;
- y5=y9=ypart(point(4*length p/6) of p);
- y6=y8=ypart(point(5*length p/6) of p);
- y7=ypart(point(length p) of p);
- fill z1--z2--cycle--z3--z4--z5--z6--z7--z8--z9--z10--z11--z12--cycle;% withcolor 0.85myyellow;
- fill (z1--z2--cycle--z3--z4--z5--z6--z7--z8--z9--z10--z11--z12--cycle) rotatedabout(pp,180);% withcolor 0.85myyellow;
- \end{mplibcode}
-}
-
-\newsavebox{\tacochapterbox}
-
-\newcommand{\Tacoo}[1]{%
- \begin{lrbox}{\tacochapterbox}
- #1%
- \end{lrbox}
- \ooalign{%
- \MPclipOne{\mpdim{\wd\tacochapterbox+1pc}}% width
- {\mpdim{\ht\tacochapterbox+\dp\tacochapterbox+1pc}}% height
- {0pt}% thickness of the curve
- \cr\kern0.5pc\raisebox{\ht\tacochapterbox\relax}{\usebox\tacochapterbox}%
- }
-}
-
-\NewDocumentEnvironment{CadreMP}{+b}{%
- \begin{lrbox}{\tacochapterbox}%
- \begin{minipage}{0.96\linewidth}
- #1%
- \end{minipage}
- \end{lrbox}%
- \ooalign{%
- \MPclipOne{\mpdim{\wd\tacochapterbox+1pc}}% width
- {\mpdim{\ht\tacochapterbox+\dp\tacochapterbox+1pc}}% height
- {0pt}% thickness of the curve
- \cr\kern0.5pc\raisebox{\ht\tacochapterbox\relax}{\usebox\tacochapterbox}%
- }%
-}{}%
-
-\usepackage{pdfpages}
-\title{%
- \begin{tabular}{c}
- \ttfamily ProfMaquette.sty\\
- \small Factoriser la production de documents
- \end{tabular}
-}%
-\author{C.Poulain}
-\date{v \PfMfileversion -- \PfMfiledate}
-
-\usepackage[colorlinks=true,linkcolor=purple]{hyperref}
-
-\pagestyle{empty}
-
-\usepackage{listings}
-\lstset{
- language = [LaTeX]TeX,
- basicstyle = \ttfamily,%
- breaklines = true,
- commentstyle = \footnotesize\slshape\color{gray},
- emphstyle=\color{purple},
- columns=fullflexible,%
- frame=tb,%
- texcsstyle=*\color{black},%pour colorer la contre-oblique
- classoffset=5,
- texcsstyle=*\color{blue},%pour colorer la contre-oblique
- moretexcs={brm,TikzDM,TikzDMCor,TikzDS,TikzDSCor,TikzIE,TikzIECor,TikzFiche,TikzFicheCor,TikzCours,Competences,TikzParcours,TikzParcoursCor,TikzPdT,TikzPdTCor,PfMCompNA,PfMCompECA,PfMCompA,AfficheParcours,CheminVrai,CheminFaux,TikzContrat,TikzContratCor,TikzFdR,TikzFdRCor,AfficheContrat,AfficheFdR,TikzCAN,TikzCANCor,Complement,PfMTexteEncart,PfMEspaceAvantLignes,PfMEspaceApresLignes,cacheitem},
- emph={Maquette,exercice,Solution,Reponse,Indice},%
- classoffset=1,
- keywords={DM,DS,IE,Fiche,CorrigeFin,CorrigeApres,PdT,Parcours,ParcoursPerso,Cours,FdR,Contrat,CAN,Dys,Taille,VersSolution},
- keywordstyle=\color{OliveDrab},
- classoffset=2,
- keywords={Theme,Niveau,Classe,Date,Calculatrice,Code,Numero,Sujet,Nom,NumSujet,Fichier,Type,CoefQ,CoefR,CoefJ},
- keywordstyle=\color{BlueViolet},%DarkMagenta},
- classoffset=3,
- keywords={Pouce,Direct,PasCorrige,BaremeDetaille,BaremeTotal,Source,Titre,Oral,Calculatrice,Competence,Trajet,Confiance,Route,Stop,Lignes,Encart,TitreSolution,NonUtilise,Profile},
- keywordstyle=\color{DarkGreen},
- classoffset=4,
- keywords={userfiche,userfichecor,userdm,userdmcor,userie,useriecor,userds,userdscor,userparcours,userparcourscor,userpdt,userpdtcor,usercours,usercontrat,usercontratcor,userfdr,userfdrcor,usercan,usercancor},
- keywordstyle=\color{Purple},
-% delim = **[s][\color{purple}]{$}{$},
-% moredelim = **[s][\color{purple}]{\\[}{\\]},
-% moredelim = **[is][\color{black}]{\\Z}{\\Z},
- literate=*{[}{{\textcolor{orange}{[}}}{1}
- {]}{{\textcolor{orange}{]}}}{1}
- {\{}{\textcolor{amber}{\{}}{1}
- {\}}{\textcolor{amber}{\}}}{1}
- {\&}{\textcolor{red}{\&}}{1}
- {\\[}{{\textcolor{purple}{\textbackslash[}}}{2}
- {\\]}{{\textcolor{purple}{\textbackslash]}}}{2}
- {$}{{\textcolor{purple}{\$}}}{1}%$
- {_}{{\textcolor{purple}{\_}}}{1}%
- {^}{{\textcolor{purple}{\^{}}}}{1}%,
-}
-
-% "Rehook" delimiters char table.
-\makeatletter
-\lst@AddToHook{SelectCharTable}{\lst@DefDelims}
-\makeatother
-
-\usepackage{textcomp}%pour les < de listings
-\usepackage{enumitem}
-\usepackage{hhline}
-\usepackage{pifont}
-
-\definecolor{mygray}{RGB}{245,245,245}%pour le background de listing
-\definecolor{drab}{rgb}{0.59, 0.44, 0.09}
-\definecolor{amber}{rgb}{1.0, 0.75, 0.0}
-\definecolor{chocolate}{rgb}{0.82, 0.41, 0.12}
-\colorlet{amber}{chocolate}
-
-\newtcblisting{Codes}[3][]{%
- top=0mm,bottom=0mm,left=2mm,right=2mm,middle=0mm,%
- colback=white,%
- colframe=white!75!black,%
- every listing line={#3},%
- listing options={%
- frame=,%
- backgroundcolor=,%
- },%
- righthand width=#2\linewidth,%
- #1%
-}%
-
-\usepackage{menukeys}
-\newcommand\metamk[1]{\textcolor{chocolate}{\textlangle}{\ttfamily #1}\textcolor{chocolate}{\textrangle}}
-
-\newcommand\Cle[1]{%
- {\sffamily\textlangle #1\textrangle}%
-}%
-
-\newcommand\Defaut[1]{%
-\hfill valeur par défaut : {\sffamily #1}%\\[-1em]%
-}%
-
-\usepackage{parskip}
-
-\newenvironment{Description}
- {\list{}{\labelwidth0pt \leftmargin0pt \itemindent-\leftmargin
- \let\makelabel\Descriptionlabel}}
- {\endlist}
-\newcommand*\Descriptionlabel[1]{\hspace\labelsep
- \normalfont\bfseries #1}
-
-\parindent0pt
-
-\newcommand\TIKZ{Ti\textit{k}Z}
-
-\renewcommand\TikzDM{%
- \begin{tcolorbox}[frame hidden,colback=white,enhanced,%
- borderline north={3pt}{0pt}{gray!85},
- borderline north={2pt}{0.5pt}{gray!15},
- borderline south={3pt}{0pt}{gray!85},
- borderline south={2pt}{0.5pt}{gray!15},
- ]%
- \sffamily Devoir en temps libre \no\useKV[DM]{Numero}\hfill\useKV[DM]{Niveau}\ieme{} \useKV[DM]{Classe}%
- \par{\tiny\jobname}\hfill{\scriptsize Pour le \useKV[DM]{Date}}%
- \end{tcolorbox}%
-}
-\renewcommand\TikzDS{%
- \begin{tcolorbox}[colback=gray!5,%
- enhanced,%
- overlay unbroken and first={%
- \node[yshift=1em] at (frame.south) {\scriptsize\sffamily-- Calculatrice \ifboolKV[DS]{Calculatrice}{autorisée}{interdite} --};
- }
- ]%
- \sffamily Devoir surveillé \no\useKV[DS]{Numero} (Sujet \useKV[DS]{Sujet})\hfill\useKV[DS]{Niveau}\ieme{} \useKV[DS]{Classe}
- \par{\tiny\jobname}\hfill{\scriptsize\useKV[DS]{Date}}
- \end{tcolorbox}%
-}
-\renewcommand\TikzIE{%
- \begin{minipage}{0.6\linewidth}
- \begin{tcolorbox}[colback=gray!5,
- enhanced,%
- overlay unbroken and first={%
- \node[yshift=1em] at (frame.south) {\scriptsize\sffamily-- Calculatrice \ifboolKV[IE]{Calculatrice}{autorisée}{interdite} --};
- }
- ]%
- \sffamily \useKV[IE]{Nom} \no\useKV[IE]{Numero} : \useKV[IE]{Theme} \ifboolKV[IE]{Sujets}{\scriptsize(Sujet \useKV[IE]{NumSujet})}{}
- \vspace{1em}
- \par{\tiny\jobname}\hfill{\scriptsize\useKV[IE]{Date}}
- \end{tcolorbox}%
- \end{minipage}\hfill\begin{minipage}{0.35\linewidth}
- Nom : \dotfill\\[0.5em]
- Prénom : \dotfill\\[0.5em]
- Classe : \dotfill
- \end{minipage}
- \par\bigskip
-}
-
-\tcbset{%
- userfiche/.style={%
- colback=gray!5%
- }%
-}%
-
-\renewcommand\TikzFiche{%
- \begin{tcolorbox}[userfiche]%
- \Large\sffamily \useKV[Fiche]{Theme}\hfill\useKV[Fiche]{Niveau}\ieme{} \useKV[Fiche]{Classe}
- \par{\tiny\jobname}\hfill{\scriptsize\useKV[Fiche]{Date}}
- \end{tcolorbox}%
-}
-
-\renewcommand\TikzParcours{%
- \begin{tcolorbox}[%spread outwards=-1cm,spread inwards=-1cm,
- colback=gray!5]%
- \Large\sffamily \useKV[Parcours]{Theme}\hfill\useKV[Parcours]{Niveau} \useKV[Parcours]{Classe}%
- \par{\tiny\useKV[Parcours]{Code}}\hfill{\scriptsize\useKV[Parcours]{Date}}%
- \end{tcolorbox}%
-}
-
-\renewcommand\TikzPdT{%
- \begin{tcolorbox}[%spread outwards=-1cm,spread inwards=-1cm,
- colback=gray!5]%
- \Large\sffamily \useKV[PdT]{Theme}\hfill\useKV[PdT]{Niveau} \useKV[PdT]{Classe}%
- \par{\tiny\useKV[PdT]{Code}}\hfill{\scriptsize\useKV[PdT]{Date}}%
- \end{tcolorbox}%
-}
-
-\renewcommand\TikzFdR{%
- \begin{tcolorbox}[%spread outwards=-1cm,spread inwards=-1cm,
- colback=gray!5]%
- \Large\sffamily \useKV[FdR]{Theme}\hfill\useKV[FdR]{Niveau} \useKV[FdR]{Classe}%
- \par{\tiny\useKV[FdR]{Code}}\hfill{\scriptsize\useKV[FdR]{Date}}%
- \end{tcolorbox}%
-}
-
-\renewcommand\TikzContrat{%
- \begin{tcolorbox}[%spread outwards=-1cm,spread inwards=-1cm,
- colback=gray!5]%
- \Large\sffamily \useKV[Contrat]{Theme}\hfill\useKV[Contrat]{Niveau} \useKV[Contrat]{Classe}%
- \par{\tiny\useKV[Contrat]{Code}}\hfill{\scriptsize\useKV[Contrat]{Date}}%
- \end{tcolorbox}%
-}
-
-\tcbset{%
- tikzRemarque/.style={%
- before skip=1em,
- enhanced,
- breakable,
- colback=Crimson!15,
- colframe=Crimson!50,
- underlay unbroken and first={%
- \node[%
- name=A,
- ] at (frame.west){\reflectbox{\includegraphics[scale=0.25]{Attention-1}}};
- %%
- \node[%
- name=B,
- ] at (frame.east){\includegraphics[scale=0.25]{Attention-1}};
- %%
- }
- }
-}
-\begin{document}
-\maketitle
-\thispagestyle{empty}
-Après la création du package \lstinline!ProfCollege!, l'idée de poursuivre la factorisation des méthodes de travail a naturellement germé. Produire des fiches, des devoirs, des évaluations\dots{} avec des méthodes différentes, peut vite apparaître fastidieux. Créé pour factoriser ce travail, cet ensemble de macro-commandes est basé, quasi exclusivement, sur les environnements \lstinline!Maquette! et \lstinline!exercice! :
-\begin{itemize}
-\item l'environnement \lstinline!Maquette! indique le type de document souhaité et ses caractéristiques;
-\item l'environnement \lstinline!exercice! adapte la présentation et les fonctions des exercices en accord avec l'environnement \lstinline!Maquette! choisi.
-\end{itemize}
-Le c\oe ur de l'utilisation du package \lstinline!ProfMaquette! est donc une gestion des briques élémentaires du travail d'enseignant, à savoir les exercices.
-\bigskip
-\begin{tcolorbox}[tikzRemarque]
- Conformément aux usages, il est {\em impératif}, pour le bon fonctionnement de ce package, de nommer les fichiers sources sans espaces, sans caractères spéciaux.
-\end{tcolorbox}
-\clearpage
-\section*{L'environnement \lstinline!Maquette!}
-\begin{Codes}[listing only,listing options={frame=,escapechar=!}]{0.4}{}
-\begin{Maquette}[!\\
- \metamk{TypeDocument}!,!\\
- \metamk{Adaptation}!,!\\
- \metamk{TypeCorrection}!,!\\
- \metamk{Autres}!
- ]{!\metamk{Caracteristiques}!}
-\end{Maquette}
-\end{Codes}
-C'est cet environnement qui gère le format général du document :
-\begin{itemize}
-\item \metamk{TypeDocument} indique le type de document souhaité (Devoir Maison / Devoir Surveillé / Interrogation écrite / Fiche d'exercices / Parcours d'exercices / Parcours personnalisé / Plan de travail / Cours / Contrat de confiance / Feuille de route / CAN (Course aux nombres)) ;
-\item \metamk{Adaptation} indique si on doit adapter ce document aux élèves à profils particuliers;
-\item \metamk{TypeCorrection} indique si ce document est corrigé (à la suite d'un exercice ou à la fin du document) ou pas;
-\item \metamk{Autres} modifiera certains paramètres des corrigés;
-\end{itemize}
-et
-\begin{itemize}
-\item \metamk{Caracteristiques} indique les caractéristiques du document souhaité.
-\end{itemize}
-\clearpage
-\subsection*{Les devoirs maison}
-\begin{CadreMP}
- \begin{Description}
-\item[] La clé \Cle{DM}\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Numero}\Defaut{1}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{\{\}}
- \item[]La clé \Cle{Niveau}\Defaut{3}
- \item[]La clé \Cle{Code}\footnotemark\Defaut{\{\}}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\footnotetext{Outil personnel de classement.}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[DM]{Numero=3,Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Les devoirs surveillés}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{DS}]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Numero}\Defaut{1}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{3}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{Calculatrice} autorisée ou non\Defaut{false}
- \item[]La clé \Cle{Sujet}\Defaut{A}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[DS]{Numero=3,Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Les évaluations écrites}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{IE}]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Numero}\Defaut{1}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
-% \item[]La clé \Cle{Classe}\Defaut{}
- % \item[]La clé \Cle{Niveau}\Defaut{3}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{Calculatrice} autorisée ou nom\Defaut{false}
- \item[]La clé \Cle{Sujet} pour de multiples sujets\Defaut{\{\}}
- \item[]La clé \Cle{Theme} modifie le thème de l'évaluation \Defaut{\{\}}
- \item[]La clé \Cle{Nom} Pour changer le nom \og \'Evaluation\fg\Defaut{\'Evaluation}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[IE]{Numero=3,Niveau=6,Classe=Zola,Date=25 décembre 2024,Theme=La géométrie}%
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Les fiches d'exercices}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{Fiche}]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Theme} modifie le thème de la fiche \Defaut{Les nombres décimaux}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-%\begin{Maquette}[Fiche]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
-% On considère un triangle $ABC$\dots
-%\end{Maquette}
-\clearpage
-\subsection*{Les parcours}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{Parcours}\footnotemark]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Theme} modifie le thème du parcours \Defaut{Les nombres décimaux}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
- \footnotetext{Il dispose des même clés que la clé \Cle{Fiche} et de la même présentation. Ce n'est pas là son utilité\dots}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Parcours]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Les parcours fléchés}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{PdT}\footnotemark]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Theme} modifie le thème du plan de travail \Defaut{Les nombres décimaux}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
- \footnotetext{Il dispose des même clés que la clé \Cle{Fiche} et de la même présentation. Ce n'est pas là son utilité\dots}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[PdT]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-%\begin{Maquette}[PdT]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
-% On considère un triangle $ABC$\dots
-%\end{Maquette}
-\clearpage
-\subsection*{Les parcours personnalisés}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{ParcoursPerso}\footnotemark]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Fichier} est le nom du fichier {\ttfamily csv} à utiliser.\Defaut{}
- \end{itemize}
-\end{Description}
-\footnotetext{La présentation est entièrement basée sur la cle \Cle{Fiche}.}
-\end{CadreMP}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[ParcoursPerso]{Fichier=Eleves}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Les \og cours\fg\footnote{Le package \lstinline!ProfMaquette! n'est pas fait pour des documents longs. D'ailleurs, cette clé \Cle{Cours} n'a été ajouté qu'après forte insistance de ses demandeurs\dots}}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{Cours}]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Theme} modifie le titre du \og cours\fg\Defaut{Trace écrite}
- \item[]La clé \Cle{Couleur} modifie la couleur donnée à l'entête\Defaut{Crimson}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[Cours]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[Cours]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\clearpage
-\subsection*{Le contrat de confiance\footnote{Basé sur une idée de Thomas {\sc Castanet}.}}
-\begin{CadreMP}
- \begin{Description}
- \item[La clé \Cle{Contrat}\footnotemark]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Theme} modifie le thème du parcours \Defaut{Les nombres décimaux}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
- \end{Description}
-\end{CadreMP}
-\footnotetext{Il dispose des même clés que la clé \Cle{Fiche} et de la même présentation. Ce n'est pas là son utilité\dots}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[Contrat]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[Contrat]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\clearpage
-\subsection*{La feuille de route\footnote{Basé sur une idée de Thomas {\sc Castanet}.}}
-\begin{CadreMP}
- \begin{Description}
- \item[La clé \Cle{FdR}\footnotemark]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Classe}\Defaut{}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Theme} modifie le thème du parcours \Defaut{Les nombres décimaux}
- \item[]La clé \Cle{Code}\Defaut{}
- \item[]La clé \Cle{NomExercice} pour modifier le nom des exercices\Defaut{exercice}
- \end{itemize}
- \end{Description}
-\end{CadreMP}
-\footnotetext{Elle dispose des même clés que la clé \Cle{Fiche} et de la même présentation. Ce n'est pas là son utilité\dots}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[FdR]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[FdR]{}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-\clearpage
-\subsection*{La Course aux nombres}
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{CAN}]\Defaut{false}
- \begin{itemize}
- \item[]La clé \Cle{Date}\Defaut{\lstinline!\\today!}
- \item[]La clé \Cle{Niveau}\Defaut{6}
- \item[]La clé \Cle{Duree} modifie la durée de la course\Defaut{9}
- \item[]La clé \Cle{CoefQ} modifie, en multipliant \lstinline!\\linewidth! par la valeur donnée, la largeur de la colonne \og Questions\fg{}\Defaut{0.4}\\
- \item[]La clé \Cle{CoefR} modifie, en multipliant \lstinline!\\linewidth! par la valeur donnée, la largeur de la colonne \og Réponse\fg{}\Defaut{0.35}\\
- \item[]La clé \Cle{CoefJ} modifie, en multipliant \lstinline!\\linewidth! par la valeur donnée, la largeur de la colonne \og Jury\fg{}\Defaut{0.1}\\[-1em]
- \end{itemize}
-\end{Description}
-\end{CadreMP}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[CAN]{}
- \begin{exercice}
- On considère un triangle $ABC$\dots
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-%\begin{Maquette}[CAN]{}
-% \begin{exercice}
-% On considère un triangle $ABC$\dots
-% \end{exercice}
-%\end{Maquette}
-\clearpage
-\includepdf[nup=1x2,pages=-,landscape]{TestCAN.pdf}
-\clearpage
-\subsection*{Focus sur la clé \Cle{Dys}}\label{PageDys}
-Lorsque cette clé est activée pour l'environnement \lstinline!\Maquette!, le package \lstinline!ProfMaquette! agit automatiquement sur plusieurs paramètres :
-\begin{itemize}
-\item il modifie l'interligne en passant sa valeur à \num{1.8};
-\item il force la non-justification des lignes;
-\item il impose, par défaut, la taille de la fonte à {\ttfamily 14pt}, que la taille demandée soit {\ttfamily 10pt}, {\ttfamily 11pt} ou {\ttfamily 12pt}.\par
-\begin{CadreMP}
- \begin{Description}
-\item[La clé \Cle{Taille}] modifie la taille de la fonte utilisée avec la clé \Cle{Dys}\Defaut{14}
-\end{Description}
-\end{CadreMP}
-\end{itemize}
-\begin{tcolorbox}
- Le choix d'une police étant personnel et les études contradictoires, le package \lstinline!ProfMaquette! ne propose aucune fonte particulière. Dans une distribution \TeX{}Live, la police {\ttfamily Kp-fonts}\footnotemark{} peut convenir, tant pour le texte que pour les mathématiques.
-\end{tcolorbox}
-%Le code ci-dessous montre, à la page suivante, les effets de cette clé \Cle{Dys}.
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[Fiche,Dys]{Theme=Théorème de Pythagore}
- \myfontDys% Défini dans le préambule : \newfontfamily\myfontDys{KpSans.otf}
- \mathversion{kp}% Défini dans le préambule : \setmathfont[version=kp]{KpMath-Sans.otf}
- \begin{exercice}
- On considère un triangle $ABC$ tel que $AB=7$; $BC=5$ et $CA=6$.
- \begin{enumerate}
- \item Tracer le triangle $ABC$ en vraie grandeur.\\On fera preuve de la plus grande précision possible et du plus grand soin possible. Pour cela, un crayon gris bien taillé, une règle et une gomme propre sont nécessaires et conseillés.
- \item Ce triangle est-il rectangle ? Justifier.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- Développer l'expression $2x\times(x+3)$.
- \end{exercice}
-\end{Maquette}
-\begin{Maquette}[Fiche]{Theme=Théorème de Pythagore}
- \begin{exercice}
- On considère un triangle $ABC$ tel que $AB=7$; $BC=5$ et $CA=6$.
- \begin{enumerate}
- \item Tracer le triangle $ABC$ en vraie grandeur.\\On fera preuve de la plus grande précision possible et du plus grand soin possible. Pour cela, un crayon gris bien taillé, une règle et une gomme propre sont nécessaires et conseillés.
- \item Ce triangle est-il rectangle ? Justifier.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- Développer l'expression $2x\times(x+3)$.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\footnotetext{{\ttfamily{KpSans.otf} pour le texte et {\ttfamily KpMath-Sans.otf} pour les mathématiques.}}
-\clearpage
-\begin{Maquette}[Fiche,Dys]{Theme=Théorème de Pythagore}
- \myfontDys%
- \mathversion{kp}%
- \begin{exercice}
- On considère un triangle $ABC$ tel que $AB=7$; $BC=5$ et $CA=6$.
- \begin{enumerate}
- \item Tracer le triangle $ABC$ en vraie grandeur.\\On fera preuve de la plus grande précision possible et du plus grand soin possible. Pour cela, un crayon gris bien taillé, une règle et une gomme propre sont nécessaires et conseillés.
- \item Ce triangle est-il rectangle ? Justifier.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- Développer l'expression $2x\times(x+3)$.
- \end{exercice}%}
-\end{Maquette}
-\begin{Maquette}[Fiche]{Theme=Théorème de Pythagore}
- \begin{exercice}
- On considère un triangle $ABC$ tel que $AB=7$; $BC=5$ et $CA=6$.
- \begin{enumerate}
- \item Tracer le triangle $ABC$ en vraie grandeur.\\On fera preuve de la plus grande précision possible et du plus grand soin possible. Pour cela, un crayon gris bien taillé, une règle et une gomme propre sont nécessaires et conseillés.
- \item Ce triangle est-il rectangle ? Justifier.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- Développer l'expression $2x\times(x+3)$.
- \end{exercice}
-\end{Maquette}
-\clearpage
-Comme on peut le voir, chaque type de travail est associé à une présentation. Ces présentations sont créées par les commandes associées à des styles \lstinline!tcolorbox! prédéfinis\footnote{Qu'on peut donc redéfinir.} :
-\begin{itemize}[label=\textbullet]
-\item \lstinline!userdm / userdmcor! pour la clé \Cle{DM};
-\item \lstinline!userds / userdscor! pour la clé \Cle{DS};%
-\item \lstinline!userie / useriecor! pour la clé \Cle{IE};%
-\item \lstinline!userfiche / userfichecor! pour la clé \Cle{Fiche};%*
-\item \lstinline!userparcours / userparcourscor! pour la clé \Cle{Parcours};%*
-\item \lstinline!userpdt / userpdtcor! pour la clé \Cle{PdT};%*
-\item \lstinline!usercours! pour la clé \Cle{Cours};
-\item \lstinline!usercontrat / usercontratcor! pour la clé \Cle{Contrat};%*
-\item \lstinline!userfdr / userfdrcor! pour la clé \Cle{FdR};%*
-\item et \lstinline!usercan / usercancor! pour la clé \Cle{CAN}.
-\end{itemize}
-Par exemple, pour une fiche, le style {\em par défaut} permet d'obtenir :
-
-%\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-%\end{Codes}
-
-En écrivant {\em avant l'appel} à l'environnement \lstinline!Maquette! :
-\begin{Codes}[listing only]{0.4}{}
-\tcbset{%
- userfiche/.style={%
- colframe=Orange!75,
- colback=Orange!15%
- }%
-}%
-\end{Codes}
-
-on obtient :
-
-\tcbset{%
- userfiche/.style={%
- colframe=Orange!75,
- colback=Orange!15%
- }%
-}%
-
-\begin{Maquette}[Fiche]{Niveau=6,Classe=Zola,Date=25 décembre 2024}
- On considère un triangle $ABC$\dots
-\end{Maquette}
-
-\tcbset{%
- userfiche/.style={%
- colback=gray!5%
- }%
-}%
-
-Pour modifier {\em plus finement} les entêtes des différentes maquettes, on dispose des commandes\footnote{Qu'on peut donc redéfinir. Par exemple, c'est ce que j'ai fait dans ce document pour la commande \lstinline!\\TikzFiche! : elle ne commence plus une nouvelle page.} :
-\begin{itemize}[label=\textbullet]
-\item \lstinline!\TikzDM / \TikzDMCor! pour la clé \Cle{DM};
-\item \lstinline!\TikzDS / \TikzDSCor! pour la clé \Cle{DS};%
-\item \lstinline!\TikzIE / \TikzIECor! pour la clé \Cle{IE};%
-\item \lstinline!\TikzFiche / \TikzFicheCor! pour la clé \Cle{Fiche};%*
-\item \lstinline!\TikzParcours / \TikzParcoursCor! pour la clé \Cle{Parcours};%*
-\item \lstinline!\TikzPdT / \TikzPdTCor! pour la clé \Cle{PdT};%*
-\item \lstinline!\TikzCours! pour la clé \Cle{Cours};
-\item \lstinline!\TikzContrat / \TikzContratCor! pour la clé \Cle{Contrat};%*
-\item \lstinline!\TikzFdR / \TikzFdRCor! pour la clé \Cle{FdR};%*
-\item et \lstinline!\TikzCAN / \TikzCANCor! pour la clé \Cle{CAN}.%*
-\end{itemize}
-Leurs modifications seront facilitées en copiant le code fourni par le fichier \lstinline!ProfMaquette.sty!.
-
-\bigskip
-
-On dispose également de la commande \lstinline!\Competences! permettant de construire un tableau de\dots{} compétences données par l'utilisateur; les compétences étant séparées par le symbole \lstinline!/!.
-\begin{Codes}[]{0.4}{}
-\Competences{Utiliser le compas/Utiliser l'équerre}
-\end{Codes}
-Les notations \lstinline!NA!, \lstinline!ECA! et \lstinline!A! peuvent être redéfinies par les commandes \lstinline!\PfMCompNA!, \lstinline!\PfMCompECA! et \lstinline!\PfMCompA!.
-\begin{Codes}[]{0.4}{}
-\renewcommand\PfMCompNA{\rule{0pt}{3ex}\RKangry}
-\renewcommand\PfMCompECA{\RKsad}
-\renewcommand\PfMCompA{\RKbigsmile}
-\Competences{Utiliser le compas/Utiliser l'équerre}
-\end{Codes}
-Si l'on souhaite davantage de niveaux d'évaluations (ou moins), on utilisera les codes suivants :
-\begin{Codes}[]{0.4}{}
-\Competences[4]{0/1/2/3/Utiliser le compas/Utiliser l'équerre}
-\end{Codes}
-\begin{Codes}[]{0.4}{}
-\Competences[2]{A/NA/Utiliser le compas/Utiliser l'équerre}
-\end{Codes}
-\clearpage
-\section*{L'environnement \lstinline!exercice!}
-\begin{Codes}[listing only]{0.4}{}
-\begin{exercice}
-
-\end{exercice}
-\end{Codes}
-\subsection*{Habillage des exercices}
-L'environnement \lstinline!exercice! doit {\em impérativement} être inclus dans un environnement \lstinline!Maquette! car le type de document choisi influence la présentation des exercices.
-\begin{Codes}[]{0.5}{}
-\begin{Maquette}[IE]{Theme=Les fonctions,Niveau=3,Classe=Gide}
- \begin{exercice}%
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Codes}[listing side text]{0.6}{}
-\begin{Maquette}[DM]{Numero=50,Niveau=3,Classe=Gide}
- \begin{exercice}
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Codes}[listing side text]{0.6}{}
-\begin{Maquette}[DS]{Numero=50,Niveau=3,Classe=Gide}
- \begin{exercice}
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Les fonctions,Niveau=3,Classe=Gide}
- \begin{exercice}
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\subsection*{La personnalisation}
-On peut, dans un premier temps, utiliser les clés suivantes :
-\begin{Description}
-\item[La clé \Cle{BackGround}] modifie les arrière-plans des exercices.\Defaut{white}
-\item[La clé \Cle{Cadre}] modifie la couleur du cadre des exercices.\Defaut{gray!50}
-\end{Description}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Les fonctions,Niveau=3,Classe=Gide}
- \begin{exercice}[Background=Orange!15,Cadre=Orange!50]
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-On peut également, pour les maquettes \lstinline!Fiche!, \lstinline!DM!, \lstinline!DS! et \lstinline!IE!, ne pas numéroter un exercice (particulièrement dans le cas où un seul exercice serait présent).
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{}
- \begin{exercice}*
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
- \begin{exercice}
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
- \begin{exercice}*
- La fonction $f:x\mapsto3x+2$ est-elle une fonction affine ? Justifier.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{tcolorbox}
- Pour la maquette \lstinline!ParcoursPerso!, si un seul exercice se trouve dans la liste, alors il est automatiquement non-numéroté.
-\end{tcolorbox}
-\subsection*{Le barème des exercices}
-On remarque que certains exercices sont associés à un total de point. C'est une des clés disponibles pour l'environnement \lstinline!exercice!. Voici celles pour les barèmes :
-\begin{Description}
-\item[La clé \Cle{BaremeTotal}] qui affichera, dans le coin supérieur droit, le total de points de l'exercice. La valeur de cette clé :
- \begin{itemize}
- \item est {\em fixée} à {\sffamily false} pour les clés \Cle{Fiche}, \Cle{FdR}, \Cle{Parcours}, \Cle{PdT}, \Cle{Contrat};
- \item est positionnée à {\sffamily true} mais {\em modifiable} pour les clés \Cle{DM}, \Cle{DS} et \Cle{IE}.
- \end{itemize}
-\item[La clé \Cle{BaremeDetaille}] a le même fonctionnement que la clé \Cle{BaremeTotal}.
- La commande \lstinline!\brm{}! permet la construction du barème (détaillé et total).\Defaut{false}
-\item[La clé \Cle{MotPoint}] donnée sous forme de texte puisque le pluriel est géré.\Defaut{point}
- \begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[DS]{Numero=3,Classe=Euler,Niveau=4}
- \begin{exercice} % ici le barème est total, pas de détail : comportement par défaut
- On considère les expressions $A=2x(3x+5)$ et $B=x(7x-1)$.
- \begin{enumerate}
- \item\brm{1} Développer l'expression $A$.
- \item\brm{1.5} Développer l'expression $B$.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}[BaremeDetaille] %ici le barème est total ET détaillé
- On considère les expressions $A=2x(3x+5)$ et $B=x(7x-1)$.
- \begin{enumerate}
- \item\brm{1} Développer l'expression $A$.
- \item\brm{1.5} Développer l'expression $B$.
- \end{enumerate}
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[DS]{Numero=3,Classe=Euler,Niveau=4}
- \begin{exercice} % ici le barème est total, pas de détail : comportement par défaut
- On considère les expressions $A=2x(3x+5)$ et $B=x(7x-1)$.
- \begin{enumerate}
- \item\brm{1} Développer l'expression $A$.
- \item\brm{1.5} Développer l'expression $B$.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}[BaremeDetaille] %ici le barème est total ET détaillé
- On considère les expressions $A=2x(3x+5)$ et $B=x(7x-1)$.
- \begin{enumerate}
- \item\brm{1} Développer l'expression $A$.
- \item\brm{1.5} Développer l'expression $B$.
- \end{enumerate}
- \end{exercice}
-\end{Maquette}
-\end{Description}
-\clearpage
-\subsection*{Source, compétence et titre}
-Si on souhaite citer la source d'un exercice ou lui donner un titre, on dispose des clés :
-\begin{Description}
-\item[La clé \Cle{Source}] pour citer la source de l'exercice.\Defaut{\{\}}
-\item[La clé \Cle{Titre}] pour nommer un exercice.\Defaut{\{\}}
-\item[La clé \Cle{Competence}] pour indiquer une compétence associée à l'exercice.\Defaut{\{\}}
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Algorithmique}
- \colorlet{PfMColCpt}{Crimson}
- \colorlet{PfMColSrc}{NavyBlue}
- \begin{exercice}[Source=Olympiades 2019,Titre=Modifier des mots,Competence=Raisonner]
- Dans ce problème, on appellera {\em mot} toute suite de lettres formée des lettres A, D et G. Par exemple : ADD, A, AAADG sont des {\em mots}.
- \\Astrid possède un logiciel qui fonctionne de la manière suivante : un utilisateur entre un {\em mot} et, après un clic sur EXÉCUTER, chaque lettre A du {\em mot} (s'il y en a) est remplacée par le {\em mot} AGADADAGA. Ceci donne un nouveau {\em mot}.\\Par exemple, si l'utilisateur rentre le {\em mot} AGA, on obtient le {\em mot} AGADADAGAGAGADADAGA. Un deuxième clic sur EXÉCUTER réitère la transformation décrite ci-dessus au nouveau {\em mot}, et ainsi de suite.
- \begin{enumerate}
- \item Quels sont les {\em mots} qui restent inchangés quand on clique sur EXÉCUTER ?
- \end{enumerate}
-\end{exercice}
-\end{Maquette}
-\end{Codes}
-%\clearpage
-\begin{Maquette}[Fiche]{Theme=Algorithmique}
- \colorlet{PfMColCpt}{Crimson}
- \colorlet{PfMColSrc}{NavyBlue}
- \begin{exercice}[Source=Olympiades 2019,Titre=Modifier des mots,Competence=Raisonner]
- Dans ce problème, on appellera {\em mot} toute suite de lettres formée des lettres A, D et G. Par exemple : ADD, A, AAADG sont des {\em mots}.
- \\Astrid possède un logiciel qui fonctionne de la manière suivante : un utilisateur entre un {\em mot} et, après un clic sur EXÉCUTER, chaque lettre A du {\em mot} (s'il y en a) est remplacée par le {\em mot} AGADADAGA. Ceci donne un nouveau {\em mot}.\\Par exemple, si l'utilisateur rentre le {\em mot} AGA, on obtient le {\em mot} AGADADAGAGAGADADAGA. Un deuxième clic sur EXÉCUTER réitère la transformation décrite ci-dessus au nouveau {\em mot}, et ainsi de suite.
- \begin{enumerate}
- \item Quels sont les {\em mots} qui restent inchangés quand on clique sur EXÉCUTER ?
- \end{enumerate}
-\end{exercice}
-\end{Maquette}
-\end{Description}
-\clearpage
-\subsection*{Des parties à compléter ?}
-Après chaque exercice, on peut faire apparaître des zones à compléter.
-\begin{Description}
-\item[La clé \Cle{Lignes}] indique le nombre de lignes à tracer {\em après} la fin de l'exercice.\Defaut{-}
-\item[La clé \Cle{Encart}] indique l'espace à laisser {\em après} la fin de l'exercice.\Defaut{-}\\La valeur attendue est une longueur.
-\end{Description}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Les triangles}
- \begin{exercice}[Lignes=5]
- On considère un triangle $ABC$ tel que \dots
- \end{exercice}
- \begin{exercice}[Encart=5em]
- On considère un triangle $ABC$ tel que \dots
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-On peut modifier :
-\begin{itemize}
-\item l'espace vertical avant les lignes par {\em la longueur} \lstinline!\PfMEspaceAvantLignes!;\\\phantom{t}\Defaut{1em}
-\item l'espace vertical avant les lignes par {\em la longueur} \lstinline!\PfMEspaceApresLignes!;\\\phantom{t}\Defaut{1em}
-\item le texte d'introduction de l'encart par {\em la commande} \lstinline!\PfMTexteEncart!.
-\end{itemize}
-\clearpage
-\subsection*{Gestion de profils particuliers d'élèves}
-Certains enfants présentent des troubles des apprentissages et ont donc besoin d'aménagements pédagogiques particuliers. Couplées ou pas à la clé \Cle{Dys} (page \pageref{PageDys}), on dispose des clés suivantes.
-\begin{Description}
- \item[La clé \Cle{NonUtilise}] indique que l'exercice {\em et} sa solution ne seront pas utilisés pour la confection du document.\Defaut{false}
- \end{Description}
- \begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Les fractions,Code=423FicheFraction}
- \begin{exercice}
- Calculer $A=\frac{1}{2}+\frac{1}{2}$.
- \end{exercice}
- \begin{exercice}[NonUtilise]
- Calculer $B=\frac{1}{3}+\frac{1}{6}$.
- \end{exercice}
- \begin{exercice}
- Calculer $C=\frac{1}{5}+\frac{1}{7}$.
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Description}
- \item[La clé \Cle{Profile}] indique que l'exercice {\em et} sa solution sont profilés et peuvent disposer de moins de questions. Cette clé sera utilisée conjointement avec la commande \lstinline!\cacheitem! permettant de cacher un item complet d'une liste.\Defaut{false}
- \end{Description}
-\begin{Codes}[]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Calcul littéral,Code=323FicheDevelopper}
- \begin{exercice}[Profile]
- \begin{enumerate}
- \item Développer et réduire $A=2x(3+7x)$.
- \item Développer et réduire $B=(x+3)(x+4)$.
- \cacheitem\item Développer et réduire $C=(2x+3)(7x-1)$.
- \cacheitem\item Développer et réduire $D=(4-3x)(x-2)$.
- \item Calculer les valeurs des expressions précédentes lorsque $x=2$.
- \end{enumerate}
- \end{exercice}
- \begin{exercice}[]
- \begin{enumerate}
- \item Développer et réduire $A=2x(3+7x)$.
- \item Développer et réduire $B=(x+3)(x+4)$.
- \cacheitem\item Développer et réduire $C=(2x+3)(7x-1)$.
- \cacheitem\item Développer et réduire $D=(4-3x)(x-2)$.
- \item Calculer les valeurs des expressions précédentes lorsque $x=2$.
- \end{enumerate}
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Des logos ?}
-Les clés décrites dans cette partie ne sont disponibles que pour les maquettes
-\lstinline!Fiche! / \lstinline!Parcours!.
-\begin{Description}
-\item[La clé \Cle{Oral}] pour indiquer que l'exercice se résout oralement.\Defaut{false}
-\item[La clé \Cle{Calculatrice}] pour afficher que la calculatrice {\em est interdite}.\Defaut{true}
-\end{Description}
- \begin{Codes}[listing only,listing options={frame=,escapechar=!}]{0.4}{}
-\begin{Maquette}[Fiche]{Theme=Calcul mental}
- \begin{exercice}[Oral]
- $1+1=?$
- \end{exercice}
- \begin{exercice}[!\color{DarkGreen}\ttfamily Calculatrice!=false]
- $1+1=?$
- \end{exercice}
- % On peut mélanger les deux logos.
- \begin{exercice}[!\color{DarkGreen}\ttfamily Calculatrice!=false,Oral]
- $1+1=?$
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[Fiche]{Theme=Calcul mental}
- \begin{exercice}[Oral]
- $1+1=?$
- \end{exercice}
- \begin{exercice}[Calculatrice=false]
- $1+1=?$
- \end{exercice}
- \begin{exercice}[Calculatrice=false,Oral]
- $1+1=?$
- \end{exercice}
-\end{Maquette}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!Parcours!}
-Dans le cas de cette maquette, l'environnement \lstinline!exercice! dispose de la clé \Cle{Trajet} permettant de construire automatiquement le ou les parcours. La commande \lstinline!\AfficheParcours{}! représente un schéma associé à un parcours. Ce schéma se construit seul, automatiquement, après que l'enseignant ait utilisé la clé \Cle{Trajet} dans la création de ses exercices. Il faudra néanmoins deux compilations. \`A noter que ce schéma, avec l'utilisation du package \lstinline!hyperref!, dispose de liens cliquables sur les exercices sélectionnés pour le parcours.
-\begin{Codes}[listing only,listing options={frame=,escapechar=!}]{0.4}{\small}
-\begin{Maquette}[Parcours]{Theme=Calcul mental}
- \begin{description}
- \item[!Parcours! Padawan] \AfficheParcours{Padawan}
- \item[!Parcours! Jedï] \AfficheParcours{Jedi}
- \item[!Parcours! Grand Maître] \AfficheParcours{GrandMaitre}
- \end{description}
- \begin{exercice}[Trajet={Padawan,Jedi,GrandMaitre}]
-
- \end{exercice}
- \begin{exercice}[Trajet={Padawan,Jedi}]
-
- \end{exercice}
- \begin{exercice}[Trajet={Padawan}]
-
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[Parcours]{Theme=Calcul mental}
- \begin{description}
- \item[Parcours Padawan] \AfficheParcours{Padawan}
- \item[Parcours Jedï] \AfficheParcours{Jedi}
- \item[Parcours Grand Maître] \AfficheParcours{GrandMaitre}
- \end{description}
- \begin{exercice}[Trajet={Padawan,Jedi,GrandMaitre}]
-
- \end{exercice}
- \begin{exercice}[Trajet={Padawan,Jedi}]
-
- \end{exercice}
- \begin{exercice}[Trajet={Padawan}]
-
- \end{exercice}
-\end{Maquette}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!ParcoursPerso!}
-Dans le cas de cette maquette, l'environnement \lstinline!exercice! n'admet aucune clé. En effet, cette maquette utilise :
-\begin{itemize}
-\item un fichier {\ttfamily *.csv} de la forme :
- \begin{Codes}[listing only]{0.4}{}
-Anne,Bec,{1,2}
-Paul,Isse,{1,3}
-Jean,Némar,{1,4}
- \end{Codes}
-\item et une liste d'exercices pour produire les trois pages suivantes à l'aide du code :
-\begin{Codes}[listing only]{0.4}{}
-\begin{Maquette}[ParcoursPerso]{Fichier=Documentation,Theme=L'alphabet,Niveau=6,Classe=Alpha}
- \begin{exercice}
- A
- \end{exercice}
- \begin{exercice}
- B
- \end{exercice}
- \begin{exercice}
- C
- \end{exercice}
- \begin{exercice}
- D
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\end{itemize}
-\clearpage
-\includepdf[pages=-]{TestParcoursPerso.pdf}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!PdT!}
-Dans le cas de cette maquette, la présentation des exercices est modifiée : il n'y a plus de titre afin de gagner de la place. De plus, chaque exercice définit, en fonction de son numéro, huit points d'ancrages :\lstinline!N-5!, \lstinline!S-5!, \lstinline!O-5!, \lstinline!E-5!, \lstinline!NO-5!, \lstinline!NE-5!, \lstinline!SO-5! et \lstinline!SE-5! pour respectivement les points Nord, Sud, Ouest, Est, Nord-Ouest, Nord-Est, Sud-Ouest et Sud-Est du cadre de l'exercice 5.
-
-On pourra aussi utiliser (avec les même n\oe uds précédés de \lstinline!SOS!) l'environnement \lstinline!SOS! servant d'aide aux élèves en difficulté.
-
-De plus, deux commandes font leur apparition :
-\begin{itemize}
-\item \lstinline!\CheminVrai! listant les liaisons entre exercices sous la forme \lstinline!noeud départ/noeud arrivée!;
-\item \lstinline!\CheminFaux! listant les liaisons entre exercices sous la forme \lstinline!noeud départ/noeud arrivée!.
-\end{itemize}
-L'exemple suivant est obtenu par le code présenté à la page suivante.
-\begin{Maquette}[PdT]{Theme=Plan de travail : Calcul littéral,Niveau=3,Classe=Alpha,Date={},Code={}}
- \setcounter{PfMExo}{0}
- \begin{minipage}{0.35\linewidth}
- \begin{exercice}%exercice 1
- A
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.3\linewidth}
- \begin{exercice}%exercice 2
- B
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.15\linewidth}
- \begin{SOS}%SOS 1
- Aide A
- \end{SOS}
- \end{minipage}
-
- \vspace*{2cm}
-
- \begin{minipage}{0.35\linewidth}
- \begin{exercice}%exercice 3
- C
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.3\linewidth}
- \begin{exercice}%exercice 4
- D
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.15\linewidth}
- \begin{SOS}%SOS 2
- Aide B
- \end{SOS}
- \end{minipage}
- \CheminVrai{S-1/NO-3}
- \CheminFaux{E-1/O-2,E-2/SOS-O-1}
- \end{Maquette}
- \clearpage
-\begin{Codes}[listing only]{}{}
- \begin{Maquette}[PdT]{Theme=Plan de travail : Calcul littéral,Niveau=3,Classe=Alpha,Date={},Code={}}
- \begin{minipage}{0.35\linewidth}
- \begin{exercice}%exercice 1
- A
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.3\linewidth}
- \begin{exercice}%exercice 2
- B
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.15\linewidth}
- \begin{SOS}%SOS 1
- Aide A
- \end{SOS}
- \end{minipage}
-
- \vspace*{2cm}
-
- \begin{minipage}{0.35\linewidth}
- \begin{exercice}%exercice 3
- C
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.3\linewidth}
- \begin{exercice}%exercice 4
- D
- \end{exercice}
- \end{minipage}
- \hfill
- \begin{minipage}{0.15\linewidth}
- \begin{SOS}%SOS 2
- Aide B
- \end{SOS}
- \end{minipage}
- \CheminVrai{S-1/NO-3}
- \CheminFaux{E-1/O-2,E-2/SOS-O-1}
- \end{Maquette}
-\end{Codes}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!Contrat!}
-Dans le cas de cette maquette, l'environnement \lstinline!exercice! dispose de la clé \Cle{Confiance} permettant de construire automatiquement le contrat de confiance. La commande \lstinline!\AfficheContrat{}! représente un schéma associé au contrat proposé par l'enseignant : suivant la réalisation des exercices, l'élève choisit un chemin de remédiation (chemin du bas, repéré par la lettre a), soit un chemin d'approfondissement (chemin du haut, repéré par la lettre b).
-\\Ce schéma se construit seul, automatiquement, après que l'enseignant ait utilisé la clé \Cle{Confiance} dans la création de ses exercices. Il faudra néanmoins deux compilations. \`A noter que ce schéma, avec l'utilisation du package \lstinline!hyperref!, dispose de liens cliquables sur les exercices sélectionnés pour le parcours.
-\begin{Codes}[listing only,listing options={frame=,escapechar=!}]{0.4}{\small}
-\begin{Maquette}[Contrat]{Theme=Calcul mental}
- \begin{center}
- \AfficheContrat%
- \end{center}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a}]
-
- \end{exercice}
- \begin{exercice}[Confiance={b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\clearpage
-\begin{Maquette}[Contrat]{Theme=Calcul mental}
- \begin{center}
- \AfficheContrat%
- \end{center}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a}]
-
- \end{exercice}
- \begin{exercice}[Confiance={b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
- \begin{exercice}[Confiance={a,b}]
-
- \end{exercice}
-\end{Maquette}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!FdR!}
-%\setcounter{}{0}
-Dans le cas de cette maquette, l'environnement \lstinline!exercice! dispose des clés \Cle{Route} et \Cle{Stop} permettant de construire automatiquement une feuille de route. La commande \lstinline!\AfficheFdR{}! représente un schéma associé à la feuille de route construite par l'enseignant : l'élève réalise les exercices de la ligne du bas puis demande la validation de l'enseignant. Une fois la validation acquise, l'enseignant peut lui proposer de faire les exercices de la ligne du haut ou de poursuivre la feuille de route.
-\\Ce schéma se construit seul, automatiquement, après que l'enseignant ait utilisé les clés \Cle{Route} et \Cle{Stop} dans la création de ses exercices. Il faudra néanmoins deux compilations et vérifier que chaque \og morceau\fg{} de route soit non vide (La ligne haute, quant à elle, pouvant être vide). \`A noter que ce schéma, avec l'utilisation du package \lstinline!hyperref!, dispose de liens cliquables sur les exercices sélectionnés pour le parcours.
-\begin{multicols}{2}
- \begin{Codes}[enhanced,listing only,listing options={frame=,escapechar=!},overlay unbroken and first={%
- \node[text=black,fill=white,anchor=east,xshift=-10pt] at (frame.south east) {\scriptsize Suite\dots};
- }]{0.4}{}
-\begin{Maquette}[FdR]{Theme=Calcul mental}
- \begin{center}
- \AfficheFdR%
- \end{center}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
-\end{Codes}
-\begin{Codes}[listing only,listing options={frame=,escapechar=!}]{0.4}{}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route,Stop]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\end{multicols}
-\clearpage
-\begin{Maquette}[FdR]{Theme=Calcul mental}
- \begin{center}
- \AfficheFdR%
- \end{center}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route,Stop]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[Route]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
- \begin{exercice}[]
-
- \end{exercice}
-\end{Maquette}
-\clearpage
-\subsection*{Focus sur la maquette \lstinline!CAN!}
-Dans le cas de cette maquette, l'environnement \lstinline!exercice! n'admet aucune clé. La création de la page de garde et du tableau est automatique mais nécessite {\em au moins} deux compilations pour adapter au mieux les dimensions du tableau. De plus, la compilation crée (dans le répertoire courant) des fichiers \lstinline!*.can! (et éventuellement \lstinline!*.sol!) : ils peuvent être supprimés après l'obtention du document final.
-
-La commande \lstinline!\Complement{}! permet d'ajouter du contenu à la colonne \og Réponse\fg.
-
-\begin{Codes}[listing only]{0.5}{}
-% cet exemple a été créé avec une feuille au format A5
-\begin{Maquette}[CAN]{CoefQ=0.5,CoefR=0.25}
- \begin{exercice}
- $17+19$
- \end{exercice}
- \begin{exercice}
- $ABC$ est un triangle tel que $\widehat{ABC}=\ang{30}$ et $\widehat{BCA}=\ang{70}$. Alors\dots
- \Complement{$\widehat{CAB}=\dots$}
- \end{exercice}
-\end{Maquette}
-\end{Codes}
-\includegraphics{pg_0002-crop.pdf}
-\clearpage
-\subsection*{\og Correction\fg{} des exercices}
- Un exercice avec correction pourra\footnote{Dans les faits, seul l'environnement \lstinline!exercice! est nécessaire. L'absence des environnements \lstinline!Solution!, \lstinline!Reponse! et \lstinline!Indice! n'a pas d'impact sur la compilation.} avoir la forme suivante :
- \begin{Codes}[listing only]{0.4}{}
-\begin{exercice}
-
-\end{exercice}
-\begin{Solution}
-
-\end{Solution}
-\begin{Reponse}
-
-\end{Reponse}
-\begin{Indice}
-
-\end{Indice}
-\end{Codes}
-On peut gérer la correction des exercices à deux niveaux :
-\begin{Description}
- \item[Au niveau de l'environnement ]\lstinline!Maquette!, on dispose des clés :
-\end{Description}
- \begin{Description}
-\item[la clé \Cle{CorrigeApres}]\Defaut{false}\par qui affiche le corrigé, {\em s'il existe}, après l'énoncé de l'exercice.
-\item[la clé \Cle{CorrigeFin}]\Defaut{false}\par qui affiche les corrigés, {\em s'ils existent}, à la fin du document.
- \begin{quote}
- \begin{description}
- \item[la clé \Cle{CorrigeAll}]\Defaut{false}\par est {\em uniquement} valable avec la clé \Cle{Fiche}. Elle affiche une feuille avec tous les corrigés détaillés (environnement \lstinline!Solution!); une feuille avec toutes les réponses brutes (environnement \lstinline!Reponse!) et une feuille avec tous les indices (environnement \lstinline!Indice!).
- \item[La clé \Cle{VersSolution}] permet de se déplacer directement à la solution des exercices en cliquant sur le symbole \faKey. {\em Il est impératif de charger le package} \lstinline!hyperref!.
-\item[la clé \Cle{Colonnes}]\Defaut{1}\par définit le nombre de colonnes utilisées pour afficher les corrigés.
-\item[la clé \Cle{Epaisseur}]\Defaut{0pt}\par modifie l'épaisseur de la barre de séparation des colonnes.
- \end{description}
- \end{quote}
-\end{Description}
-
-Pour les maquettes \lstinline!ParcoursPerso! et \lstinline!CAN!, seule la clé \Cle{CorrigeFin} est autorisée.
-\clearpage
-\begin{Codes}[listing only]{0.4}{\footnotesize}
-\begin{Maquette}[IE,CorrigeApres]{Theme=Calcul littéral}
- \begin{exercice}% n'a pas de correction
- \begin{enumerate}
- \item $1+1=?$
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- \begin{enumerate}
- \item Développer $A=2(x+3)$.
- \end{enumerate}
- \end{exercice}
- \begin{Solution}
- \begin{enumerate}
- \item $A=2(x+3)=2\times x+2\times3=2x+6$
- \end{enumerate}
- \end{Solution}
-\end{Maquette}
-\end{Codes}
-\begin{Maquette}[IE,CorrigeApres]{Theme=Calcul littéral}
- \begin{exercice}% n'a pas de correction
- \begin{enumerate}
- \item $1+1=?$
- \end{enumerate}
- \end{exercice}
- \begin{exercice}
- \begin{enumerate}
- \item Développer $A=2(x+3)$.
- \end{enumerate}
- \end{exercice}
- \begin{Solution}
- \begin{enumerate}
- \item $A=2(x+3)=2\times x+2\times3=2x+6$
- \end{enumerate}
- \end{Solution}
-\end{Maquette}
-\clearpage
-\begin{Description}
-\item[Au niveau de l'environnement ]\lstinline!exercice!, on peut affiner la correction à l'aide des clés :
- \begin{Description}
- \item[la clé \Cle{TitreSolution}]\Defaut{-}\par affiche (sauf pour les maquettes \lstinline!CAN! et \lstinline!ParcoursPerso!) un titre à la correction de l'exercice considéré {\em uniquement} avec l'utilisation de la clé \Cle{CorrigeFin};
-\item[la clé \Cle{PasCorrige}]\Defaut{false}\par supprime l'affichage de tous types de correction pour l'exercice considéré;
-\item[la clé \Cle{Pouce}]\Defaut{false}\par qui affiche uniquement le contenu de l'environnement \lstinline!Indice!;
-\item[la clé \Cle{Direct}]\Defaut{false}\par qui affiche uniquement le contenu de l'environnement \lstinline!Reponse!.
-\end{Description}
-\end{Description}
-Cela engendre, si nécessaire, la création de fichiers \lstinline!*.sol! pour les solutions, \lstinline!*.rep! pour les réponses et \lstinline!*.cdp! pour les indices. Il conviendra de les effacer à chaque changement de clé (\Cle{PasCorrige}, \Cle{Pouce}, \Cle{Direct}) ou ajout d'exercice(s). En effet, la priorité d'affichage est donnée aux fichiers \lstinline!*.sol! puis \lstinline!*.rep! et enfin \lstinline!*.cdp!.
-\begin{multicols}{2}%[listing only]{0.4}{\scriptsize}
-\begin{Codes}[enhanced,listing only,listing options={frame=,escapechar=!},overlay unbroken and first={%
- \node[text=black,fill=white,anchor=east,xshift=-10pt] at (frame.south east) {\scriptsize Suite\dots};
- }]{0.4}{}
-\begin{Maquette}[DS,CorrigeFin,VersSolution]{Numero=3}
- \begin{exercice}[TitreSolution= : Nombre décimal]
- $1+\dfrac2{10}=$
- \end{exercice}
- \begin{Solution}
- $1+\dfrac2{10}=\num{1.2}$
- \end{Solution}
- \begin{Reponse}
- \num{1.2}
- \end{Reponse}
- \begin{Indice}
- Une unité représente dix dixièmes de l'unité.
- \end{Indice}
- \begin{exercice}[PasCorrige] % Malgré les environnements Solution, Reponse, Indice
- $7(x+5)=$ ?
- \end{exercice}
- \begin{Solution}
- $7(x+5)=7\times x+7\times 5=7x+35$
- \end{Solution}
- \begin{Indice}
- Utiliser la simple distributivité.
- \end{Indice}
- \begin{Reponse}
- $7x+35$
- \end{Reponse}
-\end{Codes}
-\begin{Codes}[listing only]{0.4}{}
- \begin{exercice}[Direct] % On affiche uniquement l'environnement Reponse
- $\dfrac34-\dfrac25=$?
- \end{exercice}
- \begin{Solution}
- $\dfrac34-\dfrac25=\dfrac{15}{20}-\dfrac8{20}=\dfrac7{20}$
- \end{Solution}
- \begin{Reponse}
- $\dfrac7{20}$
- \end{Reponse}
- \begin{Indice}
- C'est une soustraction, il faut réduire au même dénominateur.
- \end{Indice}
- \begin{exercice}[Pouce] % On affiche uniquement l'environnement Indice
- Si $x=3$, que vaut $x^3+4x$ ?
- \end{exercice}
- \begin{Solution}
- $x^3+4x=3^3+4\times3=27+12=39$
- \end{Solution}
- \begin{Indice}
- Que veut dire $x^3$ ? Que veut dire $4x$ ?
- \end{Indice}
- \begin{Reponse}
- 39
- \end{Reponse}
-\end{Maquette}
-\end{Codes}
-\end{multicols}
-\begin{Maquette}[DS,CorrigeFin,VersSolution]{Numero=3}
- % La clé CorrigeFin utilise le contenu de l'environnement Solution
- \begin{exercice}[TitreSolution= : Nombre décimal]
- $1+\dfrac2{10}=$
- \end{exercice}
- \begin{Solution}
- $1+\dfrac2{10}=\num{1.2}$
- \end{Solution}
- \begin{Reponse}
- \num{1.2}
- \end{Reponse}
- \begin{Indice}
- Une unité représente dix dixièmes de l'unité.
- \end{Indice}
- \begin{exercice}[PasCorrige]
- $7(x+5)=$ ?
- \end{exercice}
- \begin{Solution}
- $7(x+5)=7\times x+7\times 5=7x+35$
- \end{Solution}
- \begin{Indice}
- Utiliser la simple distributivité.
- \end{Indice}
- \begin{Reponse}
- $7x+35$
- \end{Reponse}
- \begin{exercice}[Direct]
- $\dfrac34-\dfrac25=$?
- \end{exercice}
- \begin{Solution}
- $\dfrac34-\dfrac25=\dfrac{15}{20}-\dfrac8{20}=\dfrac7{20}$
- \end{Solution}
- \begin{Reponse}
- $\dfrac7{20}$
- \end{Reponse}
- \begin{Indice}
- C'est une soustraction, il faut réduire au même dénominateur.
- \end{Indice}
- \begin{exercice}[Pouce]
- Si $x=3$, que vaut $x^3+4x$ ?
- \end{exercice}
- \begin{Solution}
- $x^3+4x=3^3+4\times3=27+12=39$
- \end{Solution}
- \begin{Indice}
- Que veut dire $x^3$ ? Que veut dire $4x$ ?
- \end{Indice}
- \begin{Reponse}
- 39
- \end{Reponse}
-\end{Maquette}
-\clearpage
-\section*{Historique}
-\begin{description}
-\item[\PfMfiledate{}--v \PfMfileversion] Meilleure gestion des titres d'exercices. Meilleure différentiation des exercices à faire et à ne pas faire lors de l'utilisation de la clé \Cle{FdR}. Gestion automatique du mode recto-verso pour le début des corrections. Amélioration de la documentation.
- % 0.87 Ajout des clés \Cle{NonUtilise} et \Cle{Profile} à l'environnement \lstinline!exercice!. Ajout des clés \Cle{Taille} et \Cle{VersSolution} à l'environnement \lstinline!Maquette!.
- %0.86 Ajout de la clé \Cle{TitreSolution} à l'environnement \lstinline!exercice!. Amélioration de la documentation.
- %0.85 Ajout des clés \lstinline!Lignes! et \lstinline!Encart! à l'environnement \lstinline!exercice!. Amélioration de la documentation.
- %0.82 Correction de bugs.
- %0.80 Ajout d'une clé \Cle{Dys} pour les élèves à profil particulier.
- %0.75 Exercices {\em éventuellement} non numérotés. Correction de bugs (Feuille de route).
- %0.65 Création du format CAN (Course aux nombres).
-\end{description}
-\end{document}
-%%% Local Variables:
-%%% TeX-engine: luatex
-%%% End: \ No newline at end of file
diff --git a/macros/latex/contrib/profmaquette/doc/TestCAN.pdf b/macros/latex/contrib/profmaquette/doc/TestCAN.pdf
deleted file mode 100644
index ce210e3c71..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestCAN.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/TestCAN.tex b/macros/latex/contrib/profmaquette/doc/TestCAN.tex
deleted file mode 100644
index 58cbf7a758..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestCAN.tex
+++ /dev/null
@@ -1,27 +0,0 @@
-\documentclass[french]{article}
-\usepackage[nonamssymb]{ProfCollegeT}
-\usepackage{ProfMaquetteT}
-
-\usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
-\usepackage[math-style=french,Scale=0.98]{fourier-otf}
-
-\newfontfamily\myfontScratch[Scale=0.725]{DejaVu Sans}
-
-%\usepackage[a5paper,margin=1cm,noheadfoot]{geometry}
-\setlength{\parindent}{0pt}
-\pagestyle{empty}
-
-\usepackage{babel}
-
-\usepackage{lipsum}
-
-\begin{document}
-\begin{Maquette}[CAN]{}
- \begin{exercice}
- On considère un triangle $ABC$\dots
- \end{exercice}
-\end{Maquette}
-\end{document}
-% Local Variables:
-% TeX-engine: luatex
-% End:
diff --git a/macros/latex/contrib/profmaquette/doc/TestCANComplement.pdf b/macros/latex/contrib/profmaquette/doc/TestCANComplement.pdf
deleted file mode 100644
index a2b2f04465..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestCANComplement.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/TestCANComplement.tex b/macros/latex/contrib/profmaquette/doc/TestCANComplement.tex
deleted file mode 100644
index 565b168d7e..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestCANComplement.tex
+++ /dev/null
@@ -1,31 +0,0 @@
-\documentclass[french]{article}
-\usepackage[nonamssymb]{ProfCollegeT}
-\usepackage{ProfMaquetteT}
-
-\usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
-\usepackage[math-style=french,Scale=0.98]{fourier-otf}
-
-\newfontfamily\myfontScratch[Scale=0.725]{DejaVu Sans}
-
-%\usepackage[a5paper,margin=1cm,noheadfoot]{geometry}
-\setlength{\parindent}{0pt}
-\pagestyle{empty}
-
-\usepackage{babel}
-
-\usepackage{lipsum}
-
-\begin{document}
-\begin{Maquette}[CAN]{CoefQ=0.5,CoefR=0.25}
- \begin{exercice}
- $17+19$
- \end{exercice}
- \begin{exercice}
- $ABC$ est un triangle tel que $\widehat{ABC}=\ang{30}$ et $\widehat{BCA}=\ang{70}$. Alors\dots
- \Complement{$\widehat{CAB}=\dots$}
- \end{exercice}
-\end{Maquette}
-\end{document}
-% Local Variables:
-% TeX-engine: luatex
-% End:
diff --git a/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.pdf b/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.pdf
deleted file mode 100644
index b3880c8135..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.tex b/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.tex
deleted file mode 100644
index 9922ddb0ce..0000000000
--- a/macros/latex/contrib/profmaquette/doc/TestParcoursPerso.tex
+++ /dev/null
@@ -1,31 +0,0 @@
-\documentclass[12pt,french]{article}
-\usepackage[nonamssymb]{ProfCollegeT}
-\usepackage{PfMV7}
-\input{Christ7}
-\usepackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math}
-\usepackage{fourier-otf}
-\usepackage[a4paper,margin=1.5cm,nohead,includefoot]{geometry}
-\setlength{\parindent}{0pt}
-\pagestyle{empty}
-\usepackage{mflogo}
-\usepackage{babel}
-\usepackage{lipsum}
-\begin{document}
-\begin{Maquette}[ParcoursPerso]{Type=Fiche,Fichier=Documentation,Theme=L'alphabet,Niveau=6,Classe=Alpha}
- \begin{exercice}
- A
- \end{exercice}
- \begin{exercice}
- B
- \end{exercice}
- \begin{exercice}
- C
- \end{exercice}
- \begin{exercice}
- D
- \end{exercice}
-\end{Maquette}
-\end{document}
-%%% Local Variables:
-%%% TeX-engine: luatex
-%%% End: \ No newline at end of file
diff --git a/macros/latex/contrib/profmaquette/doc/pg_0002-crop.pdf b/macros/latex/contrib/profmaquette/doc/pg_0002-crop.pdf
deleted file mode 100644
index c146dfabd6..0000000000
--- a/macros/latex/contrib/profmaquette/doc/pg_0002-crop.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/profmaquette/latex/ProfMaquette.sty b/macros/latex/contrib/profmaquette/latex/ProfMaquette.sty
index ffa3eb53ec..a9131f1115 100644
--- a/macros/latex/contrib/profmaquette/latex/ProfMaquette.sty
+++ b/macros/latex/contrib/profmaquette/latex/ProfMaquette.sty
@@ -2,12 +2,17 @@
% licence : Released under the LaTeX Project Public License v1.3c
% or later, see http://www.latex-project.org/lppl.txtf
\NeedsTeXFormat{LaTeX2e}%
-\def\filedate{2024/03/06}%
+\def\filedate{2024/03/24}%
\let\PfMfiledate\filedate%
-\def\fileversion{0.88}%
+\def\fileversion{0.89}%
\let\PfMfileversion\fileversion%
+
\ProvidesPackage{ProfMaquette}[\filedate\space v\fileversion\space Maquettage de documents]%
+\newif\if@Dyslexie \@Dyslexiefalse
+
+\DeclareOption{Dyslexie}{\@Dyslexietrue}
+\ProcessOptions\relax
% packages nécessaires
\RequirePackage{verbatim}%
@@ -36,7 +41,7 @@
\makeatother
%définition des clés
\RequirePackage{simplekv}%
-\setKVdefault[Boulot]{Dys=false,Taille=14,Cours=false,Base=false,BaseHTML=false,CAN=false,Fiche=false,DM=false,DS=false,IE=false,Kholle=false,RecapBrevet=false,PdT=false,Parcours=false,Contrat=false,FdR=false,ParcoursPerso=false,CorrigeApres=false,CorrigeFin=false,CorrigeAll=false,Brevet=false,BaremeComplet=false,BaremeGlobal=false,CorrectionColonnes=false,Epaisseur=0pt,AllDirect=false,AllPouce=false,VersSolution=false}%Les deux derniers pour essayer de mettre tous les exercices d'un même fichier en mode Reponse, en mode Indice. Pas implanté, pas testé
+\setKVdefault[Boulot]{Dys=false,Taille=14,Cours=false,Base=false,BaseHTML=false,CAN=false,Fiche=false,DM=false,DS=false,IE=false,Kholle=false,RecapBrevet=false,PdT=false,Parcours=false,Contrat=false,FdR=false,ParcoursPerso=false,CorrigeSeul=false,CorrigeApres=false,CorrigeFin=false,CorrigeAll=false,Brevet=false,BaremeComplet=false,BaremeGlobal=false,CorrectionColonnes=false,Epaisseur=0pt,AllDirect=false,AllPouce=false,VersSolution=false,Small=false,Footnotesize=false,Scriptsize=false}%Les deux derniers pour essayer de mettre tous les exercices d'un même fichier en mode Reponse, en mode Indice. Pas implanté, pas testé
\defKV[Boulot]{Colonnes=\setKV[Boulot]{CorrectionColonnes}}%
\setKVdefault[Cours]{Couleur=Crimson,Theme=Trace écrite,NomExercice=Exercice}%
\setKVdefault[DM]{Numero=1,Date=\today,Classe={},Niveau=3,Code=\jobname}%
@@ -53,7 +58,7 @@
\setKVdefault[Kholle]{Sujet=1,Numero=1,Date=15,Niveau=TSI-1,Code=\jobname,Lieu=Lycée
du Hainaut (Valenciennes),NomEleve=Albert Einstein,CR=false}%
\setKVdefault[CAN]{Date=\today,Niveau=6,Duree=9,CoefQ=0.4,CoefR=0.35,CoefJ=0.1}%
-\setKVdefault[ClesExercices]{NbQuestions=1,PasTitre=false,AffichageSource=false,BaremeTotal,BaremeDetaille=false,MotPoint=point,AffichageTitre=false,Calculatrice=true,Oral=false,Difficulte=0,AffichageCompetence=false,PasCorrige=false,Direct=false,Pouce=false,Parcours=false,Contrat=false,FdR=false,Routes=false,Stops=false,Background=white,Cadre=gray!50,Numerote,Ligne=false,Cadres=false,TitreSol=false,NonUtilise=false,Profile=false}%
+\setKVdefault[ClesExercices]{NbQuestions=1,PasTitre=false,AffichageSource=false,BaremeTotal,BaremeDetaille=false,MotPoint=point,AffichageTitre=false,Calculatrice=true,Oral=false,Difficulte=0,AffichageCompetence=false,PasCorrige=false,Direct=false,Pouce=false,Parcours=false,Contrat=false,FdR=false,Routes=false,Stops=false,Background=white,Cadre=gray!50,Numerote,Ligne=false,Doublespacing=false,Onehalfspacing=false,Cadres=false,TitreSol=false,NonUtilise=false,Profile=false}%
\defKV[ClesExercices]{TitreSolution=\setKV[ClesExercices]{TitreSol}}%
\defKV[ClesExercices]{Source=\setKV[ClesExercices]{AffichageSource}}%
\defKV[ClesExercices]{Titre=\setKV[ClesExercices]{AffichageTitre}}%
@@ -1015,11 +1020,11 @@
\def\PfMTexteDuCorrige{Corrigé de l'exercice}
\NewDocumentCommand\PfMAffichageCorrige{}{%
- \ifboolKV[Boulot]{CAN}{%Toto
+ \ifboolKV[Boulot]{CAN}{%
\xintFor* ##1 in{\xintSeq{1}{\PfMCANTotalExo}}\do{%
\setcounter{PfMExoSol}{##1}%
\setcounter{PfMAlea}{0}%
- \IfFileExists{\jobname-Ex##1.sol}{\textbf{Question\ifnum\PfMCANTotalExo=1\relax\else~\ref{page-\thePfMMaquette-##1} :\fi}~\input{\jobname-Ex##1.sol}\par\goodbreak}{}%
+ \IfFileExists{\jobname-Ex##1.sol}{\textbf{Question\ifnum\PfMCANTotalExo=1\relax\else~\ref{TestCAN-##1}:\fi}~\input{\jobname-Ex##1.sol}\par\goodbreak}{}%page-\thePfMMaquette-##1
}%
}{%
\setcounter{PfMExoSol}{0}%
@@ -1259,7 +1264,7 @@
}%
}%
-\NewDocumentEnvironment{exerciceDM}{so+b}{%
+\NewDocumentEnvironment{exerciceDM}{so}{%
\setcounter{PfMAlea}{0}%
\useKVdefault[ClesExercices]%
\setKV[ClesExercices]{#2}%
@@ -1288,11 +1293,11 @@
label=page-\thePfMMaquette-\thePfMExo,%
]%
\ifboolKV[Boulot]{Dys}{\raggedright}{}%
- #3
+ }
+}{%
\end{tcolorbox}%
\PfMApresLesExercices%
- }
-}{}%
+}%
%%Contrat
@@ -1415,7 +1420,7 @@
}%
-\NewDocumentEnvironment{exerciceContrat}{so+b}{%
+\NewDocumentEnvironment{exerciceContrat}{so}{%
\setcounter{PfMAlea}{0}%
\setcounter{PfMNbLogo}{1}%
\useKVdefault[ClesExercices]%
@@ -1451,11 +1456,11 @@
label=page-\thePfMMaquette-\thePfMExo
]
\ifboolKV[Boulot]{Dys}{\raggedright}{}%
- #3
+ }%
+}{%
\end{tcolorbox}
\PfMApresLesExercices%
- }%
-}{}%
+}%
%%% Contrat %%%
\tcbset{%
@@ -1761,7 +1766,7 @@
\immediate\write\@auxout{\noexpand\expandafter\gdef\noexpand\csname \Roman{PfMMaquette}FdR#1\endcsname{\csname \Roman{PfMMaquette}route#1\endcsname}}%
}%
-\NewDocumentEnvironment{exerciceFdR}{so+b}{%
+\NewDocumentEnvironment{exerciceFdR}{so}{%
\setcounter{PfMAlea}{0}%
\setcounter{PfMNbLogo}{1}%
\useKVdefault[ClesExercices]%
@@ -1810,11 +1815,11 @@
label=page-\thePfMMaquette-\thePfMExo
]
\ifboolKV[Boulot]{Dys}{\raggedright}{}%
- #3
+ }%
+}{%
\end{tcolorbox}
\PfMApresLesExercices%
- }%
-}{}%
+}%
%CAN
\setsepchar[*]{,*/}%
@@ -1876,6 +1881,11 @@
}%
}%
+\newlength\PfMEspaceItemPGCAN
+\newlength\PfMEspaceTitreSujetPGCAN
+\setlength{\PfMEspaceItemPGCAN}{0.5em}
+\setlength{\PfMEspaceTitreSujetPGCAN}{12pt}
+
\makeatletter
\NewDocumentCommand\TikzCAN{}{%
\begin{tcolorbox}[usercan]%
@@ -1889,11 +1899,11 @@
\end{minipage}
\tcblower
\begin{itemize}
- \item[\faCheck] \textbf{Durée : \useKV[CAN]{Duree} minutes.}\\[0.5em]
- \item[\faCheck] \textit{L'épreuve comporte \@ifundefined{Op@TotalExo}{Recompilez}{\opexport{TotalExo}{\TotalExo}\TotalExo{} question\ifnum\TotalExo=1\else\relax s\fi.}}\\[0.5em]
+ \item[\faCheck] \textbf{Durée : \useKV[CAN]{Duree} minutes.}\\[\PfMEspaceItemPGCAN]
+ \item[\faCheck] \textit{L'épreuve comporte \@ifundefined{Op@TotalExo}{Recompilez}{\opexport{TotalExo}{\TotalExo}\TotalExo{} question\ifnum\TotalExo=1\else\relax s\fi.}}\\[\PfMEspaceItemPGCAN]
\item[\faCheck] \textit{L'usage de la calculatrice et du brouillon sont interdits. Il n'est pas permis d'écrire des calculs intermédiaires.}
\end{itemize}
- \vspace*{12pt}
+ \vspace*{\PfMEspaceTitreSujetPGCAN}
\end{tcolorbox}%
\begin{center}
\Large Sujet \useKV[CAN]{Niveau}\hspace{0.15\linewidth}\useKV[CAN]{Date}
@@ -2089,7 +2099,7 @@
\def\endexerciceParcoursPerso{\immediate\write\verbatim@out{\string\end{exercice}}\immediate\closeout\verbatim@out\@esphack}%
-\NewDocumentEnvironment{exerciceParcours}{so+b}{%
+\NewDocumentEnvironment{exerciceParcours}{so}{%
\setcounter{PfMAlea}{0}%
\setcounter{PfMNbLogo}{1}%
\useKVdefault[ClesExercices]%
@@ -2125,11 +2135,11 @@
label=page-\thePfMMaquette-\thePfMExo
]
\ifboolKV[Boulot]{Dys}{\raggedright}{}%
- #3
+ }
+}{%
\end{tcolorbox}
\PfMApresLesExercices%
- }
-}{}%
+}%
%%%%%%%%%%%%%%%%%%%%%%%
% Pour encart
@@ -2158,9 +2168,39 @@
}%
}%
+% From setspace.sty
+\NewDocumentCommand\PfMSetStretch{}{%
+ \ifboolKV[ClesExercices]{Doublespacing}{%
+ \setstretch {1.667}% default
+ \ifx\@ptsize\@undefined\else
+ \ifcase \@ptsize \relax% 10pt
+ \setstretch {1.667}%
+ \or % 11pt
+ \setstretch {1.618}%
+ \or % 12pt
+ \setstretch {1.655}%
+ \fi
+ \fi
+ }{%
+ \ifboolKV[ClesExercices]{Onehalfspacing}{%
+ \setstretch{1.25}% default
+ \ifx\@ptsize\@undefined\else
+ \ifcase \@ptsize \relax % 10pt
+ \setstretch {1.25}%
+ \or % 11pt
+ \setstretch {1.213}%
+ \or % 12pt
+ \setstretch {1.241}%
+ \fi%
+ \fi%
+ }{}%
+ }%
+}%
+
\NewDocumentCommand\PfMApresLesExercices{}{%
\ifboolKV[ClesExercices]{Ligne}{%
- \par\vspace{\PfMEspaceAvantLignes}\par\PfMLignespointilles{\useKV[ClesExercices]{Lignes}}%
+ % \vspace{\PfMEspaceAvantLignes}
+ \PfMSetStretch\PfMLignespointilles{\useKV[ClesExercices]{Lignes}}%
\par\vspace*{\PfMEspaceApresLignes}\par%
}{}%
\par%
@@ -2228,6 +2268,7 @@
\refstepcounter{PfMSection}%
\PfMChoixCorrection%
\refstepcounter{PfMExo}%
+ \ifboolKV[Boulot]{CorrigeSeul}{}{%
\PfMChoixTitreSolution%
\PfMChoixHideItemSolution%
\begin{tcolorbox}[%
@@ -2241,9 +2282,10 @@
\ifboolKV[ClesExercices]{Profile}{\PfMshowitems}{}%
\PfMApresLesExercices%
}%
+ }
}{}
-\NewDocumentEnvironment{exerciceDS}{so+b}{%
+\NewDocumentEnvironment{exerciceDS}{so}{%
\setcounter{PfMAlea}{0}%
\useKVdefault[ClesExercices]%
\setKV[ClesExercices]{#2}%
@@ -2273,11 +2315,11 @@
label=page-\thePfMMaquette-\thePfMExo
]
\ifboolKV[Boulot]{Dys}{\raggedright}{}%
- #3
+ }%
+}{%
\end{tcolorbox}%
\PfMApresLesExercices%
- }%
-}{}%
+}%
\NewDocumentEnvironment{ExerciceRecapBrevet}{so+b}{%
\setcounter{PfMAlea}{0}%
@@ -3122,9 +3164,23 @@
}%
}%
+\NewDocumentCommand\PfMChangerTailleCorrection{}{%
+ \ifboolKV[Boulot]{Small}{%
+ \small%
+ }{%
+ \ifboolKV[Boulot]{Footnotesize}{%
+ \footnotesize
+ }{%
+ \ifboolKV[Boulot]{Scriptsize}{%
+ \scriptsize
+ }{}%
+ }%
+ }%
+}%
+
%%%%%%%%%%%%%%% Debut Maquette %%%%%%%
% Environnement englobant le tout.
-%\makeatletter
+\makeatletter
\NewDocumentEnvironment{Maquette}{om}{%
% on remet à zéro les compteurs de solutions : inutile ?
\setcounter{RetiensSol}{0}%
@@ -3141,19 +3197,26 @@
% \AddToHook{env/exercice/after}[ChoixExo]{\PfMChoixAffichageCorrection}%
\useKVdefault[Boulot]%
\setKV[Boulot]{#1}%
+ \ifboolKV[Boulot]{CorrigeSeul}{\setKV[Boulot]{CorrigeFin}}{}%
+ \if@Dyslexie
+ \setKV[Boulot]{Dys}
+ \fi
\PfMBasculeDys%
\IfHookExistsTF{env/exercice/after}{\RemoveFromHook{env/exercice/after}[*]\AddToHook{env/exercice/after}[ChoixExo]{\PfMChoixAffichageCorrection}}{\AddToHook{env/exercice/after}[ChoixExo]{\PfMChoixAffichageCorrection}}%
% Test
\IfHookExistsTF{env/exercice/begin}{\RemoveFromHook{env/exercice/begin}[*]}{}%
\IfHookExistsTF{env/Maquette/end}{\RemoveFromHook{env/Maquette/end}[*]}{}%
\ifboolKV[Boulot]{CAN}{%
- \setKV[CAN]{#2}\TikzCAN%
- \setcounter{PfMCNNumQ}{1}%
+ \setKV[CAN]{#2}%
+ \ifboolKV[Boulot]{CorrigeSeul}{}{\TikzCAN}%
+ \PfMChangerTailleCorrection%
+ \setcounter{PfMCNNumQ}{0}%
\setlength{\PfMLargeurQuestion}{\useKV[CAN]{CoefQ}\linewidth}\setlength{\PfMLargeurReponse}{\useKV[CAN]{CoefR}\linewidth}\setlength{\PfMLargeurJury}{\useKV[CAN]{CoefJ}\linewidth}%
\let\exercice\ExoCANWrite\let\endexercice\endExoCANWrite%
\AddToHook{env/exercice/begin}{\setcounter{PfMAlea}{0}}%
\AddToHook{env/Maquette/end}{%
\xdef\PfMCANTotalExo{\thePfMExo}%
+ \ifboolKV[Boulot]{CorrigeSeul}{}{
\setcounter{PfMExo}{0}%
\renewcommand{\arraystretch}{2}%
\begin{longtable}{|c|m{\PfMLargeurQuestion}|>{\centering\arraybackslash}m{\PfMLargeurReponse}|m{\PfMLargeurJury}|}%
@@ -3162,12 +3225,13 @@
\hline%
\endhead%
\xintFor* ##1 in {\xintSeq{1}{\PfMCANTotalExo}}\do{%
- \ttfamily{\thePfMCNNumQ}\stepcounter{PfMCNNumQ}&\Complement{}\stepcounter{PfMExo}\setcounter{PfMAlea}{0}\input{\jobname-Ex##1.can}&\CNReponse&\\
+ \refstepcounter{PfMCNNumQ}\ttfamily{\thePfMCNNumQ}\label{TestCAN-\thePfMCNNumQ}&\Complement{}\stepcounter{PfMExo}\setcounter{PfMAlea}{0}\input{\jobname-Ex##1.can}&\CNReponse&\\
\hline%
}%
\end{longtable}%
\renewcommand{\arraystretch}{1}%
}%
+ }%
\ifboolKV[Boulot]{CorrigeFin}{%
\AddToHook{env/Maquette/after}[Correction]{%
\useKVdefault[Boulot]%
@@ -3306,8 +3370,10 @@
}{}%
}{%
\ifboolKV[Boulot]{Fiche}{%
+ \ifboolKV[Boulot]{CorrigeSeul}{}{%
\setKV[Fiche]{#2}%
\TikzFiche%
+ }%
\let\exercice\exerciceFiche\let\endexercice\endexerciceFiche%
\ifboolKV[Boulot]{CorrigeFin}{%
\ifboolKV[Boulot]{CorrigeAll}{%
@@ -3338,10 +3404,12 @@
}{%
\AddToHook{env/Maquette/after}[Correction]{%
\useKVdefault[Boulot]%
- \setKV[Boulot]{#1}%
- \PfMBasculeDys
+ \setKV[Boulot]{#1}%
+ %%
+ \PfMBasculeDys%
\setlength{\columnseprule}{\useKV[Boulot]{Epaisseur}}%
\TikzFicheCor{#2}%
+ \PfMChangerTailleCorrection%
\ifboolKV[Boulot]{CorrectionColonnes}{\begin{multicols}{\useKV[Boulot]{Colonnes}}}{}%
\PfMAffichageCorrige%
\ifboolKV[Boulot]{CorrectionColonnes}{\end{multicols}}{}%
@@ -3414,7 +3482,7 @@
}%
}%
}{}%
-
+\makeatother
%D'après JCC
% Package pour gérer les nombres pseudo-aléatoires
\makeatletter