diff --git a/base/proposal.dtx b/base/proposal.dtx index 14820dd..bb4f835 100644 --- a/base/proposal.dtx +++ b/base/proposal.dtx @@ -697,13 +697,14 @@ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.4pt} \else -\fancyhead[RE,LO]{\prop@gen@acronym} +\fancyhead[RE,LO]{\ifx\prop@gen@acronym\@empty\prop@gen@acronym\fi} \fancyhfoffset{0pt} \fi \fancyfoot[C]{} \newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi} \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} \else \fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}} diff --git a/base/proposal.pdf b/base/proposal.pdf index 49f02e6..dc8e3b0 100644 Binary files a/base/proposal.pdf and b/base/proposal.pdf differ diff --git a/base/proposal.sty b/base/proposal.sty index 805657b..9fecb2e 100644 --- a/base/proposal.sty +++ b/base/proposal.sty @@ -54,13 +54,14 @@ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.4pt} \else -\fancyhead[RE,LO]{\prop@gen@acronym} +\fancyhead[RE,LO]{\ifx\prop@gen@acronym\@empty\prop@gen@acronym\fi} \fancyhfoffset{0pt} \fi \fancyfoot[C]{} \newcommand\prop@of@pages[2]{page~#1\ifofpage~of~#2\fi} \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} \else \fancyhead[LE,RO]{\prop@of@pages\thepage{\pdataref@num{prop}{page}{last}}}