12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/peerj_article.R
- \name{peerj_article}
- \alias{peerj_article}
- \title{PeerJ journal format.}
- \usage{
- peerj_article(..., keep_tex = TRUE, citation_package = "none",
- base_format = rmarkdown::pdf_document)
- }
- \arguments{
- \item{...}{Additional arguments to \code{base_format}}
- \item{keep_tex}{Keep the intermediate tex file used in the conversion to PDF}
- \item{citation_package}{The LaTeX package to process citations, \code{natbib}
- or \code{biblatex}. Use \code{none} if neither package is to be used.}
- \item{base_format}{The function to use for the base format of the article.
- By default, this is \code{rmarkdown::pdf_document}, but to use bookdown's
- cross-referencing feature, this can be set to \code{bookdown::pdf_document2}}
- }
- \value{
- R Markdown output format to pass to
- \code{\link[rmarkdown:render]{render}}
- }
- \description{
- Format for creating submissions to The PeerJ.
- }
- \details{
- This was adapted from the
- \href{https://www.overleaf.com/latex/templates/latex-template-for-peerj-journal-and-pre-print-submissions/ptdwfrqxqzbn}{PeerJ Overleaf Template}.
- }
- \note{
- If you use \code{rmarkdown::pdf_document()}, all internal references
- (i.e. tables and figures) must use \code{\\ref\{\}} whereas with
- \code{bookdown::pdf_document2()}, you can additionally use \code{\\@ref()}.
- }
- \examples{
- \dontrun{
- library(rmarkdown)
- draft("MyArticle.Rmd", template = "peerj_article", package = "rticles")
- }
- }
|