From 4a5bc51a1fc62eb09a06ac91098ef1871aededae Mon Sep 17 00:00:00 2001 From: Bernhard Fisseni Date: Sun, 2 Feb 2020 13:58:08 +0100 Subject: [PATCH 1/2] Restore Title Information on first page adresses #44 --- dfg/dfgproposal.cls | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dfg/dfgproposal.cls b/dfg/dfgproposal.cls index dafba8e..e4b642d 100644 --- a/dfg/dfgproposal.cls +++ b/dfg/dfgproposal.cls @@ -38,7 +38,7 @@ \dfg@applicants@private@lines\hline \end{tabular}} \renewenvironment{prop@proposal} -{\ifgeneral +{ \ifsubmit\setcounter{page}{1}\else \thispagestyle{empty}% \begin{center} @@ -48,10 +48,11 @@ {\large\today}\\[1em] \WAauthorblock[aff]\prop@gen@PIs\\[2cm] \end{center} -\setcounter{section}{-1} +\ifgeneral\setcounter{section}{-1}\fi \edef\keep@tocdepth{\value{tocdepth}} \setcounter{tocdepth}{2}\tableofcontents \setcounter{tocdepth}{\keep@tocdepth} +\ifgeneral \newpage\thispagestyle{empty} \ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else \section{General Information (for the ELAN system only)}\fi @@ -77,7 +78,7 @@ \ifdeutsch\else\selectlanguage{english}\fi \newpage \setcounter{page}{0}% -\fi\fi}% ifsubmit ifgeneral +\fi\fi\clearpage}% ifsubmit ifgeneral {} \ifdeutsch \def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:} From b3eff8c8dd5d8cee056098c858e5b56cb953963d Mon Sep 17 00:00:00 2001 From: Bernhard Fisseni Date: Wed, 12 Feb 2020 07:55:04 +0100 Subject: [PATCH 2/2] clearpage moved; changed order of title blocks to follow DFG template --- dfg/dfgproposal.cls | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dfg/dfgproposal.cls b/dfg/dfgproposal.cls index e4b642d..681f2f8 100644 --- a/dfg/dfgproposal.cls +++ b/dfg/dfgproposal.cls @@ -39,15 +39,16 @@ \end{tabular}} \renewenvironment{prop@proposal} { -\ifsubmit\setcounter{page}{1}\else -\thispagestyle{empty}% \begin{center} -{\LARGE \prop@gen@instrument}\\[.2cm] +{\LARGE \prop@gen@instrument}\\[.75cm] +\WAauthorblock[aff]\prop@gen@PIs\\[1em] {\LARGE\textbf{\prop@gen@title}}\\[.3cm] \ifx\prop@gen@acronym\@empty\else{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]\fi -{\large\today}\\[1em] -\WAauthorblock[aff]\prop@gen@PIs\\[2cm] +\ifgeneral{\large\today}\\[2cm]\fi \end{center} +\ifsubmit +\setcounter{page}{1}\else +\thispagestyle{empty}% \ifgeneral\setcounter{section}{-1}\fi \edef\keep@tocdepth{\value{tocdepth}} \setcounter{tocdepth}{2}\tableofcontents @@ -78,7 +79,7 @@ \ifdeutsch\else\selectlanguage{english}\fi \newpage \setcounter{page}{0}% -\fi\fi\clearpage}% ifsubmit ifgeneral +\clearpage\fi\fi}% ifsubmit ifgeneral {} \ifdeutsch \def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}