Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: sagemathinc/cocalc-example-files
Path: blob/master/RMarkdown/rticles/jss_article/jss_article.Rmd
Views: 1159
---
author: - name: FirstName LastName affiliation: University/Company address: > First line Second line email: \email{name@company.com} url: http://rstudio.com - name: Second Author affiliation: Affiliation title: formatted: "A Capitalized Title: Something about a Package \\pkg{foo}" # If you use tex in the formatted title, also supply version without plain: "A Capitalized Title: Something about a Package foo" # For running headers, if needed short: "\\pkg{foo}: A Capitalized Title" abstract: > The abstract of the article. keywords: # at least one keyword must be supplied formatted: [keywords, not capitalized, "\\proglang{Java}"] plain: [keywords, not capitalized, Java] preamble: > \usepackage{amsmath} output: rticles::jss_article
---

Introduction

This template demonstrates some of the basic latex you'll need to know to create a JSS article.

Code formatting

Don't use markdown, instead use the more precise latex commands:

  • \proglang{Java}

  • \pkg{plyr}

  • \code{print("abc")}

R code

Can be inserted in regular R markdown blocks.

x <- 1:10 x