92 lines
2.9 KiB
TeX
92 lines
2.9 KiB
TeX
|
|
|
|
% Le tableau complet présentant une ressource
|
|
\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
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
|
|
|
\arrayrulecolor{ressourceC}
|
|
|
|
% \cellcolor{exempleC}\hypertarget{exemple:\exemplecode}{\textcolor{compCAp!20!white}
|
|
% 1er tableau : Nom/Code/Heures
|
|
\begin{tabular}[t]{|P|Q|V|}
|
|
\hline % 1ère ligne
|
|
\cellcolor{ressourceC} \xdef\rescode{\csname Rcode\CODE\endcsname}
|
|
\textcolor{compCAp!20!white}{\bfseries \hypertarget{res:\rescode}{Ressource \rescode}}
|
|
& \multicolumn{2}{l|}{\cellcolor{ressourceC} \textcolor{compCAp!20!white}{\bfseries \csname Rname\CODE\endcsname}}
|
|
\\
|
|
\hline % 2ème ligne
|
|
%{\bfseries Code}
|
|
%& \csname Rcode\CODE\endcsname
|
|
%&
|
|
\textcolor{ressourceC}{\bfseries Semestre}
|
|
& \multicolumn{2}{l|}{\csname Rsem\CODE\endcsname} \\
|
|
\hline % 3ème ligne Heures
|
|
%{ \setlength{\extrarowheight}{0pt}
|
|
% \begin{tabular}[t]{@{}Q@{}} \bfseries Heures de formation \\ \bfseries encadrées \end{tabular}
|
|
%}
|
|
\hline
|
|
\textcolor{ressourceC}{\bfseries Heures}
|
|
&
|
|
\textcolor{ressourceC}{\bfseries Formation encadrée}
|
|
& {\csname Rtraining\CODE\endcsname}h, dont {\csname Rtp\CODE\endcsname}h de TP \\
|
|
%& % {\bfseries dont heures de TP}
|
|
% {\bfseries dont TP}
|
|
%& {\csname Rtp\CODE\endcsname}h \\
|
|
\hline
|
|
\end{tabular}
|
|
|
|
% 2ème tableau : compétences et apprentissages critiques
|
|
\begin{tabular}[t]{|C|C|C|}
|
|
\hline
|
|
\multicolumn{3}{|c|}{\textcolor{ressourceC}{\bfseries Compétence(s) ciblées, coefficient(s) et apprentissage(s) critique(s) couvert(s)}} \\
|
|
\hline
|
|
\hyperlink{comp:RT1}{\textcolor{compCA}{\textit{\csname Rcomp\CODE A\endcsname}}} {\csname Rniveau\CODE A\endcsname}
|
|
&
|
|
\hyperlink{comp:RT2}{\textcolor{compCB}{\textit{\csname Rcomp\CODE B\endcsname}}} {\csname Rniveau\CODE B\endcsname}
|
|
&
|
|
\hyperlink{comp:RT3}{\textcolor{compCC}{\textit{\csname Rcomp\CODE C\endcsname}}} {\csname Rniveau\CODE C\endcsname}
|
|
\\
|
|
\hline
|
|
\ifcsdef{Rcoeff\CODE A}{coef. {\csname Rcoeff\CODE A\endcsname}}{} &
|
|
\ifcsdef{Rcoeff\CODE B}{coef. {\csname Rcoeff\CODE B\endcsname}}{} &
|
|
\ifcsdef{Rcoeff\CODE C}{coef. {\csname Rcoeff\CODE C\endcsname}}{}
|
|
\\
|
|
\hline % AC de RT1
|
|
{\listeAC{R}{\CODE}{A}{RT1}
|
|
}
|
|
& % AC de RT2
|
|
{\listeAC{R}{\CODE}{B}{RT2}
|
|
}
|
|
& % AC de RT3
|
|
{\listeAC{R}{\CODE}{C}{RT3}
|
|
}
|
|
\\
|
|
\hline
|
|
\end{tabular}
|
|
|
|
% 3ème tableau : SAE, descriptif
|
|
\begin{tabular}[t]{|P|T|}
|
|
\hline
|
|
\textcolor{ressourceC}{\bfseries SAÉ concernée(s) } & \listeSAE{\CODE} \\
|
|
\hline
|
|
\textcolor{ressourceC}{\bfseries Prérequis} & \listePrerequis{\CODE} \\
|
|
\hline
|
|
% {\bfseries Descriptif } & \tableauDescriptif{\CODE} \\
|
|
\textcolor{ressourceC}{\bfseries Descriptif } & \tableauChampLong{\csname Rancrage\CODE\endcsname} \\
|
|
\hline
|
|
\textcolor{ressourceC}{\bfseries Contenus } & \tableauChampLong{\csname Rcontenu\CODE\endcsname}
|
|
\\
|
|
\hline
|
|
\textcolor{ressourceC}{\bfseries Mots-clés} & {\csname Rmotscles\CODE\endcsname} \\
|
|
\hline
|
|
|
|
\end{tabular}
|
|
|
|
|
|
|
|
} % Fin de la commande |