diff --git a/DESCRIPTION b/DESCRIPTION index bd0d36201..0dccb11b0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: rticles Type: Package Title: Article Formats for R Markdown -Version: 0.20.3 +Version: 0.20.4 Authors@R: c( person("JJ", "Allaire", role = "aut", email = "jj@rstudio.com"), person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")), diff --git a/NEWS.md b/NEWS.md index 053d2e967..903f0f917 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,11 @@ # rticles 0.21 +- Template for `tf_article()` gains a `classoption` variable (thanks, @statzhero, #434). + - Add the fenced div with id `#refs` in `frontiers_article()` skeleton to place the reference section in the correct expected place (thanks, @graysonwhite, #423). + - `bioinformatics_article()` has no more trailing comma after last author (thanks, @stephenturner, #413). + - `bioinformatics_article()` now separates `manuscript_type` (e.g., Applications note, Original article) and `subject_section` (e.g. Genome analysis, Phylogenetics) in template and skeleton (thanks, @stephenturner, #415) # rticles 0.20 diff --git a/inst/rmarkdown/templates/tf/resources/template.tex b/inst/rmarkdown/templates/tf/resources/template.tex index e65e2c586..e9cdb28f9 100644 --- a/inst/rmarkdown/templates/tf/resources/template.tex +++ b/inst/rmarkdown/templates/tf/resources/template.tex @@ -1,7 +1,7 @@ % interactcadsample.tex % v1.03 - April 2017 -\documentclass[]{interact} +\documentclass[$for(classoption)$$classoption$$sep$,$endfor$]{interact} \usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc. \usepackage{subfigure}% Support for small, `sub' figures and tables