Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions inst/rmarkdown/templates/tf/resources/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,20 @@
\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
$if(subfig)$
\usepackage[$subfigoptions$]{subfig}% Support for small, `sub' figures and tables
$else$
\usepackage[$subfigureoptions$]{subfigure}% Support for small, `sub' figures and tables
$endif$
%\usepackage[nolists,tablesfirst]{endfloat}% To `separate' figures and tables from text if required

\usepackage{natbib}% Citation support using natbib.sty
%\usepackage[doublespacing]{setspace}% To produce a `double spaced' document if required
%\setlength\parindent{24pt}% To increase paragraph indentation when line spacing is doubled
%\setlength\bibindent{2em}% To increase hanging indent in bibliography when line spacing is doubled

$if(natbib)$
\usepackage[$natbiboptions$]{natbib}
$endif$
\bibpunct[, ]{(}{)}{;}{a}{}{,}% Citation support using natbib.sty
\renewcommand\bibfont{\fontsize{10}{12}\selectfont}% Bibliography support using natbib.sty

Expand Down
3 changes: 3 additions & 0 deletions inst/rmarkdown/templates/tf/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ header-includes: |
\usepackage{hyperref}
\usepackage[utf8]{inputenc}
\def\tightlist{}
# Uncommand below to use reference style S instead of CAD with interact layout
biblio-style: tfs
natbiboptions: "`numbers,sort&compress`{=latex}"
output: rticles::tf_article
---

Expand Down
Loading