Skip to content

sciexp/quarto-springer-nature-template

Repository files navigation

Springer Nature Quarto Format

Creating a New Article

To create a new article using this format:

quarto use template sciexp/quarto-springer-nature-template

This will create a new directory with an example document that uses this format.

Using with an Existing Document

To add this format to an existing document:

quarto add sciexp/quarto-springer-nature-template

Then, add the format to your document options:

format:
  nature-pdf: default

Options

  • journal.cite-style: the name of the natbib style for the Nature subjournal
    • default: Default
    • sn-nature: Style for submissions to Nature Portfolio journals
    • sn-basic: Basic Springer Nature Reference Style/Chemistry Reference Style
    • sn-mathphys-ay: Math and Physical Sciences Reference Style (author-year)
    • sn-mathphys-num: Math and Physical Sciences Reference Style (numbered)
    • sn-aps: American Physical Society (APS) Reference Style
    • sn-vancouver: Vancouver Reference Style
    • sn-apa: APA Reference Style
    • sn-chicago: Chicago-based Humanities Reference Style
  • classoption:
    • iicol: double column layout, usually used with journal.cite-style: default
    • Numbered: Numbered reference style, usually used with journal.cite-style: sn-vancouver.
    • referee: double spaced for first submissions
    • lineno: print line numbers in the margin
  • equal-margins: set equal margins on even and odd pages

Since cite-method: citeproc is the default, to respect the natbib reference styles, you would need to set cite-method: natbib, such as:

format:
  nature-pdf:
    journal: 
      cite-style: sn-mathphys-num
    cite-method: natbib

and restrict usage to pandoc standard references: [@key01; @key02]. This has the advantage that it will respect the styles officially included in the Springer Nature template. However it has the disadvantage that the citations will not be consistent with html and docx outputs. To achieve this, set

csl: _extensions/sciexp/nature/csl/springer-basic-author-date.csl

to a path to a CSL file. Several are vendered in _extensions/nature/csl/. Additional CSL style files can be found in the citation-style-language/styles repository, the recommended Zotero Style Repository for downloading these styles, and elsewhere1. The csl parameter can be specified independent of the specification of cite-method: citeproc or cite-method: natbib but the former will lead to consistency of the pdf output with html and docx while the latter will use the csl file with citeproc for non-LaTeX outputs and natbib for the LaTeX-rendered pdf.

To use html or docx outputs, you will need to specify this in the YAML. These can be combined with other formats, like below. Note that this template does not contribute a html or docx format itself.

  html:
    code-fold: true
    html-math-method: katex
csl: _extensions/sciexp/nature/csl/springer-basic-author-date.csl
  docx: default
csl: _extensions/sciexp/nature/csl/springer-basic-author-date.csl

Example

Here is the source code for a minimal sample document: example.qmd.

License

This modifies the Springer Nature journal article template package. The original template is licensed under the LaTeX Project Public License 1.3c. The template within is derived from this and makes modifications to separate into the full document into Quarto "partials". All modifications can be seen in this repo.

Footnotes

  1. The vendored Citation Style Language (CSL) files are copyrighted by the Citation Style Language project. These files have not been modified and are redistributed as licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC BY-SA 3.0).

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages