rstudio / rticles

LaTeX Journal Article Templates for R Markdown
https://pkgs.rstudio.com/rticles/
1.47k stars 519 forks source link

Implemented some of the suggestions from #254 to jss_article #294

Closed Freguglia closed 4 years ago

Freguglia commented 4 years ago

254

Continuation prompts

At the moment rticles employs either R+ (for evaluated code) or R> (for non-evaluated code) as the continution prompt but + would be requested by JSS.

The code chunk

f(a = 1,
  b = 2)

now correctly renders as the journal template example

R> f(a = 1,
+    b = 2)

Inline code formatting

For code in Markdown it is ok to use backtick syntax, so that \code{...} is typically not necessary. Hence I it is ok to remove \code{print("abc")} from skeleton.Rmd, I think.

Changed the way markdown backtick syntax renders to \code{} instead of texttt{} and documented in the skeleton.Rmd