The rticles package include numerous output formats specific to academic
journals. All of these can take YAML similar to pdf_document()
.
Additionally, two templates include custom YAML, rticles::sage_article()
and rticles::sim_article()
. See the help pages for these functions for more
details and the sources of the LaTeX templates used for each.
yml_rticles_opts(
.yml,
title = yml_blank(),
runninghead = yml_blank(),
author = yml_blank(),
authormark = yml_blank(),
address = yml_blank(),
corrauth = yml_blank(),
corres = yml_blank(),
email = yml_blank(),
abstract = yml_blank(),
received = yml_blank(),
revised = yml_blank(),
accepted = yml_blank(),
keywords = yml_blank(),
bibliography = yml_blank(),
longtable = yml_blank(),
classoption = yml_blank(),
header_includes = yml_blank(),
include_after = yml_blank(),
...
)
rticles_author(name = yml_blank(), num = yml_blank())
rticles_address(name = yml_blank(), org = yml_blank())
rticles_corr_author(
name = yml_blank(),
author = yml_blank(),
address = yml_blank()
)
a yml
object created by yml()
, as_yml()
, or returned by
a yml_*()
function
Title of the manuscript
A character vector, a short author list for the header (sage_article)
A list of authors, containing name
and num
fields
(sage_article, sim_article). Use rticles_author()
or a list to specify.
A character vector, the short author list for the header (sim_article)
list containing num
and org
for defining author
affiliations (sage_article, sim_article). Use rticles_address()
or a list
to specify.
corresponding author name
and address
(sage_article). Use
rticles_corr_author()
or a list to specify.
author
and address
for correspondence (sim_article). Use
rticles_corr_author()
or a list to specify.
The email of the correspondence author (sage_article)
The abstract, limited to 200 words (sage_article), 250 words (sim_article)
The dates of submission, revision, and acceptance of the manuscript (sim_article)
The keywords for the article (sage_article), up to 6 keywords (sim_article)
BibTeX .bib
file name (sage_article, sim_article)
Logical. Include the longtable package? Used by default from pandoc to convert markdown to LaTeX code (sim_article)
a character vector of classoption
options for the
sagej
class (sage_article)
additional LaTeX code to include in the header, before
the \\begin\{document\}
statement (sage_article, sim_article). Note that
the actual YAML field is header-includes
additional LaTeX code to include before the
\\end\{document\}
statement (sage_article, sim_article). Note that the
actual YAML field is include-after
.
additional named R objects, such as characters or lists, to transform into YAML
The author's name
The author's number or address number
The author's organization
a yml
object
Other yml:
asis_yaml_output()
,
bib2yml()
,
draw_yml_tree()
,
has_field()
,
read_json()
,
use_yml_defaults()
,
use_yml_file()
,
use_yml()
,
yml_author()
,
yml_blogdown_opts()
,
yml_bookdown_opts()
,
yml_citations()
,
yml_clean()
,
yml_distill_opts()
,
yml_latex_opts()
,
yml_output()
,
yml_pagedown_opts()
,
yml_params()
,
yml_pkgdown()
,
yml_reference()
,
yml_replace()
,
yml_resource_files()
,
yml_rsconnect_email()
,
yml_runtime()
,
yml_site_opts()
,
yml_toc()
,
yml_vignette()