aea_article.R 850 B

123456789101112131415161718192021222324252627
  1. #' American Economic Association journal submissions.
  2. #'
  3. #' Format for creating submissions to the American Economic Association (AER, AEJ, JEL, PP).
  4. #'
  5. #' @inheritParams rmarkdown::pdf_document
  6. #' @param ... Additional arguments to \code{rmarkdown::pdf_document}
  7. #'
  8. #' @return R Markdown output format to pass to
  9. #' \code{\link[rmarkdown:render]{render}}
  10. #'
  11. #' @examples
  12. #'
  13. #' \dontrun{
  14. #' library(rmarkdown)
  15. #' draft("MyArticle.Rmd", template = "aea_article", package = "rticles")
  16. #' }
  17. #'
  18. #' @export
  19. aea_article <- function(...,
  20. keep_tex = TRUE,
  21. md_extensions = c("-autolink_bare_uris")) {
  22. inherit_pdf_document(...,
  23. template = find_resource("aea_article", "template.tex"),
  24. keep_tex = keep_tex,
  25. md_extensions = md_extensions)
  26. }