blob: 72efa01b2631ea37675cc6143209a2fce1d8b11e [file] [log] [blame]
Brent Thorne06ae3ac2018-11-30 15:16:47 -05001#' 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
21posterdown_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}