springer_article.R 781 B

12345678910111213141516171819202122
  1. #' Springer Journal format.
  2. #'
  3. #' This format was adapted from the Springer Macro package for Springer
  4. #' Journals.
  5. #'
  6. #' @inheritParams rmarkdown::pdf_document
  7. #' @param ... Arguments to \code{rmarkdown::pdf_document}
  8. #' @return R Markdown output format to pass to \code{\link[rmarkdown:render]{render}}
  9. #' @examples
  10. #' \dontrun{
  11. #' rmarkdown::draft("MyArticle.Rmd", template = "springer_article", package = "rticles")
  12. #' }
  13. #'
  14. #' @export
  15. springer_article <- function(..., keep_tex = TRUE, citation_package = 'none'){
  16. template <- find_resource("springer_article", "template.tex")
  17. inherit_pdf_document(template = template,
  18. keep_tex = keep_tex,
  19. citation_package = citation_package,
  20. ...)
  21. }