oup_article | R Documentation |
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.
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,
...
)
oup_version |
set to 0 (default) to use the 2009 OUP |
journal |
journal Title. (Only useful for |
number_sections |
It will be passed to |
citation_package |
The LaTeX package to process citations, |
papersize |
one of "large" (default), "medium", or "small" setting
output page size. (Only useful for |
document_style |
one of "contemporary" (default), "modern", or
"traditional" setting overall style of document. (Only useful for |
namedate |
a logical variable
indicating if natbib citations should be in name-date format. Defaults to
|
onecolumn |
a logical variable indicating if one column formatting
should be used. Defaults to |
number_lines, number_lines_options |
Control the usage of CTAN package
|
keep_tex |
Keep the intermediate tex file used in the conversion to PDF |
md_extensions |
Markdown extensions to be added or removed from the
default definition of R Markdown. See the |
pandoc_args |
Additional command line options to pass to pandoc |
... |
Additional arguments to |
Note that for
oup_version=0
, citation_package="default"
by default,
oup_version=1
, citation_package="natbib"
by default and
citation_package="biblatex"
is not supported.
oup_version = 1
requires a minimum version of 2.10.
## Not run:
# Use old template based on `ouparticle.cls`
rmarkdown::draft("MyArticle.Rmd", template = "oup_v0", package = "rticles")
# Use new template based on `oup-authoring-template` CTAN package
rmarkdown::draft("MyArticle.Rmd", template = "oup_v1", package = "rticles")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.