2021-04-04 08:12:47 +02:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Affichae des SAE (et leur exemple) pour un semestre %%
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% \affichageSAE{code_semestre} avec code_semestre=A pour le S1, B pour le S2
|
|
|
|
\newcounter{nosae}
|
|
|
|
\newcounter{noexemple}
|
2021-04-07 11:51:19 +02:00
|
|
|
\newcounter{noac}
|
2021-04-04 08:12:47 +02:00
|
|
|
\newcommand{\affichageSAE}[1]{
|
2021-04-10 09:13:52 +02:00
|
|
|
% \addcontentsline{toc}{subsection}{Fiches SAÉs}
|
2021-04-04 08:12:47 +02:00
|
|
|
\xdef\sem{#1}
|
2021-04-10 17:40:06 +02:00
|
|
|
|
2021-04-04 08:12:47 +02:00
|
|
|
\forLoop{1}{\value{cptS\sem}}{nosae}{ % Pour chaque SAE
|
|
|
|
%A\Alph{noressource}
|
|
|
|
\xdef\currentSAE{\sem\Alph{nosae}}
|
2021-04-05 12:05:04 +02:00
|
|
|
|
|
|
|
\xdef\saecode{\csname Scode\currentSAE\endcsname}
|
|
|
|
\xdef\saenom{\csname Sname\currentSAE\endcsname}
|
|
|
|
%\addtocontents{toc}{hihi} %\saecode : \saenom}
|
2021-04-05 12:20:59 +02:00
|
|
|
% \addcontentsline{toc}{subsubsection}{{\saenom}}
|
2021-04-10 17:40:06 +02:00
|
|
|
\phantomsection\label{lab\currentSAE}
|
2021-04-04 08:12:47 +02:00
|
|
|
\tableauSAE{\currentSAE}
|
2021-04-12 22:57:04 +02:00
|
|
|
\newpage
|
2021-04-04 08:12:47 +02:00
|
|
|
\forLoop{1}{\value{cptSexemple\currentSAE}}{noexemple}{
|
2021-04-13 12:51:50 +02:00
|
|
|
\phantomsection\label{lab\currentSAE\Alph{noexemple}}
|
2021-04-04 08:12:47 +02:00
|
|
|
\tableauExempleSAE{\currentSAE}{\Alph{noexemple}}
|
|
|
|
\newpage
|
2021-04-07 11:51:19 +02:00
|
|
|
}
|
|
|
|
|
2021-04-04 08:12:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-04-13 11:51:03 +02:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
% Tableau listant toutes les SAé et leur exemple en guise d'introduction au semestre %
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2021-04-04 08:12:47 +02:00
|
|
|
\newcommand{\listeTitreSAE}[1]{
|
|
|
|
\setlength{\tabcolsep}{0.125cm} % Marge des colonnes
|
|
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
2021-04-13 11:51:03 +02:00
|
|
|
\begin{center}\small
|
|
|
|
\begin{tabular}[t]{|X|Y|Z|}
|
2021-04-13 12:51:50 +02:00
|
|
|
\hline {\bfseries Code} & {\bfseries Titre} & {\bfseries Page} \\ \hline
|
2021-04-04 08:12:47 +02:00
|
|
|
|
2021-04-10 17:40:06 +02:00
|
|
|
\forLoop{1}{\value{cptS#1}}{nosae}{ % Pour chaque SAE
|
2021-04-04 08:12:47 +02:00
|
|
|
%A\Alph{noressource}
|
2021-04-10 17:40:06 +02:00
|
|
|
\xdef\currentSAE{#1\Alph{nosae}} % code de la SAE
|
2021-04-04 08:12:47 +02:00
|
|
|
\xdef\saecode{\csname Scode\currentSAE\endcsname}
|
2021-04-07 11:51:19 +02:00
|
|
|
\xdef\saelink{\csname Slinkcode\currentSAE\endcsname}
|
2021-04-04 08:12:47 +02:00
|
|
|
\xdef\saetitre{\csname Sname\currentSAE\endcsname}
|
2021-04-08 14:44:06 +02:00
|
|
|
{\bfseries \hyperlink{sae:\saecode}{\textcolor{saeC}{\saecode}}}
|
2021-04-04 08:12:47 +02:00
|
|
|
&
|
2021-04-07 11:51:19 +02:00
|
|
|
{\bfseries {\saetitre}}
|
2021-04-13 11:51:03 +02:00
|
|
|
&
|
|
|
|
\pageref{lab\currentSAE}
|
|
|
|
|
|
|
|
|
|
|
|
\ifthenelse{\value{cptSexemple\currentSAE}>0}{
|
|
|
|
\forLoop{1}{\value{cptSexemple\currentSAE}}{noexemple}{
|
|
|
|
\tabularnewline
|
|
|
|
\xdef\exemplecode{\currentSAE\Alph{noexemple}}
|
|
|
|
%\xdef\titreexemple{\csname ESname\exemplecode\endcsname}
|
|
|
|
&
|
2021-04-13 12:59:22 +02:00
|
|
|
%\itshape
|
|
|
|
\hyperlink{exemple:\exemplecode}{\textcolor{exempleC}{Exemple \arabic{noexemple}}}~:
|
2021-04-13 11:51:03 +02:00
|
|
|
{\csname ESname\exemplecode\endcsname}
|
|
|
|
&
|
2021-04-13 12:51:50 +02:00
|
|
|
\pageref{lab\currentSAE\Alph{noexemple}}
|
2021-04-13 11:51:03 +02:00
|
|
|
% \tabularnewline
|
|
|
|
}
|
|
|
|
}{}
|
|
|
|
%\end{tabular}
|
2021-04-07 11:51:19 +02:00
|
|
|
\tabularnewline
|
|
|
|
\hline
|
2021-04-04 08:12:47 +02:00
|
|
|
}
|
|
|
|
\end{tabular}
|
2021-04-13 11:51:03 +02:00
|
|
|
\end{center}
|
2021-04-04 08:12:47 +02:00
|
|
|
}
|
|
|
|
|
2021-04-13 11:55:41 +02:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
% Tableau listant toutes les ressources et leur exemple en guise d'introduction au semestre %
|
|
|
|
% -> obsolète avec le listeTitreRessourceIndex d'Emmanuel
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2021-04-04 08:12:47 +02:00
|
|
|
\newcommand{\listeTitreRessource}[1]{
|
|
|
|
\setlength{\tabcolsep}{0.125cm} % Marge des colonnes
|
|
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
2021-04-13 11:55:41 +02:00
|
|
|
|
|
|
|
\begin{tabular}[t]{|X|Y|Z|}
|
2021-04-10 17:40:06 +02:00
|
|
|
\hline {\bfseries Code} & {\bfseries Nom} \\
|
2021-04-04 08:12:47 +02:00
|
|
|
\hline
|
|
|
|
|
2021-04-10 17:40:06 +02:00
|
|
|
\forLoop{1}{\value{cptR#1}}{noressource}{ % Pour chaque SAE
|
2021-04-04 08:12:47 +02:00
|
|
|
%A\Alph{noressource}
|
2021-04-10 17:40:06 +02:00
|
|
|
\def\CODE{#1\Alph{noressource}} % code de la SAE
|
2021-04-04 08:12:47 +02:00
|
|
|
\xdef\rescode{\csname Rcode\CODE\endcsname}
|
|
|
|
\xdef\resnom{\csname Rname\CODE\endcsname}
|
2021-04-08 14:44:06 +02:00
|
|
|
{\bfseries \hyperlink{res:\rescode}{\textcolor{ressourceC}{\rescode}}}
|
2021-04-04 08:12:47 +02:00
|
|
|
&
|
2021-04-07 11:51:19 +02:00
|
|
|
{\resnom}
|
2021-04-04 08:12:47 +02:00
|
|
|
\tabularnewline
|
|
|
|
\hline
|
|
|
|
}
|
|
|
|
\end{tabular}
|
|
|
|
}
|
|
|
|
|
2021-04-10 17:40:06 +02:00
|
|
|
% Table des ressources pour index début document
|
|
|
|
\newcommand{\listeTitreRessourceIndex}[1]{
|
|
|
|
\setlength{\tabcolsep}{0.125cm} % Marge des colonnes
|
|
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
2021-04-11 11:46:43 +02:00
|
|
|
\begin{center}\small
|
|
|
|
\begin{tabular}[t]{|X|Y|Z|}
|
2021-04-10 17:40:06 +02:00
|
|
|
\hline {\bfseries Code} & {\bfseries Nom} & {\bfseries Page} \\
|
|
|
|
\hline
|
|
|
|
|
|
|
|
\forLoop{1}{\value{cptR#1}}{noressource}{ % Pour chaque SAE
|
|
|
|
%A\Alph{noressource}
|
|
|
|
\xdef\CODE{#1\Alph{noressource}} % code de la SAE
|
|
|
|
\xdef\rescode{\csname Rcode\CODE\endcsname}
|
|
|
|
\xdef\resnom{\csname Rname\CODE\endcsname}
|
|
|
|
{\bfseries \hyperlink{res:\rescode}{\textcolor{ressourceC}{\rescode}}}
|
|
|
|
&
|
|
|
|
{\resnom}
|
|
|
|
&
|
|
|
|
\pageref{res\CODE}
|
|
|
|
\tabularnewline
|
|
|
|
\hline
|
|
|
|
}
|
|
|
|
\end{tabular}
|
|
|
|
\end{center}
|
|
|
|
}
|
|
|
|
|
|
|
|
% Tableau listant toutes les SAé du semestre (sans les exemples),
|
|
|
|
% avec numéros de page pour tableau index
|
|
|
|
\newcommand{\listeTitreSAEIndex}[1]{
|
|
|
|
\setlength{\tabcolsep}{0.125cm} % Marge des colonnes
|
|
|
|
\setlength{\extrarowheight}{2pt} % Marge des lignes
|
2021-04-11 11:46:43 +02:00
|
|
|
\begin{center}\small
|
|
|
|
\begin{tabular}[t]{|X|Y|Z|}
|
2021-04-10 17:40:06 +02:00
|
|
|
\hline {\bfseries Code} & {\bfseries Titre} & {\bfseries Page} \\ \hline
|
|
|
|
|
|
|
|
\forLoop{1}{\value{cptS#1}}{nosae}{ % Pour chaque SAE
|
|
|
|
%A\Alph{noressource}
|
|
|
|
\xdef\currentSAE{#1\Alph{nosae}} % code de la SAE
|
|
|
|
\xdef\saecode{\csname Scode\currentSAE\endcsname}
|
|
|
|
\xdef\saelink{\csname Slinkcode\currentSAE\endcsname}
|
|
|
|
\xdef\saetitre{\csname Sname\currentSAE\endcsname}
|
|
|
|
{\bfseries \hyperlink{sae:\saecode}{\textcolor{saeC}{\saecode}}}
|
|
|
|
&
|
|
|
|
{\saetitre}
|
|
|
|
&
|
|
|
|
\pageref{lab\currentSAE}
|
|
|
|
|
|
|
|
\tabularnewline
|
|
|
|
\hline
|
|
|
|
}
|
|
|
|
\end{tabular}
|
|
|
|
\end{center}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-04-04 08:12:47 +02:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Affichage des ressources %%
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\newcounter{noressource}
|
|
|
|
\newcommand{\affichageRessource}[1]{
|
|
|
|
\xdef\sem{#1}
|
|
|
|
\forLoop{1}{\value{cptR\sem}}{noressource}{
|
|
|
|
%A\Alph{noressource}
|
2021-04-10 17:40:06 +02:00
|
|
|
\phantomsection\label{res#1\Alph{noressource}}
|
|
|
|
\tableauRessource{#1\Alph{noressource}}
|
2021-04-04 08:12:47 +02:00
|
|
|
\newpage
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|