[21] | 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 2 | \catcode`\@=11 |
---|
| 3 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 4 | |
---|
| 5 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 6 | \def\enable{enable} |
---|
| 7 | \def\disable{disable} |
---|
| 8 | \def\leader{leader} |
---|
| 9 | \newenvironment{taskinfo}% |
---|
| 10 | {% |
---|
| 11 | \let\ALL\disable% |
---|
| 12 | \let\IRISA\disable% |
---|
| 13 | \let\CITI\disable% |
---|
| 14 | \let\LIP\disable% |
---|
| 15 | \let\TIMA\disable% |
---|
| 16 | \let\UBS\disable% |
---|
| 17 | \let\UPMC\disable% |
---|
| 18 | \let\BULL\disable% |
---|
| 19 | \let\THALES\disable% |
---|
| 20 | \let\ZIED\disable% |
---|
| 21 | }{% |
---|
| 22 | \ifx\ALL\enable% |
---|
| 23 | \ifx\IRISA\disable\let\IRISA\enable\fi% |
---|
| 24 | \ifx\CITI\disable\let\CITI\enable\fi% |
---|
| 25 | \ifx\LIP\disable\let\LIP\enable\fi% |
---|
| 26 | \ifx\UPMC\disable\let\UPMC\enable\fi% |
---|
| 27 | \ifx\TIMA\disable\let\TIMA\enable\fi% |
---|
| 28 | \ifx\UBS\disable\let\UBS\enable\fi% |
---|
| 29 | \ifx\BULL\disable\let\BULL\enable\fi% |
---|
| 30 | \ifx\THALES\disable\let\THALES\enable\fi% |
---|
| 31 | \ifx\ZIED\disable\let\ZIED\enable\fi% |
---|
| 32 | \fi% |
---|
| 33 | \def\@IRISA{\ifx\IRISA\disable{}\else\ifx\IRISA\enable{*}\else{l}\fi\fi}% |
---|
| 34 | \def\@CITI{\ifx\CITI\disable{}\else\ifx\CITI\enable{*}\else{l}\fi\fi}% |
---|
| 35 | \def\@LIP{\ifx\LIP\disable{}\else\ifx\LIP\enable{*}\else{l}\fi\fi}% |
---|
| 36 | \def\@UPMC{\ifx\UPMC\disable{}\else\ifx\UPMC\enable{*}\else{l}\fi\fi}% |
---|
| 37 | \def\@TIMA{\ifx\TIMA\disable{}\else\ifx\TIMA\enable{*}\else{l}\fi\fi}% |
---|
| 38 | \def\@UBS{\ifx\UBS\disable{}\else\ifx\UBS\enable{*}\else{l}\fi\fi}% |
---|
| 39 | \def\@BULL{\ifx\BULL\disable{}\else\ifx\BULL\enable{*}\else{l}\fi\fi}% |
---|
| 40 | \def\@THALES{\ifx\THALES\disable{}\else\ifx\THALES\enable{*}\else{l}\fi\fi}% |
---|
| 41 | \def\@ZIED{\ifx\ZIED\disable{}\else\ifx\ZIED\enable{*}\else{l}\fi\fi}% |
---|
| 42 | \begin{tabular}{|c|c|c|c|c|c|c|c|c|}\hline |
---|
| 43 | \irisa & \citi & \lip & \tima & \ubs & \upmc & \bull & \thales & \zied \\\hline |
---|
| 44 | \@IRISA & \@CITI & \@LIP & \@TIMA & \@UBS & \@UPMC & \@BULL & \@THALES & \@ZIED \\\hline |
---|
| 45 | \end{tabular}\par |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 49 | \newenvironment{objectif}% |
---|
| 50 | {\begin{description}\item[Objectives]} |
---|
| 51 | {\end{description}} |
---|
| 52 | |
---|
| 53 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 54 | \newenvironment{workpackage}[1]% |
---|
| 55 | {\newcount\wpcnt\wpcnt=0% |
---|
| 56 | \def\taskname{#1}% |
---|
| 57 | \begin{description}% |
---|
| 58 | \let\itemsave\item% |
---|
| 59 | \def\item{% |
---|
| 60 | \advance\wpcnt1 |
---|
| 61 | \def\wpname{\taskname-\the\wpcnt}% |
---|
| 62 | \itemsave[\wpname]}} |
---|
| 63 | {\end{description}} |
---|
| 64 | |
---|
| 65 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 66 | \newenvironment{livrable}% |
---|
| 67 | {% |
---|
| 68 | \ifvmode\else\\\fi |
---|
| 69 | \def\item##1##2##3##4##5##6{% |
---|
| 70 | \gdef\name{\wpname##1}% |
---|
| 71 | \\\hline |
---|
| 72 | \begin{small}\textsc{\name}\end{small} & |
---|
| 73 | \begin{small}\textsc{T0+##3}\end{small} & |
---|
| 74 | \begin{small}\textsc{##4}\end{small} & |
---|
| 75 | \begin{small}\textsc{##5}\end{small} & |
---|
| 76 | } |
---|
| 77 | % \begin{small} |
---|
| 78 | \begin{tabular}{|c|c|c|c|p{.55\linewidth}|}\hline% |
---|
| 79 | \makebox[5em]{number} & \makebox[3em]{date} & type & resp. & description |
---|
| 80 | } |
---|
| 81 | {\\\hline\end{tabular}% |
---|
| 82 | %\end{small}\\% |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
| 86 | \catcode`\@=12 |
---|
| 87 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|