this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: e771392e22217de2c783baf0d5f4b10baff634da
deletions | additions
diff --git a/header.tex b/header.tex
index 99af61a..6a876d7 100644
--- a/header.tex
+++ b/header.tex
...
\newcounter{staffRowCounter}
\newif\iflast
% define single rows programmatically
\newcommand\staffrow[6]{%
\gdef\serial{#1}%
...
\newcommand\staffrowcond{%
\addtocounter{staffRowCounter}{1}
\iflast\multirow{-\thestaffRowCounter}{*}{\parbox{2cm}{\personelType}}\fi & \serial & \begin{tabular}[x]{@{}c@{}}
\nameDegreePosition\end{tabular}
& \cellbox{\scientificDisciplin} & \cellbox{\institute} & \participation & \category & \fundingSource \tabularnewline
\iflast\hline\else\cline{2-8}\fi
\iflast\setcounter{staffRowCounter}{0}\fi
\lastfalse \cline{2-8}
}
\newcommand\staffstartnonscientific{%
\addtocounter{staffRowCounter}{1}
\iflast\multirow{-\thestaffRowCounter}{*}{\parbox{2cm}{scientific \\ personel}}\fi & & & & & & & \tabularnewline
\hline
\setcounter{staffRowCounter}{0}
}
\gdef\lastscientific{\lasttrue\gdef\personelType{scientific \newcommand\staffendnonscientific{%
\addtocounter{staffRowCounter}{1}
\iflast\multirow{-\thestaffRowCounter}{*}{\parbox{2cm}{non-scientific \\
personel}}
\gdef\lastnonscientific{\lasttrue\gdef\personelType{non-scientific \\ personel}} personel}}\fi & & & & & & & \tabularnewline
\hline
\setcounter{staffRowCounter}{0}
}
\def\staffpresentpersonell{
\rowcolor{FreshGray}