blob: 72efa01b2631ea37675cc6143209a2fce1d8b11e [file] [log] [blame]
#' Posterdown PDF format
#'
#' Format for creating submissions to Multidisciplinary Digital Publishing
#' Institute (MDPI) journals. Adapted from
#' \href{http://www.mdpi.com/authors/latex}{http://www.mdpi.com/authors/latex}.
#'
#' @inheritParams rmarkdown::pdf_document
#' @param ... Additional arguments to \code{rmarkdown::pdf_document}
#'
#' @return R Markdown output format to pass to
#' \code{\link[rmarkdown:render]{render}}
#'
#' @examples
#'
#' \dontrun{
#' library(rmarkdown)
#' draft("MyArticle.Rmd", template = "posterdown_generic", package = "posterdown")
#' }
#'
#' @export
posterdown_generic <- function(..., keep_tex = TRUE) {
inherit_pdf_document(...,
keep_tex = keep_tex,
template = find_resource("posterdown_generic", "template.tex"),
citation_package = "natbib")
}