Format for creating submissions to many Oxford University Press journals.
Adapted from
https://academic.oup.com/pages/for-authors/journals/preparing-and-submitting-your-manuscript
and https://academic.oup.com/icesjms/pages/General_Instructions. and the
oup-authoring-template available on CTAN at
https://www.ctan.org/pkg/oup-authoring-template.
Usage
oup_article(
oup_version = 0,
journal = NULL,
number_sections = FALSE,
citation_package = ifelse(oup_version == 0, "default", "natbib"),
papersize = c("large", "medium", "small"),
document_style = c("contemporary", "modern", "traditional"),
namedate = FALSE,
onecolumn = FALSE,
number_lines = FALSE,
number_lines_options = NULL,
keep_tex = TRUE,
md_extensions = c("-autolink_bare_uris"),
pandoc_args = NULL,
...
)Arguments
- oup_version
set to 0 (default) to use the 2009 OUP
ouparticle.clsincluded or set to 1 to use the newer 2020 OUP packageoup-authoring-templateavailable on CTAN.- journal
journal Title. (Only useful for
oup_version > 0).- number_sections
It will be passed to
rmarkdown::pdf_document(). Set to TRUE by default whenoup_version = 1is used.- citation_package
The LaTeX package to process citations,
natbiborbiblatex. Usedefaultif neither package is to be used, which means citations will be processed via the commandpandoc-citeproc.- papersize
one of "large" (default), "medium", or "small" setting output page size. (Only useful for
oup_version > 0)- document_style
one of "contemporary" (default), "modern", or "traditional" setting overall style of document. (Only useful for
oup_version > 0)- namedate
a logical variable indicating if natbib citations should be in name-date format. Defaults to
FALSE. (Only useful foroup_version > 0)- onecolumn
a logical variable indicating if one column formatting should be used. Defaults to
FALSE. (Only useful foroup_version > 0)- number_lines, number_lines_options
Control the usage of CTAN package
linenoin the template. Usenumber_lines =TRUEto activate and setnumber_lines_optionsto change options. (Only useful foroup_version > 0)- keep_tex
Keep the intermediate tex file used in the conversion to PDF. Note that this argument does not control whether to keep the auxiliary files (e.g.,
.aux) generated by LaTeX when compiling.texto.pdf. To keep these files, you may setoptions(tinytex.clean = FALSE).- md_extensions
Markdown extensions to be added or removed from the default definition of R Markdown. See the
rmarkdown_formatfor additional details.- pandoc_args
Additional command line options to pass to pandoc
- ...
Additional arguments to
rmarkdown::pdf_document()
Details
Note that for
oup_version=0,citation_package="default"by default,oup_version=1,citation_package="natbib"by default andcitation_package="biblatex"is not supported.
