this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: 5a805e9a8cd0af36addcbada4055c6479a89ade3
deletions | additions
diff --git a/header.tex b/header.tex
index 73cee46..dd00258 100644
--- a/header.tex
+++ b/header.tex
...
\newcounter{staffRowCounter}
\newif\ifstaffrequest
\requestfalse
% category-specific staff
\newcommand\staffaddPhD{\gdef\category{PhD}\staffrow}
\newcommand\staffaddPostDoc{\gdef\category{PostDoc}\staffrow}
...
\newcommand\staffrow[6]{%
\addtocounter{staffRowCounter}{1}
& #1 & \cellbox{#2} & \cellbox{#3} & \cellbox{#4} & #5 & \category &
#6 \ifrequest\no\else #6\fi \tabularnewline
\cline{2-8}
}
\newcommand\staffrownonscience[6]{%
\addtocounter{staffRowCounter}{1}
& #1 & \cellbox{#2} & \cellbox{#3} & \cellbox{#4} & #5 & \no &
#6 \ifrequest\no\else #6\fi \tabularnewline
\cline{2-8}
}
...
\newcommand\staffendnonscientific{%
\addtocounter{staffRowCounter}{1}
\multirow{-\thestaffRowCounter}{*}{\parbox{2cm}{non-scientific \\ personel}} & & & & &
\no &
\ifrequest\no\fi & \tabularnewline
\hline
\setcounter{staffRowCounter}{0}
}
\def\staffpresentpersonell{
\requestfalse
\rowcolor{FreshGray}
\multicolumn{8}{|l|}{\textbf{Present Personell}} \tabularnewline
\hline}
\def\staffrequestpersonell{
\requesttrue
\rowcolor{FreshGray}
\multicolumn{8}{|l|}{\textbf{Request Personell}} \tabularnewline
\hline}