From 261b55a9ebab51a9c3b94c73a87327698bab5c03 Mon Sep 17 00:00:00 2001 From: christophe dervieux Date: Tue, 2 Mar 2021 09:06:10 +0100 Subject: [PATCH] Update documentation of articles --- R/article.R | 7 ++++--- man/article.Rd | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/R/article.R b/R/article.R index 6a203825f..c924ddb18 100644 --- a/R/article.R +++ b/R/article.R @@ -8,6 +8,9 @@ #' custom Pandoc LaTeX template and different default values for other arguments #' (e.g., \code{keep_tex = TRUE}). #' +#' @param +#' ...,keep_tex,latex_engine,citation_package,highlight,fig_caption,md_extensions,template,pandoc_args +#' Arguments passed to \code{rmarkdown::\link{pdf_document}()}. #' @section Details: You can find more details about each output format below. #' @name acm_article #' @rdname article @@ -16,9 +19,7 @@ NULL #' @section \code{acm_article}: Format for creating an Association for Computing #' Machinery (ACM) articles. Adapted from #' \url{https://www.acm.org/publications/proceedings-template}. -#' @param -#' ...,keep_tex,latex_engine,citation_package,highlight,fig_caption,md_extensions,template -#' Arguments passed to \code{rmarkdown::\link{pdf_document}()}. + #' @return An R Markdown output format. #' @examples \dontrun{ #' rmarkdown::draft("MyArticle.Rmd", template = "acm", package = "rticles") diff --git a/man/article.Rd b/man/article.Rd index 00167e6ae..ce9a030d1 100644 --- a/man/article.Rd +++ b/man/article.Rd @@ -132,7 +132,7 @@ springer_article(..., keep_tex = TRUE, citation_package = "default") tf_article(..., keep_tex = TRUE, citation_package = "natbib") } \arguments{ -\item{..., keep_tex, latex_engine, citation_package, highlight, fig_caption, md_extensions, template}{Arguments passed to \code{rmarkdown::\link{pdf_document}()}.} +\item{..., keep_tex, latex_engine, citation_package, highlight, fig_caption, md_extensions, template, pandoc_args}{Arguments passed to \code{rmarkdown::\link{pdf_document}()}.} \item{journal}{one of \code{"aoas"}, \code{"aap"}, \code{"aop"}, \code{"aos"}, \code{"sts"} for \code{ims_article}} }