ams_article | R Documentation |
Format for creating submissions to American Meteorological Society journals.
ams_article(
...,
keep_tex = TRUE,
citation_package = "natbib",
md_extensions = c("-autolink_bare_uris", "-auto_identifiers"),
pandoc_args = NULL
)
... |
Additional arguments to |
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 set |
citation_package |
only natbib is supported with this template. |
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 |
This was adapted from https://www.ametsoc.org/index.cfm/ams/publications/author-information/latex-author-info/.
The template require some default knitr option to be change:
echo = FALSE
as no R code should be shown
fig.path = ""
as all directory paths need to be removed from figure names
out.extra = ""
to force figure labels with knitr
An R Markdown output format.
## Not run:
library("rmarkdown")
draft("MyArticle.Rmd", template = "ams", package = "rticles")
render("MyArticle/MyArticle.Rmd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.