allowing empty acronym
This commit is contained in:
parent
5b005eb936
commit
e47a8f2056
@ -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.
@ -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}}}
|
||||||
|
Loading…
Reference in New Issue
Block a user