acm_article.R 863 B

123456789101112131415161718192021222324252627
  1. #' Association for Computing Machinery (ACM) format.
  2. #'
  3. #' Format for creating an Association for Computing Machinery (ACM) articles.
  4. #' Adapted from
  5. #' \href{http://www.acm.org/publications/article-templates/proceedings-template.html}{http://www.acm.org/publications/article-templates/proceedings-template.html}.
  6. #'
  7. #' @inheritParams rmarkdown::pdf_document
  8. #' @param ... Arguments to \code{rmarkdown::pdf_document}
  9. #'
  10. #' @return R Markdown output format to pass to \code{\link[rmarkdown:render]{render}}
  11. #'
  12. #' @examples
  13. #'
  14. #' \dontrun{
  15. #' library(rmarkdown)
  16. #' draft("MyArticle.Rmd", template = "acm_article", package = "rticles")
  17. #' }
  18. #'
  19. #' @export
  20. acm_article <- function(...) {
  21. pdf_document_format(...,
  22. format = "acm_article",
  23. template = "template.tex",
  24. csl = "acm-sig-proceedings.csl")
  25. }