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.
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
journal.cite-style
: the name of the natbib style for the Nature subjournaldefault
: Defaultsn-nature
: Style for submissions to Nature Portfolio journalssn-basic
: Basic Springer Nature Reference Style/Chemistry Reference Stylesn-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 Stylesn-vancouver
: Vancouver Reference Stylesn-apa
: APA Reference Stylesn-chicago
: Chicago-based Humanities Reference Style
classoption
:iicol
: double column layout, usually used withjournal.cite-style: default
Numbered
: Numbered reference style, usually used withjournal.cite-style: sn-vancouver
.referee
: double spaced for first submissionslineno
: 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
Here is the source code for a minimal sample document: example.qmd.
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
-
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). ↩