rmd2pdf(file = "thesis.Rmd", template = "thesis_template.latex", biber = TRUE, saveTmpFiles = FALSE)
FALSE
the files are deleted.inst/rmarkdown/thesis_template.latex
,
is a modification of the default template found via
pandoc -D latex
. If you need to add more packages to your preamble,
e.g. \usepackage{amsmath}
, modify thesis_template.latex
accordingly.Temporary files (e.g. .md's, .log's, .aux's, etc.) are stored in a temporary
(sub)directory, tmp/
.
## Not run:
# setwd("inst/rmarkdown")
# rmd2pdf()
# ## End(Not run)
Run the code above in your browser using DataLab