sage_article.Rd 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/sage_article.R
  3. \name{sage_article}
  4. \alias{sage_article}
  5. \title{Sage Journals format.}
  6. \usage{
  7. sage_article(..., highlight = NULL, citation_package = "natbib")
  8. }
  9. \arguments{
  10. \item{...}{Additional arguments to \code{rmarkdown::pdf_document}}
  11. \item{highlight}{Syntax highlighting style. Supported styles include
  12. "default", "tango", "pygments", "kate", "monochrome", "espresso",
  13. "zenburn", and "haddock". Pass \code{NULL} to prevent syntax highlighting.}
  14. \item{citation_package}{The LaTeX package to process citations, \code{natbib}
  15. or \code{biblatex}. Use \code{none} if neither package is to be used.}
  16. }
  17. \value{
  18. R Markdown output format to pass to
  19. \code{\link[rmarkdown:render]{render}}
  20. }
  21. \description{
  22. Format for creating submissions to Sage Journals. Based on the official Sage Journals
  23. \href{https://uk.sagepub.com/sites/default/files/sage_latex_template_4.zip}{class}.
  24. }
  25. \details{
  26. Possible arguments for the YAML header are:
  27. \itemize{
  28. \item \code{title} title of the manuscript
  29. \item \code{runninghead} short author list for header
  30. \item \code{author} list of authors, containing \code{name} and \code{num}
  31. \item \code{address} list containing \code{num} and \code{org} for defining \code{author} affiliations
  32. \item \code{corrauth} corresponding author name and address
  33. \item \code{email} correspondence email
  34. \item \code{abstract} abstract, limited to 200 words
  35. \item \code{keywords} keywords for the artucle
  36. \item \code{bibliography} BibTeX \code{.bib} file name
  37. \item \code{classoption} options of the \code{sagej} class
  38. \item \code{header-includes}: custom additions to the header, before the \code{\\begin\{document\}} statement
  39. \item \code{include-after}: for including additional LaTeX code before the \code{\\end\{document\}} statement}
  40. }
  41. \examples{
  42. \dontrun{
  43. library(rmarkdown)
  44. draft("MyArticle.Rmd", template = "sage_article", package = "rticles")
  45. }
  46. }