allowing empty acronym

This commit is contained in:
Michael Kohlhase 2017-04-06 18:05:44 +02:00
parent 5b005eb936
commit e47a8f2056
3 changed files with 6 additions and 4 deletions

View File

@ -697,13 +697,14 @@
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
\else \else
\fancyhead[RE,LO]{\prop@gen@acronym} \fancyhead[RE,LO]{\ifx\prop@gen@acronym\@empty\prop@gen@acronym\fi}
\fancyhfoffset{0pt} \fancyhfoffset{0pt}
\fi \fi
\fancyfoot[C]{} \fancyfoot[C]{}
\newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi} \newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi}
\ifgrantagreement \ifgrantagreement
\fancyfoot[L]{\prop@gen@proposalnumber\quad \prop@gen@acronym\quad --\quad Part B} \fancyfoot[L]{\prop@gen@proposalnumber%
\ifx\prop@gen@acronym\quad \prop@gen@acronym\fi\quad --\quad Part B}
\fancyfoot[R]{\thepage} \fancyfoot[R]{\thepage}
\else \else
\fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}} \fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}

Binary file not shown.

View File

@ -54,13 +54,14 @@
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}
\else \else
\fancyhead[RE,LO]{\prop@gen@acronym} \fancyhead[RE,LO]{\ifx\prop@gen@acronym\@empty\prop@gen@acronym\fi}
\fancyhfoffset{0pt} \fancyhfoffset{0pt}
\fi \fi
\fancyfoot[C]{} \fancyfoot[C]{}
\newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi} \newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi}
\ifgrantagreement \ifgrantagreement
\fancyfoot[L]{\prop@gen@proposalnumber\quad \prop@gen@acronym\quad --\quad Part B} \fancyfoot[L]{\prop@gen@proposalnumber%
\ifx\prop@gen@acronym\quad \prop@gen@acronym\fi\quad --\quad Part B}
\fancyfoot[R]{\thepage} \fancyfoot[R]{\thepage}
\else \else
\fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}} \fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}