options(prompt = 'R> ', continue = '+ ')

Introduction

This template demonstrates some of the basic LaTeX that you need to know to create a JSS article.

Code formatting

In general, don't use Markdown, but use the more precise LaTeX commands instead:

One exception is inline code, which can be written inside a pair of backticks (i.e., using the Markdown syntax).

If you want to use LaTeX commands in headers, you need to provide a short-title attribute. You can also provide a custom identifier if necessary. See the header of Section \ref{r-code} for example.

\proglang{R} code {short-title="R code" #r-code}

Can be inserted in regular R markdown blocks.

x <- 1:10
x

Features specific to \pkg{rticles} {short-title="Features specific to rticles"}



rstudio/rticles documentation built on April 9, 2024, 10:51 p.m.