this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: 261583fb243f180dcc349c9557d94133761b05da
deletions | additions
diff --git a/header.tex b/header.tex
index 0567635..ca75d82 100644
--- a/header.tex
+++ b/header.tex
...
\hline
}
\newcommand\fundsaddstaffsum{% \newcommand\fundsstaffsum{%
Sum & \nocell -& \thefundstotalstafffirst & \nocell -& \thefundstotalstaffsecond & \nocell -& \thefundstotalstaffthird & \nocell -& \thefundstotalstafffourth & \textbf{\thefundstotalstaff} \tabularnewline
\hline
}
\newcommand\fundsadddirectcosts{% \newcommand\fundsdirectcosts{%
\multicolumn{10}{|c|}{\nocell} \\
\hline \rowcolor{FreshGray}
\textbf{Direct costs} & \multicolumn{2}{|c|}{Sum} & \multicolumn{2}{|c|}{Sum} & \multicolumn{2}{|c|}{Sum} & \multicolumn{2}{|c|}{Sum} & {Total (Eur)} \tabularnewline
...
\newcounter{fundstotaldirectthird}
\newcounter{fundstotaldirectfourth}
\newcommand\fundsaddcost[8]{% \newcommand\fundsaddcost[5]{%
\setcounter{fundssingledirect}{0}
\addtocounter{fundssingledirect}{#2}
\addtocounter{fundssingledirect}{#3}
...
\hline
}
\newcounter{fundstotal}
\newcommand\fundsdirectsum{%
\addtocounter{fundstotal}{\thefundstotaldirect}
\addtocounter{fundstotal}{\thefundstotalstaff}
Sum & \multicolumn{2}{|c|}{\thefundstotaldirectfirst} & \multicolumn{2}{|c|}{\thefundstotaldirectsecond} & \multicolumn{2}{|c|}{\thefundstotaldirectthird} & \multicolumn{2}{|c|}{\thefundstotaldirectfourth} & {\textbf{\thefundstotal}}\\
\hline
\multicolumn{10}{|c|}{\nocell} \\
\hline
}
\newcommand\fundstotalsum{%
\rowcolor{FreshGray}
\textbf{Total Sum} & \multicolumn{2}{|c|}{125.398} & \multicolumn{2}{|c|}{125.398} & \multicolumn{2}{|c|}{125.398} & \multicolumn{2}{|c|}{125.398} & {\textbf{501.592}} \\
}
% define header and footer of table
\def\startfunds{%
\begin{small}