this is for holding javascript data
Wieland Brendel edited header.tex
almost 8 years ago
Commit id: 7c1e8633e798fb01efd99d6fa89d6e7432405bef
deletions | additions
diff --git a/header.tex b/header.tex
index ca75d82..db05bf8 100644
--- a/header.tex
+++ b/header.tex
...
\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}}\\ {\textbf{\thefundstotaldirect}}\\
\hline
\multicolumn{10}{|c|}{\nocell} \\
\hline
}
\newcounter{fundstotal}
\newcounter{fundstotalfirst}
\newcounter{fundstotalsecond}
\newcounter{fundstotalthird}
\newcounter{fundstotalfourth}
\newcommand\fundstotalsum{%
\addtocounter{fundstotal}{\thefundstotaldirect}
\addtocounter{fundstotal}{\thefundstotalstaff}
\addtocounter{fundstotalfirst}{\thefundstotaldirectfirst}
\addtocounter{fundstotalfirst}{\thefundstotalstafffirst}
\addtocounter{fundstotalsecond}{\thefundstotaldirectsecond}
\addtocounter{fundstotalsecond}{\thefundstotalstaffsecond}
\addtocounter{fundstotalthird}{\thefundstotaldirectthird}
\addtocounter{fundstotalthird}{\thefundstotalstaffthird}
\addtocounter{fundstotalfourth}{\thefundstotaldirectfourth}
\addtocounter{fundstotalfourth}{\thefundstotalstafffourth}
\rowcolor{FreshGray}
\textbf{Total Sum} &
\multicolumn{2}{|c|}{125.398} \multicolumn{2}{|c|}{\thefundstotalfirst} &
\multicolumn{2}{|c|}{125.398} \multicolumn{2}{|c|}{\thefundstotalsecond} &
\multicolumn{2}{|c|}{125.398} \multicolumn{2}{|c|}{\thefundstotalthird} &
\multicolumn{2}{|c|}{125.398} \multicolumn{2}{|c|}{\thefundstotalfourth} &
{\textbf{501.592}} {\textbf{\thefundstotal}} \\
}
% define header and footer of table