2014-02-15 12:01:14 +01:00
|
|
|
%%
|
|
|
|
%% This is file `reporting.cls',
|
|
|
|
%% generated with the docstrip utility.
|
|
|
|
%%
|
|
|
|
%% The original source files were:
|
|
|
|
%%
|
|
|
|
%% proposal.dtx (with options: `reporting')
|
|
|
|
%%
|
|
|
|
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
|
2019-03-21 13:47:28 +01:00
|
|
|
\ProvidesPackage{reporting}[2019/03/21 v1.6 Project Reporting]
|
2014-02-15 12:01:14 +01:00
|
|
|
\newif\if@wpsubsection\@wpsubsectionfalse
|
|
|
|
\newif\ifsubmit\submitfalse
|
2015-11-20 09:44:11 +01:00
|
|
|
\newif\ifgrantagreement\grantagreementfalse
|
2014-02-15 12:01:14 +01:00
|
|
|
\newif\ifpublic\publicfalse
|
|
|
|
\newif\ifkeys\keysfalse
|
|
|
|
\newif\ifdelivs\delivsfalse
|
|
|
|
\newif\ifwork@areas\work@areastrue
|
|
|
|
\newif\if@RAM\@RAMfalse
|
2014-10-28 09:10:50 +01:00
|
|
|
\newif\if@svninfo\@svninfofalse
|
|
|
|
\newif\if@gitinfo\@gitinfofalse
|
2017-05-31 08:33:14 +02:00
|
|
|
\newif\if@numericcites\@numericcitesfalse
|
2017-11-14 11:16:29 +01:00
|
|
|
\newif\if@longtasklabels\@longtasklabelsfalse
|
2014-02-15 12:01:14 +01:00
|
|
|
\def\proposal@class{article}
|
|
|
|
\DeclareOption{wpsubsection}{\@wpsubsectiontrue}
|
|
|
|
\DeclareOption{submit}{\submittrue}
|
2015-11-20 09:44:11 +01:00
|
|
|
\DeclareOption{grantagreement}{\grantagreementtrue}
|
2014-10-28 09:10:50 +01:00
|
|
|
\DeclareOption{gitinfo}{\@gitinfotrue}
|
2017-05-31 08:33:14 +02:00
|
|
|
\DeclareOption{numericcites}{\@numericcitestrue}
|
2014-10-28 09:10:50 +01:00
|
|
|
\DeclareOption{svninfo}{\@svninfotrue}
|
2014-02-15 12:01:14 +01:00
|
|
|
\DeclareOption{public}{\publictrue}
|
|
|
|
\DeclareOption{noworkareas}{\work@areasfalse\PassOptionsToClass{\CurrentOption}{pdata}}
|
|
|
|
\DeclareOption{RAM}{\@RAMtrue}
|
|
|
|
\DeclareOption{report}{\def\proposal@class{report}}
|
|
|
|
\DeclareOption{keys}{\keystrue}
|
|
|
|
\DeclareOption{deliverables}{\delivstrue}
|
2017-11-14 11:16:29 +01:00
|
|
|
\DeclareOption{longtasklabels}{\@longtasklabelstrue}
|
2014-02-15 12:01:14 +01:00
|
|
|
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
|
|
|
|
\ProcessOptions
|
|
|
|
\LoadClass[a4paper,twoside]{\proposal@class}
|
2016-10-26 13:55:42 +02:00
|
|
|
\RequirePackage{proposal}
|
2014-02-15 12:01:14 +01:00
|
|
|
\newif\if@report\@reportfalse
|
|
|
|
\newenvironment{report}[1][]%
|
|
|
|
{\@reporttrue\readpdata\jobname%
|
|
|
|
\ofpagetrue\setkeys{prop@gen}{#1}%
|
|
|
|
\pdata@open\jobname%
|
|
|
|
\@ifundefined{prop@gen@PIs}{}{\newcounter{@PIs}\@for\@I:=\prop@gen@PIs\do{\stepcounter{@PIs}}}%
|
|
|
|
\@ifundefined{prop@gen@sites}{}{\newcounter{@sites}\@for\@I:=\prop@gen@sites\do{\stepcounter{@sites}}}%
|
|
|
|
\setcounter{page}{0}%
|
|
|
|
\begin{prop@report}}
|
|
|
|
{\end{prop@report}%
|
|
|
|
\pdata@def{prop}{page}{last}{\thepage}\ofpagefalse\newpage
|
|
|
|
\printbibliography[heading=warnpubs]
|
|
|
|
\pdata@close}
|
|
|
|
\newenvironment{prop@report}
|
|
|
|
{\begin{center}
|
|
|
|
{\LARGE Final Project Report}\\[.2cm]
|
|
|
|
{\LARGE\textbf{\prop@gen@title}}\\[.3cm]
|
2017-05-31 08:16:21 +02:00
|
|
|
\ifx\prop@gen@acronym\@empty\else{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]\fi
|
2014-02-15 12:01:14 +01:00
|
|
|
{\large\today}\\[1em]
|
|
|
|
\begin{tabular}{c*{\the@PIs}{c}}
|
2016-07-06 10:35:37 +02:00
|
|
|
\prop@tl\prop@gen@PIs{\wa@ref3{person}\tl@ext{name}}\\
|
|
|
|
\prop@tl\prop@gen@PIs{\wa@ref3{institution}{\wa@ref3{person}\tl@ext{affiliation}}{name}}
|
2014-02-15 12:01:14 +01:00
|
|
|
\end{tabular}\\[2cm]
|
|
|
|
\end{center}
|
|
|
|
\setcounter{tocdepth}{2}\tableofcontents\newpage\setcounter{page}{1}}
|
|
|
|
{}
|
2017-09-23 15:04:53 +02:00
|
|
|
|
2014-02-15 12:01:14 +01:00
|
|
|
\endinput
|
|
|
|
%%
|
|
|
|
%% End of file `reporting.cls'.
|