Document Classes ⇒ How to remove the line "Preprint submitted to Elsevier"
How to remove the line "Preprint submitted to Elsevier"
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to remove the line "Preprint submitted to Elsevier"
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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to remove the line "Preprint submitted to Elsevier"
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