%%%%%%%%%%%%%%%%% Définition d'un parcours % Usage : \frameParcoursDefinition{abbr_parcours}{n°_parcours} \newcommand\frameParcoursDefinition[2]{ \xdef\PARABBR{#1} % Nom du parcours : Cyber \xdef\COUPAR{#2} % N° du parcours : Cyber %\def\PARABBR{Cyber} %\def\COUPAR{1} \begin{frame}[plain]{} \subsection{Compétences \PARABBR} \begin{tikzpicture}[overlay, remember picture] \stdsetup \node[text=titlebg] [% outer sep=0,inner sep=0mm,% fit=(lastpoint)(splitpoint), align=left% ] (xtitle) {\fontsize{20}{40}\scshape\bfseries\selectfont Parcours \PARABBR~: définitions des compétences}; \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=200mm,% align=left,% % text=comp\XX p,fill=comp\XX% text=black,fill=comp\CTYPE\CLETTRE!20!white% ] (rightbox) at (lastpoint-|subrefpoint) [anchor=north west] {% \begin{list}{$\blacktriangleright$}{\topsep=0pt \partopsep=0pt \parsep=0pt \itemsep=0pt \leftmargin=1em \itemindent=0em}% \item \textcolor{black}{\csname compdef\CNOM\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)+(-10mm,0) $) [anchor=east] (leftbox) {% \Large\bfseries Définition% }; \end{pgfonlayer} \begin{pgfonlayer}{background} \coordinate(toppoint) at ($ (rightbox.north west)+(-2mm,2mm) $); \coordinate(bottompoint) at ($ (rightbox.south east)+(2mm,-2mm) $); \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)+(25mm,2mm) $); \node[% outer sep=0,inner sep=0mm,% text width=25mm,% fit=(toppoint)(lastpoint|-bodybox.south),% align=center,% fill=comp\CTYPE\CLETTRE,text=comp\CTYPE\CLETTRE p,% blur shadow={shadow blur steps=5}% ] (headbox) {\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} }