Skip to content

Commit e553097

Browse files
statzherocderv
andauthored
Allow classoptions in tf_article() (#434)
* Allow classoptions such as `letterpaper` * Using a for loop to support multiple classoptions Co-authored-by: christophe dervieux <[email protected]>
1 parent 22debeb commit e553097

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: rticles
22
Type: Package
33
Title: Article Formats for R Markdown
4-
Version: 0.20.3
4+
Version: 0.20.4
55
Authors@R: c(
66
person("JJ", "Allaire", role = "aut", email = "[email protected]"),
77
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666")),

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# rticles 0.21
22

3+
- Template for `tf_article()` gains a `classoption` variable (thanks, @statzhero, #434).
4+
35
- Add the fenced div with id `#refs` in `frontiers_article()` skeleton to place the reference section in the correct expected place (thanks, @graysonwhite, #423).
6+
47
- `bioinformatics_article()` has no more trailing comma after last author (thanks, @stephenturner, #413).
8+
59
- `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)
610

711
# rticles 0.20

inst/rmarkdown/templates/tf/resources/template.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
% interactcadsample.tex
22
% v1.03 - April 2017
33

4-
\documentclass[]{interact}
4+
\documentclass[$for(classoption)$$classoption$$sep$,$endfor$]{interact}
55

66
\usepackage{epstopdf}% To incorporate .eps illustrations using PDFLaTeX, etc.
77
\usepackage{subfigure}% Support for small, `sub' figures and tables

0 commit comments

Comments
 (0)