Dear LC Users,
I am using elsarticle.cls class file for my document.
I want to remove the line "Preprint submitted to Elsevier",
which appears automatically.
I know how to change "Elsevier" by using "\journal" command.
I just need to remove that line completely.
Is that possible?
Many thanks.
bkarpuz
Document Classes ⇒ How to remove the line "Preprint submitted to Elsevier"
How to remove the line "Preprint submitted to Elsevier"
Last edited by bkarpuz on Thu Dec 16, 2010 11:55 am, edited 1 time in total.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to remove the line "Preprint submitted to Elsevier"
A quick solution would be to pick up the related code from the class file and redefine the relevant command. This results in adding some lines to the preamble.
This lets the footer on the first page simply vanish. At the moment I'm not aware how to enable the plain page style for the first page (with the page number centered in the footer).
Supplement:
Looking at the definition for the plain page style in the LaTeX kernel lets you redefine the title page style accordingly. The code for the preamble then looks like the following.
Thorsten
Code: Select all
\makeatletter
\def\ps@pprintTitle{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\let\@oddfoot\@empty
\let\@evenfoot\@oddfoot
}
\makeatother
Supplement:
Looking at the definition for the plain page style in the LaTeX kernel lets you redefine the title page style accordingly. The code for the preamble then looks like the following.
Code: Select all
\makeatletter
\def\ps@pprintTitle{%
\let\@oddhead\@empty
\let\@evenhead\@empty
\def\@oddfoot{\reset@font\hfil\thepage\hfil}
\let\@evenfoot\@oddfoot
}
\makeatother
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to remove the line "Preprint submitted to Elsevier"
Thanks a lot localghost, this was what I was looking for!
The trick I did was deleting the relevant lines in the cls file and saving it with a different name, and then using it.
Many thanks.
bkarpuz
The trick I did was deleting the relevant lines in the cls file and saving it with a different name, and then using it.
Many thanks.
bkarpuz