Skip to content

Commit

Permalink
add project name to header
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Sep 11, 2022
1 parent c90982e commit 1c17f42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ The class has two options meant for drafting:

It also provides a few useful commands that can be used in the proposal:

* ``mscaidentifier``: the call identifier, e.g. ``HORIZON-MSCA-2022-PF-01``.
* ``mscaproject``: the acronym for the project.
* ``msctable``: a wrapper around ``tabular`` that can be used in the exact
same way, but imposes a consistent font size and formatting for tables.
* ``msclongtable``: a wrapper around ``longtable`` similar to ``msctable``
Expand Down
10 changes: 8 additions & 2 deletions msca-pf-2022.cls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
\def\clsname{msca-pf-2022}

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{\clsname}[\filedate\ \fileversion\ MSCA PF Proposal]
\ProvidesClass{\clsname}[\filedate\ \fileversion\ MSCA Proposal]

% >>>

Expand Down Expand Up @@ -133,10 +133,16 @@

% <<< page header/footer styles

\newcommand{\mscaidentifier}[1]{\def\@mscaidentifier{#1}}
\newcommand{\mscaproject}[1]{\def\@mscaproject{#1}}

\def\@mscaidentifier{HORIZON-MSCA-2022-PF-01}
\def\@mscaproject{TBD}

\pagestyle{plain}
\clearpairofpagestyles

\def\callheader{\small \textsc{HORIZON-MSCA-2022-PF-01} -- MSCA Postdoctoral Fellowships 2022}
\def\callheader{Call: \small \textsc{\@mscaidentifier} -- \@mscaproject}
\def\pagefooter{Part B -- Page \thepage\, of\, \pageref{LastPage}}

\cfoot[\pagefooter]{\pagefooter}
Expand Down

0 comments on commit 1c17f42

Please sign in to comment.