12345678910111213141516171819202122232425262728 |
- #' Elsevier journal format.
- #'
- #' Format for creating submissions to Elsevier journals. Adapted from
- #' \href{https://www.elsevier.com/authors/author-schemas/latex-instructions}{https://www.elsevier.com/authors/author-schemas/latex-instructions}.
- #'
- #' @inheritParams rmarkdown::pdf_document
- #' @param ... Additional arguments to \code{rmarkdown::pdf_document}
- #'
- #' @return R Markdown output format to pass to
- #' \code{\link[rmarkdown:render]{render}}
- #'
- #' @examples
- #'
- #' \dontrun{
- #' library(rmarkdown)
- #' draft("MyArticle.Rmd", template = "elsevier_article", package = "rticles")
- #' }
- #'
- #' @export
- elsevier_article <- function(...,
- keep_tex = TRUE,
- md_extensions = c("-autolink_bare_uris")) {
- inherit_pdf_document(...,
- template = find_resource("elsevier_article", "template.tex"),
- keep_tex = keep_tex,
- md_extensions = md_extensions)
- }
|