9

How can I delete or replace "Springer Nature 2021 LATEX template" from my page?

enter image description here

5
  • Welcome to TeX.SE! Which document class do you use? Is it for publishing in an springer journal?
    – Mensch
    Commented Oct 3, 2021 at 19:40
  • 7
    if you are submitting to springer you should leave this in, if you are not submitting then you shouldn't use the springer journal class. Commented Oct 3, 2021 at 19:47
  • 1
    where can I find that springer journal class? I want to just change or delete it.
    – S M Sarwar
    Commented Oct 3, 2021 at 20:16
  • 6
    ? You have presumably used it already to make the output you show surely? But the class is dispributed by a commercial publisher you should not be changing it, why not use article class instead? Commented Oct 3, 2021 at 20:54

1 Answer 1

10

In the file sn-jnl.cls (An authoring template for Springer Journal articles) it is established

It may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version.

The LaTeX Project Public License

  1. If you are not the Current Maintainer of the Work, you may modify your copy of the Work, thus creating a Derived Work based on the Work, and compile this Derived Work, thus creating a Compiled Work based on the Derived Work.

As an exercise of patching commands, following the examples in https://tex.stackexchange.com/a/152811/161015 it might be possible to change the heading to something else making a proper reference to the author(s)/owner(s).

Add after the comment in the template sn-article.tex

`

%%<additional latex packages if required can be included here>
    \usepackage{etoolbox}
    \makeatletter
    \patchcmd{\ps@headings}%% Regular Pages Style 
    {\hbox to \hsize{\hfill Springer Nature 2021 \LaTeX\ template\hfill}}
    {\hbox to \hsize{\hfill Based on  Springer Nature \LaTeX\ template\hfill}}
    {}
    {}
    \patchcmd{\ps@titlepage}%% Opening Page Style   
    {\hbox to \hsize{\hfill Springer Nature 2021 \LaTeX\ template\hfill}}
    {\hbox to \hsize{\hfill Based on  Springer Nature \LaTeX\ template\hfill}}
    {}
    {}
    \makeatother

b

a

UPDATED to remove Springer Nature etc. from every page see from every page

3
  • This not an answer to the question of how to remove the header, just the replace part...and it doesn't work (for me). Is there a simple way to just delete it? Commented Nov 13, 2021 at 7:41
  • 1
    @AaronBramson - Just replace the 3rd argument of \patchcmd -- here: {\hbox to \hsize{\hfill Based on Springer Nature \LaTeX\ template\hfill}} -- with {}.
    – Mico
    Commented Nov 13, 2021 at 8:41
  • 1
    Yes, well, if I run it as is, or change that text to a blank, the document is unchanged. Possibly the issue is that this header also appears in a \def\ps@titlepage{ block that isn't caught by the \patchcmd as written. I ended up editting the cls file directly Commented Nov 13, 2021 at 11:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .