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() )
| .yml | a |
|---|---|
| title | Title of the manuscript |
| runninghead | A character vector, a short author list for the header (sage_article) |
| author | A list of authors, containing |
| authormark | A character vector, the short author list for the header (sim_article) |
| address | list containing |
| corrauth | corresponding author |
| corres |
|
The email of the correspondence author (sage_article) |
|
| abstract | The abstract, limited to 200 words (sage_article), 250 words (sim_article) |
| received, revised, accepted | The dates of submission, revision, and acceptance of the manuscript (sim_article) |
| keywords | The keywords for the article (sage_article), up to 6 keywords (sim_article) |
| bibliography | BibTeX |
| longtable | Logical. Include the longtable package? Used by default from pandoc to convert markdown to LaTeX code (sim_article) |
| classoption | a character vector of |
| header_includes | additional LaTeX code to include in the header, before
the |
| include_after | additional LaTeX code to include before the
|
| ... | additional named R objects, such as characters or lists, to transform into YAML |
| name | The author's name |
| num | The author's number or address number |
| org | 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()
#> --- #> author: runner #> date: '`r format(Sys.Date())`' #> received: 09-12-2014 #> --- #>