Wieland Brendel edited header.tex  almost 8 years ago

Commit id: 49cfd20214497db3e2e4a70b0dce6b05381064ef

deletions | additions      

       

%----------------------------------------------------------------------------------------  \newcounter{staffRowCounter}  %\setcounter{staffRowCounter}{0}  %\addtocounter{staffRowCounter}{1}  %\thestaffRowCounter  % define single rows programmatically  \newcommand\staffrow[7]{% 

}  \newcommand\staffrowcond{%  \addtocounter{staffRowCounter}{1} & \serial & \cellbox{\nameDegreePosition} \begin{tabular}[x]{@{}c@{}}  \nameDegreePosition\end{tabular}  & \cellbox{\scientificDisciplin} & \cellbox{\institute} & \participation & \category & \fundingSource\tabularnewline \cline{2-8}  }  % define single rows programmatically  \newcommand\stafflastrow[8]{%  \gdef\serial{#1}%  \gdef\nameDegreePosition{#2}%  \gdef\scientificDisciplin{#3}%  \gdef\institute{#4}%  \gdef\participation{#5}%  \gdef\category{#6}%  \gdef\fundingSource{#7}%  \gdef\personellType{#8}%  \stafflastrowcond%  }  \newcommand\stafflastrowcond{%  \addtocounter{staffRowCounter}{1}  \multirow{-\thestaffRowCounter}{*}{\parbox{2cm}{\personellType}} & \serial &   \begin{tabular}[x]{@{}c@{}}\nameDegreePosition  \end{tabular} &  \cellbox{\scientificDisciplin} & \cellbox{\institute} & \participation & \category & \fundingSource\tabularnewline  \hline  \setcounter{staffRowCounter}{0}  }  \def\staffpresentpersonell{  \rowcolor{FreshGray}  \multicolumn{8}{|l|}{\textbf{Present Personell}} \tabularnewline