Brent Thorne | 425961c | 2018-12-03 13:56:09 -0500 | [diff] [blame^] | 1 | #' Posterdown PDF format |
| 2 | #' |
| 3 | #' Format for creating submissions to Multidisciplinary Digital Publishing |
| 4 | #' Institute (MDPI) journals. Adapted from |
| 5 | #' \href{http://www.mdpi.com/authors/latex}{http://www.mdpi.com/authors/latex}. |
| 6 | #' |
| 7 | #' @inheritParams rmarkdown::pdf_document |
| 8 | #' @param ... Additional arguments to \code{rmarkdown::pdf_document} |
| 9 | #' |
| 10 | #' @return R Markdown output format to pass to |
| 11 | #' \code{\link[rmarkdown:render]{render}} |
| 12 | #' |
| 13 | #' @examples |
| 14 | #' |
| 15 | #' \dontrun{ |
| 16 | #' library(rmarkdown) |
| 17 | #' draft("MyArticle.Rmd", template = "posterdown_generic", package = "posterdown") |
| 18 | #' } |
| 19 | #' |
| 20 | #' @export |
| 21 | posterdown_generic <- function(..., keep_tex = TRUE) { |
| 22 | inherit_pdf_document(..., |
| 23 | keep_tex = keep_tex, |
| 24 | template = find_resource("posterdown_generic", "template.tex"), |
| 25 | citation_package = "natbib") |
| 26 | } |