Commit 9747764c authored by Giuseppe Castagna's avatar Giuseppe Castagna
Browse files

added a way to print a generic first page footer with the date

parent 94d30602
......@@ -39,6 +39,8 @@
\usepackage[hidelinks]{hyperref}
\newif\ifelsevierstyle
\elsevierstyletrue
\newif\ifgenericfooter
\genericfootertrue
\newif\ifwithcomments
\withcommentstrue
\withcommentsfalse
......@@ -98,7 +100,7 @@
%% for the whole article with \linenumbers.
%\usepackage{lineno}\linenumbers
\journal{Science of Computer Programming}
\journal{}%Science of Computer Programming}
\begin{document}
......
......@@ -228,6 +228,36 @@
\newcommand{\leqA}{\leq_{\!\scriptscriptstyle\mathcal{A}}}
%%%%%% Dirty hack to change the footer of the first page
\ifgenericfooter
\def\ps@pprintTitle{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot
{\hbox to \textwidth%
{\ifnopreprintline\relax\else
\@myfooterfont%
\ifx\@elsarticlemyfooteralign\@elsarticlemyfooteraligncenter%
\hfil\@elsarticlemyfooter\hfil%
\else%
\ifx\@elsarticlemyfooteralign\@elsarticlemyfooteralignleft%
\@elsarticlemyfooter\hfill{}%
\else%
\ifx\@elsarticlemyfooteralign\@elsarticlemyfooteralignright%
{}\hfill\@elsarticlemyfooter%
\else%
% Preprint submitted to \ifx\@journal\@empty%
% Elsevier%
% \else\@journal\fi\hfill\@date\fi%
\mbox{Unpublished manuscript}\hfill\@date
\fi%
\fi%
\fi%
}
}%
\let\@evenfoot\@oddfoot}
\fi
%%%%%% Dirty hack to save some space on the first page
%% \def\copyrightpermissionfootnoterule{}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment