this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: fd71d77ff5d08671cbd675a6d0500cc37b731276
deletions | additions
diff --git a/header.tex b/header.tex
index 1ea5457..a4ee31a 100644
--- a/header.tex
+++ b/header.tex
...
\end{center}
}
%----------------------------------------------------------------------------------------
% STAFF TABLE
%----------------------------------------------------------------------------------------
\newcounter{staffRowCounter}
% define single rows programmatically
\newcommand\staffrow[7]{%
\gdef\serial{#1}%
\gdef\nameDegreePosition{#2}%
\gdef\scientificDisciplin{#3}%
\gdef\institute{#4}%
\gdef\participation{#5}%
\gdef\category{#6}%
\gdef\fundingSource{#7}%
\staffrowcond%
}
\newcommand\staffrowcond{%
\addtocounter{staffRowCounter}{1}
& \serial & \begin{tabular}[x]{@{}c@{}}
\nameDegreePosition\end{tabular}
& \cellbox{\scientificDisciplin} & \cellbox{\institute} & \participation & \category & \fundingSource\tabularnewline
\cline{2-8}
}
\def\staffpresentpersonell{
\rowcolor{FreshGray}
\multicolumn{8}{|l|}{\textbf{Present Personell}} \tabularnewline
\hline}
\def\staffrequestpersonell{
\rowcolor{FreshGray}
\multicolumn{8}{|l|}{\textbf{Request Personell}} \tabularnewline
\hline}
% define header and footer of table
\newenvironment{stafftable}
{\tabularx{\textwidth}{ |G|c|c|c|c|c|c|c| }
\hhline{~-|-|-|-|-|-|-|}
\multicolumn{1}{l|}{} &\no\parbox[c][][c]{2mm}{\rotatebox[origin=c]{90}{serial }}
&\no \begin{tabular}[x]{@{}c@{}}name, \\ degree, \\ position\end{tabular}
&\no \begin{tabular}[x]{@{}c@{}}scientific\\disciplin\end{tabular}
&\no \begin{tabular}[x]{@{}c@{}}institute of\\university or of\\ extra-university \\ establishment\end{tabular}
&\no \begin{tabular}[x]{@{}c@{}}Project\\participation\\ (no. of \\ hours/week)\end{tabular}
&\no \parbox[c][][c]{2mm}{\rotatebox[origin=c]{90}{category }}
&\no \begin{tabular}[x]{@{}c@{}}funding\\source\end{tabular}
\tabularnewline[1cm]
\hline}
{\endtabularx}
%----------------------------------------------------------------------------------------
% FUNDS REQUESTED TABLE
%----------------------------------------------------------------------------------------