this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: 7462c4a301620b5ebec61af026f844bd66592699
deletions | additions
diff --git a/header.tex b/header.tex
index 1c23011..0567635 100644
--- a/header.tex
+++ b/header.tex
...
\hline
}
\newcommand\fundsadddirectcosts{%
\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
\hline
}
\newcounter{fundssingledirect}
\newcounter{fundstotaldirect}
\newcounter{fundstotaldirectfirst}
\newcounter{fundstotaldirectsecond}
\newcounter{fundstotaldirectthird}
\newcounter{fundstotaldirectfourth}
\newcommand\fundsaddcost[8]{%
\setcounter{fundssingledirect}{0}
\addtocounter{fundssingledirect}{#2}
\addtocounter{fundssingledirect}{#3}
\addtocounter{fundssingledirect}{#4}
\addtocounter{fundssingledirect}{#5}
\addtocounter{fundstotaldirectfirst}{#2}
\addtocounter{fundstotaldirectsecond}{#3}
\addtocounter{fundstotaldirectthird}{#4}
\addtocounter{fundstotaldirectfourth}{#5}
\addtocounter{fundstotaldirect}{\thefundssingledirect}
{#1} & \multicolumn{2}{|c|}{#2} & \multicolumn{2}{|c|}{#3} & \multicolumn{2}{|c|}{#4} & \multicolumn{2}{|c|}{#5} & \thefundssingledirect \tabularnewline
\hline
}
% define header and footer of table
\def\startfunds{%
\begin{small}