Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.76 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.76 KB

An unofficial bookdown template for a doctoral thesis at Karolinska Institutet

The files in this repository provide an unofficial blueprint for a doctoral thesis at Karolinska Institutet, compiled using the bookdown package to combine multiple RMarkdown documents into one. The primary use is export to PDF via Latex using pandoc. There are a lot of ad hoc Latex insertions which might complicate export to other formats.

Workflow

  1. Execute bookdown::render_book("index.Rmd") twice to generate the main body of the thesis in the output subfolder.
  2. Knit before_body.Rmd in the before_body subfolder to a PDF. This includes the unnumbered pages before the table of contents, such as the title page, copyright, spikblad (there is a separate spikblad with date and time in the spikblad subfolder), abstract and publication list.
  3. Compile PDF (easiest from within RStudio) for combine.tex in the output subfolder to combine the two documents.
  4. The output is the final document combine.pdf in the output subfolder.

Acknowledgments

This thesis template has been inspired by incredibly valuable blogposts from @ed_berry: Writing your thesis with bookdown and @rosannavhespen: Writing your thesis with R Markdown.

The files in this repository compile into my thesis at KI which can also be found here.

Package versions used to compile the thesis

  • R version 3.3.0
  • Bookdown 0.5
  • RMarkdown 1.6
  • Knitr 1.17