skeleton.Rmd 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. author:
  3. - name: FirstName LastName
  4. affiliation: University/Company
  5. address: >
  6. First line
  7. Second line
  8. email: \email{[email protected]}
  9. url: http://rstudio.com
  10. - name: Second Author
  11. affiliation: Affiliation
  12. title:
  13. formatted: "A Capitalized Title: Something about a Package \\pkg{foo}"
  14. # If you use tex in the formatted title, also supply version without
  15. plain: "A Capitalized Title: Something about a Package foo"
  16. # For running headers, if needed
  17. short: "\\pkg{foo}: A Capitalized Title"
  18. abstract: >
  19. The abstract of the article.
  20. keywords:
  21. # at least one keyword must be supplied
  22. formatted: [keywords, not capitalized, "\\proglang{Java}"]
  23. plain: [keywords, not capitalized, Java]
  24. preamble: >
  25. \usepackage{amsmath}
  26. output: rticles::jss_article
  27. ---
  28. # Introduction
  29. This template demonstrates some of the basic latex you'll need to know to create a JSS article.
  30. ## Code formatting
  31. Don't use markdown, instead use the more precise latex commands:
  32. * \proglang{Java}
  33. * \pkg{plyr}
  34. * \code{print("abc")}
  35. # R code
  36. Can be inserted in regular R markdown blocks.
  37. ```{r}
  38. x <- 1:10
  39. x
  40. ```