2021-03-29 10:46:02 +02:00
|
|
|
|
|
|
|
% Les formats de colonnes
|
|
|
|
\newcolumntype{P}{>{}m{3.6cm}<{}}
|
|
|
|
\newcolumntype{Q}{>{}m{4.6cm}<{}} % 4.1 pour équiréparti
|
|
|
|
\newcolumntype{C}{>{}p{5.555cm}<{}}
|
|
|
|
\newcolumntype{T}{>{}p{13.325cm}<{}} % 12.825cm
|
|
|
|
|
|
|
|
% Compteur de ligne pour les tableaux
|
|
|
|
\newcounter{noligne}
|
|
|
|
|
|
|
|
% Tableau des apprentissages critiques
|
|
|
|
\newcommand*{\tableauAC}[2]{%
|
|
|
|
\begin{tabular}[t]{@{}C@{}}%
|
|
|
|
\xdef\CODE{#1} % le code de la ressource sous la forme AA
|
|
|
|
\xdef\COMP{#2} % le code de la compétence sous la forme A
|
|
|
|
|
2021-04-02 17:38:56 +02:00
|
|
|
\forLoop{1}{\value{cptRac\CODE\COMP}}{noligne}{
|
2021-04-02 16:24:03 +02:00
|
|
|
\xdef\contenu{{\csname Raccode\CODE\COMP\Alph{noligne}\endcsname} |
|
|
|
|
{\csname Racname\CODE\COMP\Alph{noligne}\endcsname}}
|
2021-03-29 10:46:02 +02:00
|
|
|
\contenu
|
|
|
|
\tabularnewline %
|
|
|
|
}
|
|
|
|
\end{tabular}%
|
|
|
|
}%
|
|
|
|
|
|
|
|
% Tableau des SAE
|
|
|
|
\newcommand*{\tableauSAE}[1]{%
|
|
|
|
\xdef\CODE{#1} % le code de la ressource sous la forme AA
|
2021-04-02 17:38:56 +02:00
|
|
|
\ifthenelse{\equal{\value{cptRsae\CODE}}{0}}{ % Si pas de prérequis
|
2021-03-29 10:46:02 +02:00
|
|
|
Aucune
|
|
|
|
}{
|
|
|
|
\begin{tabular}[t]{@{}T@{}}%
|
2021-04-02 17:38:56 +02:00
|
|
|
\forLoop{1}{\value{cptRsae\CODE}}{noligne}{
|
2021-04-02 16:24:03 +02:00
|
|
|
\xdef\contenu{{\csname Rsaecode\CODE\Alph{noligne}\endcsname} |
|
|
|
|
{\csname Rsaename\CODE\Alph{noligne}\endcsname}}
|
2021-03-29 10:46:02 +02:00
|
|
|
\contenu
|
|
|
|
\tabularnewline %
|
|
|
|
}
|
|
|
|
\end{tabular}%
|
|
|
|
}
|
|
|
|
}%
|
|
|
|
|
|
|
|
% Tableau des pré-requis
|
|
|
|
\newcommand*{\tableauPrerequis}[1]{%
|
|
|
|
\xdef\CODE{#1} % le code de la ressource sous la forme AA
|
2021-04-02 17:38:56 +02:00
|
|
|
\ifthenelse{\equal{\value{cptRprerequis\CODE}}{0}}{ % Si pas de prérequis
|
2021-03-29 10:46:02 +02:00
|
|
|
Aucun
|
|
|
|
}{ % Si des pré-requis
|
|
|
|
\begin{tabular}[t]{@{}T@{}}%
|
|
|
|
|
2021-04-02 17:38:56 +02:00
|
|
|
\forLoop{1}{\value{cptRprerequis\CODE}}{noligne}{
|
2021-04-02 16:24:03 +02:00
|
|
|
\xdef\contenu{{\csname Rprerequiscode\CODE\Alph{noligne}\endcsname} |
|
|
|
|
{\csname Rprerequisname\CODE\Alph{noligne}\endcsname}}
|
2021-03-29 10:46:02 +02:00
|
|
|
\contenu
|
|
|
|
\tabularnewline %
|
|
|
|
}
|
|
|
|
\end{tabular}%
|
|
|
|
}
|
|
|
|
}%
|
|
|
|
|
|
|
|
% Tableau du descriptif detaillé
|
|
|
|
\newcommand*{\tableauDescriptif}[1]{%
|
|
|
|
\xdef\CODE{#1} % le code de la ressource sous la forme AA
|
|
|
|
|
|
|
|
\begin{tabular}[t]{@{}T@{}}
|
2021-04-02 10:46:42 +02:00
|
|
|
% {\bfseries Ancrage et contexte professionnel :} \\
|
2021-04-02 16:24:03 +02:00
|
|
|
\csname Rancrage\CODE\endcsname \\
|
2021-03-29 10:46:02 +02:00
|
|
|
{\bfseries Contenus :} \\
|
2021-04-02 14:59:08 +02:00
|
|
|
%{\setlength{\extrarowheight}{1pt}
|
2021-04-02 16:24:03 +02:00
|
|
|
\csname Rcontenu\CODE\endcsname
|
2021-04-02 14:59:08 +02:00
|
|
|
%}
|
2021-03-29 10:46:02 +02:00
|
|
|
\end{tabular}
|
|
|
|
}
|
|
|
|
|
|
|
|
%\begin{list}{$\bullet$}{\topsep=0pt \partopsep=0pt \parsep=0pt \itemsep=0pt \leftmargin=1em \itemindent=0em}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% Le tableau complet
|
|
|
|
\newcommand\tableauRessource[1]{
|
|
|
|
|
|
|
|
\xdef\CODE{#1} % code de la ressource (par ex: AA avec A=1er semestre, A=1ère ressource)
|
|
|
|
|
|
|
|
|
|
|
|
\setlength{\tabcolsep}{0.125cm} % Marge des colonnes
|
2021-04-02 11:50:22 +02:00
|
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
2021-03-29 10:46:02 +02:00
|
|
|
|
|
|
|
% 1er tableau : Nom/Code/Heures
|
|
|
|
\begin{tabular}[t]{|P|Q|P|Q|}
|
|
|
|
\hline % 1ère ligne
|
|
|
|
{\bfseries Ressource}
|
2021-04-02 16:24:03 +02:00
|
|
|
& \multicolumn{3}{l|}{\bfseries \csname Rname\CODE\endcsname} \\
|
2021-03-29 10:46:02 +02:00
|
|
|
\hline % 2ème ligne
|
|
|
|
{\bfseries Code}
|
2021-04-02 16:24:03 +02:00
|
|
|
& \csname Rcode\CODE\endcsname
|
2021-03-29 10:46:02 +02:00
|
|
|
& {\bfseries Semestre}
|
2021-04-02 16:24:03 +02:00
|
|
|
& \csname Rsem\CODE\endcsname \\
|
2021-03-29 10:46:02 +02:00
|
|
|
\hline % 3ème ligne Heures
|
|
|
|
{ \setlength{\extrarowheight}{0pt}
|
|
|
|
\begin{tabular}[t]{@{}Q@{}} \bfseries Heures de formation \\ \bfseries encadrées \end{tabular}
|
|
|
|
}
|
2021-04-02 16:24:03 +02:00
|
|
|
& {\csname Rtraining\CODE\endcsname}h
|
2021-03-29 10:46:02 +02:00
|
|
|
& {\bfseries dont heures de TP}
|
2021-04-02 16:24:03 +02:00
|
|
|
& {\csname Rtp\CODE\endcsname}h \\
|
2021-03-29 10:46:02 +02:00
|
|
|
\hline
|
|
|
|
\end{tabular}
|
|
|
|
|
|
|
|
% 2ème tableau : compétences et apprentissages critiques
|
|
|
|
\begin{tabular}[t]{|C|C|C|}
|
|
|
|
\hline
|
|
|
|
\multicolumn{3}{|c|}{\bfseries Compétence(s) ciblées et apprentissage(s) critique(s) couvert(s)} \\
|
|
|
|
\hline
|
2021-04-02 16:24:03 +02:00
|
|
|
\textit{\csname Rcomp\CODE A\endcsname} | {\csname Rniveau\CODE A\endcsname}
|
2021-03-29 10:46:02 +02:00
|
|
|
&
|
2021-04-02 16:24:03 +02:00
|
|
|
\textit{\csname Rcomp\CODE B\endcsname} | {\csname Rniveau\CODE B\endcsname}
|
2021-03-29 10:46:02 +02:00
|
|
|
&
|
2021-04-02 16:24:03 +02:00
|
|
|
\textit{\csname Rcomp\CODE C\endcsname} | {\csname Rniveau\CODE C\endcsname}
|
2021-03-29 10:46:02 +02:00
|
|
|
\\
|
|
|
|
\hline % AC de RT1
|
|
|
|
{\tableauAC{\CODE}{A}
|
|
|
|
}
|
|
|
|
& % AC de RT2
|
|
|
|
{\tableauAC{\CODE}{B}
|
|
|
|
}
|
|
|
|
& % AC de RT3
|
|
|
|
{\tableauAC{\CODE}{C}
|
|
|
|
}
|
|
|
|
\\
|
|
|
|
\hline
|
|
|
|
\end{tabular}
|
|
|
|
|
|
|
|
% 3ème tableau : SAE, descriptif
|
|
|
|
\begin{tabular}[t]{|P|T|}
|
|
|
|
\hline
|
|
|
|
{\bfseries SAÉ concernée(s) } & \tableauSAE{\CODE} \\
|
|
|
|
\hline
|
|
|
|
{\bfseries Prérequis} & \tableauPrerequis{\CODE} \\
|
|
|
|
\hline
|
|
|
|
{\bfseries Descriptif détaillé } & \tableauDescriptif{\CODE} \\
|
|
|
|
\hline
|
2021-04-02 16:24:03 +02:00
|
|
|
{\bfseries Mots-clés} & {\csname Rmotscles\CODE\endcsname} \\
|
2021-03-29 10:46:02 +02:00
|
|
|
\hline
|
|
|
|
|
|
|
|
\end{tabular}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} % Fin de la commande
|