brentthorne | 8241b94 | 2018-12-03 23:51:48 -0500 | [diff] [blame^] | 1 | #' Posterdown PDF format (using 'memoir' document class) |
| 2 | #' |
| 3 | #' @inheritParams rmarkdown::pdf_document |
| 4 | #' @param ... Additional arguments to \code{rmarkdown::pdf_document} |
| 5 | #' |
| 6 | #' @return R Markdown output format to pass to |
| 7 | #' \code{\link[rmarkdown:render]{render}} |
| 8 | #' |
| 9 | #' @examples |
| 10 | #' |
| 11 | #' \dontrun{ |
| 12 | #' library(rmarkdown) |
| 13 | #' draft("MyArticle.Rmd", template = "posterdown_generic", package = "posterdown") |
| 14 | #' } |
| 15 | #' |
| 16 | #' @export |
| 17 | posterdown_memoir <- function(..., keep_tex = TRUE) { |
| 18 | inherit_pdf_document(..., |
| 19 | keep_tex = keep_tex, |
| 20 | template = find_resource("posterdown_memoir", "template.tex"), |
| 21 | citation_package = "biblatex") |
| 22 | } |