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\ALTERA\disable% |
---|
19 | \let\XILINX\disable% |
---|
20 | \let\BULL\disable% |
---|
21 | \let\THALES\disable% |
---|
22 | \let\ZIED\disable% |
---|
23 | }{% |
---|
24 | \ifx\ALL\enable% |
---|
25 | \ifx\IRISA\disable\let\IRISA\enable\fi% |
---|
26 | \ifx\CITI\disable\let\CITI\enable\fi% |
---|
27 | \ifx\LIP\disable\let\LIP\enable\fi% |
---|
28 | \ifx\UPMC\disable\let\UPMC\enable\fi% |
---|
29 | \ifx\TIMA\disable\let\TIMA\enable\fi% |
---|
30 | \ifx\UBS\disable\let\UBS\enable\fi% |
---|
31 | \ifx\ALTERA\disable\let\ALTERA\enable\fi% |
---|
32 | \ifx\XILINX\disable\let\XILINX\enable\fi% |
---|
33 | \ifx\BULL\disable\let\BULL\enable\fi% |
---|
34 | \ifx\THALES\disable\let\THALES\enable\fi% |
---|
35 | \ifx\ZIED\disable\let\ZIED\enable\fi% |
---|
36 | \fi% |
---|
37 | \def\@leader{\begin{small}\textcolor{red}{lead.}\end{small}} |
---|
38 | \def\@partner{\begin{small}\textcolor{blue}{part.}\end{small}} |
---|
39 | \def\@IRISA{\ifx\IRISA\disable{}\else\ifx\IRISA\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
40 | \def\@CITI{\ifx\CITI\disable{}\else\ifx\CITI\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
41 | \def\@LIP{\ifx\LIP\disable{}\else\ifx\LIP\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
42 | \def\@UPMC{\ifx\UPMC\disable{}\else\ifx\UPMC\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
43 | \def\@TIMA{\ifx\TIMA\disable{}\else\ifx\TIMA\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
44 | \def\@UBS{\ifx\UBS\disable{}\else\ifx\UBS\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
45 | \def\@ALTERA{\ifx\ALTERA\disable{}\else\ifx\ALTERA\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
46 | \def\@XILINX{\ifx\XILINX\disable{}\else\ifx\ALTERA\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
47 | \def\@BULL{\ifx\BULL\disable{}\else\ifx\BULL\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
48 | \def\@THALES{\ifx\THALES\disable{}\else\ifx\THALES\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
49 | \def\@ZIED{\ifx\ZIED\disable{}\else\ifx\ZIED\enable{\@partner}\else{\@leader}\fi\fi}% |
---|
50 | \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|}\hline |
---|
51 | \Sirisa & \Sciti & \Slip & \Stima & \Subs & \Supmc & \Saltera & \Sxilinx & \Sbull & \Sthales & \Szied \\\hline |
---|
52 | \@IRISA & \@CITI & \@LIP & \@TIMA & \@UBS & \@UPMC & \@ALTERA & \@XILINX & \@BULL & \@THALES & \@ZIED \\\hline |
---|
53 | \end{tabular}\par |
---|
54 | } |
---|
55 | |
---|
56 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
57 | \newenvironment{objectif}% |
---|
58 | {\begin{description}\item[Objectives]} |
---|
59 | {\end{description}} |
---|
60 | |
---|
61 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
62 | \newenvironment{workpackage}[1]% |
---|
63 | {\newcount\wpcnt\wpcnt=0% |
---|
64 | \def\taskname{#1}% |
---|
65 | \begin{description}% |
---|
66 | \let\itemsave\item% |
---|
67 | \def\item{% |
---|
68 | \advance\wpcnt1 |
---|
69 | \def\wpname{\taskname-\the\wpcnt}% |
---|
70 | \itemsave[\wpname]}} |
---|
71 | {\end{description}} |
---|
72 | |
---|
73 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
74 | \newenvironment{livrable}% |
---|
75 | {% |
---|
76 | \ifvmode\else\\\fi |
---|
77 | \def\item##1##2##3##4##5##6{% |
---|
78 | \gdef\name{\wpname##1}% |
---|
79 | \\\hline |
---|
80 | \begin{small}\textsc{\name}\end{small} & |
---|
81 | \begin{small}\textsc{T0+##3}\end{small} & |
---|
82 | \begin{small}\textsc{##4}\end{small} & |
---|
83 | \begin{small}\textsc{##5}\end{small} & |
---|
84 | } |
---|
85 | % \begin{small} |
---|
86 | \begin{tabular}{|c|c|c|c|p{.55\linewidth}|}\hline% |
---|
87 | \makebox[5em]{number} & \makebox[3em]{date} & type & resp. & description |
---|
88 | } |
---|
89 | {\\\hline\end{tabular}% |
---|
90 | %\end{small}\\% |
---|
91 | } |
---|
92 | |
---|
93 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
94 | \catcode`\@=12 |
---|
95 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|