Merge pull request #45 from teoric/master

Restore Title Information on first page
This commit is contained in:
Michael Kohlhase 2020-02-12 14:18:56 +01:00 committed by GitHub
commit 35e17a7565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,20 +38,22 @@
\dfg@applicants@private@lines\hline \dfg@applicants@private@lines\hline
\end{tabular}} \end{tabular}}
\renewenvironment{prop@proposal} \renewenvironment{prop@proposal}
{\ifgeneral {
\ifsubmit\setcounter{page}{1}\else
\thispagestyle{empty}%
\begin{center} \begin{center}
{\LARGE \prop@gen@instrument}\\[.2cm] {\LARGE \prop@gen@instrument}\\[.75cm]
\WAauthorblock[aff]\prop@gen@PIs\\[1em]
{\LARGE\textbf{\prop@gen@title}}\\[.3cm] {\LARGE\textbf{\prop@gen@title}}\\[.3cm]
\ifx\prop@gen@acronym\@empty\else{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]\fi \ifx\prop@gen@acronym\@empty\else{\LARGE Acronym: {\prop@gen@acronym}}\\[.2cm]\fi
{\large\today}\\[1em] \ifgeneral{\large\today}\\[2cm]\fi
\WAauthorblock[aff]\prop@gen@PIs\\[2cm]
\end{center} \end{center}
\setcounter{section}{-1} \ifsubmit
\setcounter{page}{1}\else
\thispagestyle{empty}%
\ifgeneral\setcounter{section}{-1}\fi
\edef\keep@tocdepth{\value{tocdepth}} \edef\keep@tocdepth{\value{tocdepth}}
\setcounter{tocdepth}{2}\tableofcontents \setcounter{tocdepth}{2}\tableofcontents
\setcounter{tocdepth}{\keep@tocdepth} \setcounter{tocdepth}{\keep@tocdepth}
\ifgeneral
\newpage\thispagestyle{empty} \newpage\thispagestyle{empty}
\ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else \ifdeutsch\section{Allgemeine Angaben (nur f\"ur ELAN)}\else
\section{General Information (for the ELAN system only)}\fi \section{General Information (for the ELAN system only)}\fi
@ -77,7 +79,7 @@
\ifdeutsch\else\selectlanguage{english}\fi \ifdeutsch\else\selectlanguage{english}\fi
\newpage \newpage
\setcounter{page}{0}% \setcounter{page}{0}%
\fi\fi}% ifsubmit ifgeneral \clearpage\fi\fi}% ifsubmit ifgeneral
{} {}
\ifdeutsch \ifdeutsch
\def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:} \def\prop@warnpubs@message{Viele der Publikationen der Antragsteller sind verf\"ugbar unter folgenden URLs:}