Format for creating submissions to many Oxford University Press journals.
Adapted from
https://academic.oup.com/pages/authoring/journals/preparing_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.cls
included or set to 1 to use the newer 2020 OUP packageoup-authoring-template
available 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 = 1
is used.- citation_package
The LaTeX package to process citations,
natbib
orbiblatex
. Usedefault
if 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
lineno
in the template. Usenumber_lines =TRUE
to activate and setnumber_lines_options
to 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.tex
to.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_format
for additional details.- pandoc_args
Additional command line options to pass to pandoc
- ...
Additional arguments to
rmarkdown::pdf_document()