2014-02-15 12:01:14 +01:00
|
|
|
%%
|
|
|
|
%% This is file `dfgproposal.cls',
|
|
|
|
%% generated with the docstrip utility.
|
|
|
|
%%
|
|
|
|
%% The original source files were:
|
|
|
|
%%
|
|
|
|
%% dfgproposal.dtx (with options: `cls')
|
|
|
|
%%
|
|
|
|
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
|
2019-03-21 13:47:28 +01:00
|
|
|
\ProvidesClass{dfgproposal}[2019/03/21 v1.4 DFG Proposal]
|
2014-02-15 12:01:14 +01:00
|
|
|
\newif\ifgeneral\generalfalse
|
|
|
|
\DeclareOption{general}{\generaltrue}
|
|
|
|
\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{dfgpdata}}
|
|
|
|
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{proposal}}
|
|
|
|
\ProcessOptions
|
|
|
|
\LoadClass{proposal}
|
|
|
|
\RequirePackage{eurosym}
|
2019-12-18 11:02:51 +01:00
|
|
|
\RequirePackage{dfgpdata}
|
2014-02-15 12:01:14 +01:00
|
|
|
\ifdeutsch\RequirePackage[ngerman]{babel}
|
2019-12-18 11:02:51 +01:00
|
|
|
\else\RequirePackage[ngerman,english]{babel}\fi
|
2014-02-15 12:01:14 +01:00
|
|
|
\newenvironment{sitedescription}[2][]%
|
2020-08-19 14:57:48 +02:00
|
|
|
{\def\@test{#1}\def\@@title{\ifx\@test\@empty\pdataref{site}{#2}{acronym}\else #1\fi:
|
|
|
|
\textsc{\pdataref{site}{#2}{name}}}
|
2014-02-15 12:01:14 +01:00
|
|
|
\@for\@I:=#2\do{\pdata@target{site}\@I{}}\subsubsection\@@title}
|
|
|
|
{}
|
|
|
|
\renewenvironment{prop@proposal}
|
2020-08-19 07:28:18 +02:00
|
|
|
{\ifsubmit\setcounter{page}{1}\else\thispagestyle{empty}\fi
|
2014-02-15 12:01:14 +01:00
|
|
|
\begin{center}
|
2020-03-04 08:18:03 +01:00
|
|
|
{\LARGE \prop@gen@instrument}\\[.2cm]
|
2014-02-15 12:01:14 +01:00
|
|
|
{\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
|
2020-03-04 08:18:03 +01:00
|
|
|
{\large\today}\\[1em]
|
2020-08-19 14:57:48 +02:00
|
|
|
\begin{tabular}{c*{\the@PIs}{c}}
|
2020-08-24 11:19:16 +02:00
|
|
|
\prop@tl\prop@gen@PIs{\pdataref@safe{PI}\tl@ext{name}}\\
|
|
|
|
\prop@tl\prop@gen@PIs{\pdataref@safe{PI}\tl@ext{affiliation}}\\
|
|
|
|
\prop@tl\prop@gen@PIs{\pdataref@safe{PI}\tl@ext{dept}}\\
|
2020-08-19 14:57:48 +02:00
|
|
|
\end{tabular}\\[2cm]
|
2014-02-15 12:01:14 +01:00
|
|
|
\end{center}
|
2020-08-19 07:28:18 +02:00
|
|
|
\ifgeneral
|
|
|
|
\ifsubmit\else
|
2020-03-04 08:18:03 +01:00
|
|
|
\setcounter{section}{-1}
|
2014-02-15 12:01:14 +01:00
|
|
|
\edef\keep@tocdepth{\value{tocdepth}}
|
|
|
|
\setcounter{tocdepth}{2}\tableofcontents
|
|
|
|
\setcounter{tocdepth}{\keep@tocdepth}
|
|
|
|
\newpage\thispagestyle{empty}
|
|
|
|
\ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else
|
|
|
|
\section{General Information (for the ELAN system only)}\fi
|
|
|
|
\dfg@topic
|
|
|
|
\dfg@area@field
|
|
|
|
\ifdeutsch\subsection{Voraussichtliche Gesamtdauer}\else
|
|
|
|
\subsection{Anticipated total duration \deu{(Voraussichtliche Gesamtdauer)}}
|
2018-03-22 10:25:37 +01:00
|
|
|
\fi% ifdeutsch
|
2014-02-15 12:01:14 +01:00
|
|
|
\@ifundefined{prop@gen@totalduration}{????}{\prop@gen@totalduration};
|
|
|
|
\ifdeutsch
|
|
|
|
\@ifundefined{prop@gen@since}{Erstantrag}{Fortsetungsantrag, das Project l\"auft seit
|
|
|
|
\prop@gen@since.}
|
|
|
|
\else
|
|
|
|
\@ifundefined{prop@gen@since}{initial proposal}{continuation proposal, the project started
|
|
|
|
\prop@gen@since.}
|
2018-03-22 10:25:37 +01:00
|
|
|
\fi%ifdeutsch
|
2020-08-24 10:45:52 +02:00
|
|
|
\ifdeutsch
|
2020-07-06 12:57:59 +02:00
|
|
|
\subsection{Schl\"usselw\"orter}\prop@gen@Dkeywords
|
2020-08-24 10:45:52 +02:00
|
|
|
\else\subsection{Keywords}\prop@gen@keywords
|
|
|
|
\fi
|
2014-02-15 12:01:14 +01:00
|
|
|
\ifdeutsch\subsection{Antragszeitraum}\else
|
|
|
|
\subsection{Application period \deu{(Antragszeitraum)}}\fi
|
|
|
|
\prop@gen@months\quad Months starting \prop@gen@start
|
|
|
|
\@ifundefined{prop@gen@fundsuntil}{}
|
2014-10-28 08:04:52 +01:00
|
|
|
{ (\ifdeutsch Mittel reichen bis\else funds last until\fi\ \prop@gen@fundsuntil)}
|
2019-12-18 11:02:51 +01:00
|
|
|
\ifdeutsch\else\selectlanguage{english}\fi
|
2018-03-22 10:25:37 +01:00
|
|
|
\newpage
|
2017-06-12 07:05:47 +02:00
|
|
|
\setcounter{page}{0}%
|
2020-03-04 08:18:03 +01:00
|
|
|
\fi\fi}% ifsubmit ifgeneral
|
2014-02-15 12:01:14 +01:00
|
|
|
{}
|
|
|
|
\ifdeutsch
|
|
|
|
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}
|
|
|
|
\def\prop@warnpubs@title{Literatur}
|
|
|
|
\fi
|
|
|
|
\newcommand\attachments{\ifdeutsch\section{Verzeichnis der Anlagen}\else
|
|
|
|
\section{List of Attachments \deu{(Verzeichnis der Anlagen)}}\fi
|
|
|
|
\begin{itemize}
|
|
|
|
\@for\@I:=\prop@gen@PIs\do{%
|
2020-08-24 10:45:52 +02:00
|
|
|
\item\ifdeutsch Lebenslauf und Publikatinsverzeichnis\else Curriculum Vitae and list of publications for \fi
|
|
|
|
\pdataref{PI}\@I{title}\pdataref{PI}\@I{name}}
|
2014-02-15 12:01:14 +01:00
|
|
|
\end{itemize}}
|
|
|
|
\ifgeneral
|
|
|
|
\newenvironment{Zusammenfassung}{\thispagestyle{empty}\subsection{Zusammenfassung}\begin{otherlanguage}{ngerman}}
|
|
|
|
{\end{otherlanguage}\newpage\setcounter{page}1}
|
|
|
|
\newenvironment{Summary}{\thispagestyle{empty}\subsection{Summary}}
|
|
|
|
{\newpage\setcounter{page}1}
|
|
|
|
\else
|
|
|
|
\excludecomment{Summary}
|
|
|
|
\excludecomment{Zusammenfassung}
|
|
|
|
\fi
|
|
|
|
\endinput
|
|
|
|
%%
|
|
|
|
%% End of file `dfgproposal.cls'.
|