Skip to content

Commit

Permalink
close #219: write class options in a for-loop (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangyun Huang authored and yihui committed May 9, 2019
1 parent 013b424 commit 3232a3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion inst/rmarkdown/templates/jss_article/resources/template.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
\documentclass[$if(documentclass)$$documentclass$$else$article$endif$$if(classoption)$,$classoption$$endif$]{jss}
\documentclass[
$for(classoption)$
$classoption$$sep$,
$endfor$
]{$documentclass$}

\usepackage[utf8]{inputenc}

\providecommand{\tightlist}{%
Expand Down
1 change: 1 addition & 0 deletions inst/rmarkdown/templates/jss_article/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
documentclass: jss
author:
- name: FirstName LastName
affiliation: University/Company
Expand Down

0 comments on commit 3232a3c

Please sign in to comment.