I have used cas_dc class as a template. I tried to remove the footer 'preprint submitted to Elsevier using this code:
\makeatletter
\def\ps@first{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{}
\let\@evenfoot\@oddfoot
}
it removes the footer from the first page only.
I tried this code as well:
\makeatletter
\def\ps@cas{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{}
\let\@evenfoot\@oddfoot
}
but nothing changed
Could you please help me on how to remove the footer
Thank you
Best Answer
Please don't.
As you were advised in the comments, this class is intended for submissions to Elsevier and should probably not be used otherwise, and if you're submitting to Elsevier there is no reason to change the layout in any way.
But supposing you have a real good reason for doing this, you can add
to your preamble and it should do what you want (code crossed out for added drama :).The convention with
expl3
is to not redefine or use macros with__<package>
in their name because those macros are internal to<package>
. The els-cas templates however don't use a module consistently (the code above has__first
and__short
, which are definitely not the<package>
here), so if you really need to remove that sentence from the footer, bite the bullet and use that code, but beware it may stop working1 without notice.