102 lines
4.2 KiB
TeX
102 lines
4.2 KiB
TeX
|
|
%%%%%%%%%%%%%%%%% Compétences & Situations professionnelles d'un parcours
|
|
% Usage : \frameParcoursSituationsPro{abbr_parcours}{n°_parcours}
|
|
\newcommand\frameParcoursSituationsPro[2]{
|
|
|
|
\xdef\PARABBR{#1} % Nom du parcours : Cyber
|
|
\xdef\COUPAR{#2} % N° du parcours : 1
|
|
%\def\PARABBR{Cyber}
|
|
%\def\COUPAR{1}
|
|
|
|
|
|
\begin{frame}[plain]{}
|
|
\subsection{Situations professionnelles}
|
|
\begin{tikzpicture}[overlay, remember picture]
|
|
\stdsetup
|
|
\node[text=titlebg] [%
|
|
outer sep=0,inner sep=0mm,%
|
|
fit=(lastpoint)(splitpoint),
|
|
align=left%
|
|
] (xtitle) {\fontsize{20}{40}\bfseries\selectfont Parcours \PARABBR~: situations professionnelles};
|
|
\fill[shade,left color=titlebg,right color=white] (xtitle.south west) rectangle ($ (xtitle.south east) + (0,1mm) $);
|
|
%\node[%
|
|
%outer sep=0,inner sep=2mm,%
|
|
%fit=(toprightcorner)(splitpointbis),
|
|
%rounded corners=2mm,
|
|
%fill=red!10!white,
|
|
%align=left%
|
|
%] (blob) {Les situations professionnelles réfèrent aux \textbf{contextes} dans lesquels les compétences sont mises en jeu. Ses situations varient selon la compétence ciblée.};
|
|
\coordinate(lastpoint) at ($ (xtitle.south west) + (0,-4mm) $);
|
|
|
|
|
|
%\foreach \XX in \comploop {%
|
|
\xdef\loopcompparcours{\csname loopcompparcours\PARABBR \endcsname}
|
|
\foreach \CNOM/\CTYPE/\CLETTRE [count=\COUXX] in \loopcompparcours { % Boucle sur les compétences
|
|
%\foreach \XX in \comploop {%
|
|
|
|
\coordinate (bottompoint) at ($ (lastpoint)+(0,-20mm) $);
|
|
\coordinate (subrefpoint) at ($ (refpoint)+(50mm,0mm) $);
|
|
\begin{pgfonlayer}{main}
|
|
% \draw[thick](lastpoint)--++(-1cm,0);
|
|
\node[outer sep=0,inner sep=0mm,%
|
|
minimum height=25mm,%
|
|
text width=180mm,%200
|
|
align=left,%
|
|
% text=comp\XX p,fill=comp\XX%
|
|
text=black,fill=comp\CTYPE\CLETTRE!20!white%
|
|
] (rightbox) at (lastpoint-|subrefpoint) [anchor=north west] {%
|
|
\ifcsdef{situproname\CNOM A}{ % S'il y a au moins une situation pro
|
|
\begin{list}{\checkmark}{\topsep=0pt \partopsep=0pt \parsep=0pt \itemsep=0pt \leftmargin=1em \itemindent=0em}%
|
|
\foreach \YY in \situloop {%
|
|
\ifcsdef{situproname\CNOM\YY}{\item %
|
|
\textcolor{black}{\csname situproname\CNOM\YY\endcsname}}{}%
|
|
}
|
|
\end{list}%
|
|
}{}
|
|
};
|
|
\coordinate(bottompoint) at ($ (rightbox.south west)+(-10mm,0) $);
|
|
\coordinate(toppoint) at ($ (lastpoint)+(32mm,0mm) $);
|
|
\node[outer sep=0,inner sep=0mm,%
|
|
% text width=45mm,%
|
|
% fit=(bottompoint)(toppoint),
|
|
align=right,%
|
|
% fill=comp\XX,text=comp\XX p%
|
|
] at ($ (rightbox.west)+(-7mm,0) $) [anchor=east] (leftbox) {%-10
|
|
\large\bfseries Situations\\ \large\bfseries professionnelles%
|
|
};
|
|
\end{pgfonlayer}
|
|
\begin{pgfonlayer}{background}
|
|
\coordinate(toppoint) at ($ (rightbox.north west)+(-2mm,2mm) $);
|
|
\coordinate(bottompoint) at ($ (rightbox.south east)+(12mm,-2mm) $);%2,-2
|
|
\node[outer sep=0,inner sep=0mm,
|
|
fit=(toppoint)(bottompoint),
|
|
% fill=comp\XX,
|
|
text=black,fill=comp\CTYPE\CLETTRE!20!white,%
|
|
blur shadow={shadow blur steps=5}
|
|
] (bodybox) {};
|
|
\coordinate (tmpa) at ($ (lastpoint)+(80mm,0) $);
|
|
\coordinate (tmpb) at (tmpa|-bodybox.south);
|
|
\fill[fill=comp\CTYPE\CLETTRE] ($ (rightbox.north west)+(-6mm,0mm) $) rectangle ($ (rightbox.south west)+(-5mm,0) $);
|
|
\coordinate(toppoint) at ($ (lastpoint)+(35mm,2mm) $); % 25
|
|
\node[%
|
|
outer sep=0,inner sep=0mm,%
|
|
text width=35mm,% 25
|
|
fit=(toppoint)(lastpoint|-bodybox.south),%
|
|
align=center,%
|
|
fill=comp\CTYPE\CLETTRE,text=comp\CTYPE\CLETTRE p,%
|
|
blur shadow={shadow blur steps=5}%
|
|
] (headbox) {\large \csname compname\CNOM\endcsname};
|
|
\end{pgfonlayer}
|
|
\coordinate(lastpoint) at ($ (lastpoint|-bodybox.south) + (0,-4mm) $);
|
|
|
|
}
|
|
|
|
% Le numero de pages
|
|
\node[inner sep=0,outer sep=0,text width=33mm,anchor=north,align=center] (testarrow) at ($ (bottomrightcorner)+(0mm,0mm) $) {
|
|
\insertframenumber{}~/~\inserttotalframenumber{}
|
|
};
|
|
\end{tikzpicture}
|
|
\end{frame}
|
|
|
|
}
|