1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- % Generated by roxygen2: do not edit by hand
- % Please edit documentation in R/sim_article.R
- \name{sim_article}
- \alias{sim_article}
- \title{Statistics in Medicine format.}
- \usage{
- sim_article(..., highlight = NULL, citation_package = "natbib")
- }
- \arguments{
- \item{...}{Additional arguments to \code{rmarkdown::pdf_document}}
- \item{highlight}{Syntax highlighting style. Supported styles include
- "default", "tango", "pygments", "kate", "monochrome", "espresso",
- "zenburn", and "haddock". Pass \code{NULL} to prevent syntax highlighting.}
- \item{citation_package}{The LaTeX package to process citations, \code{natbib}
- or \code{biblatex}. Use \code{none} if neither package is to be used.}
- }
- \value{
- R Markdown output format to pass to
- \code{\link[rmarkdown:render]{render}}
- }
- \description{
- Format for creating submissions to Statistics in Medicine. Based on the official Statistics in Medicine
- \href{http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)1097-0258/homepage/la_tex_class_file.htm}{class}.
- }
- \details{
- Possible arguments for the YAML header are:
- \itemize{
- \item \code{title} title of the manuscript
- \item \code{author} list of authors, containing \code{name} and \code{num}
- \item \code{address} list containing \code{num} and \code{org} for defining \code{author} affiliations
- \item \code{presentaddress} not sure what they mean with this
- \item \code{corres} author and address for correspondence
- \item \code{authormark} short author list for header
- \item \code{received}, \code{revised}, \code{accepted} dates of submission, revision, and acceptance of the manuscript
- \item \code{abstract} abstract, limited to 250 words
- \item \code{keywords} up to 6 keywords
- \item \code{bibliography} BibTeX \code{.bib} file
- \item \code{classoption} options of the \code{WileyNJD-v2} class
- \item \code{longtable} set to \code{true} to include the \code{longtable} package, used by default from \code{pandoc} to convert markdown to LaTeX code
- \item \code{header-includes}: custom additions to the header, before the \code{\\begin\{document\}} statement
- \item \code{include-after}: for including additional LaTeX code before the \code{\\end\{document\}} statement}
- }
- \examples{
- \dontrun{
- library(rmarkdown)
- draft("MyArticle.Rmd", template = "sim_article", package = "rticles")
- }
- }
|