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 .
https://tex.stackexchange.com/questions/617641/i-want-to-remove-springer-nature-2021-latex-template-from-my-template
tex.stackexchange.com
CC-MAIN-2024-30
157321
application/http; msgtype=response
sha1:2UGZPMAD6YTSNHK22RX2O5FMEC7BJ7DG
<urn:uuid:27fca708-e26f-4956-8ac8-b745ff52e5c9>
2024-07-23T18:00:40Z
104.18.43.226
text/html
sha1:4XHVQJYABFJMVAXG4CP6QIK754AFPLU6
<urn:uuid:316d3246-d48f-4698-a052-1dd26186bc2e>
https://tex.stackexchange.com/questions/617641/i-want-to-remove-springer-nature-2021-latex-template-from-my-template
response
<urn:uuid:c27de12c-5306-4122-839d-1443d66f3811>
isPartOf: CC-MAIN-2024-30
publisher: Common Crawl
description: Wide crawl of the web for July 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-28
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/