-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.Rmd
More file actions
executable file
·97 lines (86 loc) · 3.93 KB
/
index.Rmd
File metadata and controls
executable file
·97 lines (86 loc) · 3.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
#####################
## thesis metadata ##
#####################
title: |
Ulysses in Cyberspace: \
Examining the Effectiveness of \
[Design Patterns for Digital Self-Control]{.correction}
author: Ulrik Lyngs
college: Linacre College
degree: Doctor of Philosophy
degreedate: Michaelmas 2019
abstract: |
`r paste(readLines("front-and-back-matter/_abstract.Rmd"), collapse = '\n ')`
acknowledgements: |
`r paste(readLines("front-and-back-matter/_acknowledgements.Rmd"), collapse = '\n ')`
dedication: "To my parents, and to *Farfars Hus*"
abbreviations: "front-and-back-matter/abbreviations" # path to .tex file with abbreviations
#######################
## bibliography path ##
#######################
bibliography: references.bib
bibliography-heading-in-pdf: References
#####################
## PDF formatting ##
#####################
### page layout & headers and footers ###
page-layout: nobind #'nobind' for PDF output (equal margins), 'twoside' for two-sided binding (mirror margins and blank pages), leave blank for one-sided binding (left margin > right margin)
ordinary-page-number-foot-or-head: foot #'foot' puts page number in footer, 'head' in header
ordinary-page-number-position: C #C = center, R = right, L = left. If page layout is 'twoside', then O = odd pages and E = even pages. E.g. RO,LE puts the page number to the right on odd pages and left on even pages
chapter-page-number-foot-or-head: foot #you may want it to be different on the chapter pages
chapter-page-number-position: C
running-header: true #indicate current chapter/section in header?
running-header-foot-or-head: head
running-header-position-leftmark: LO #marks the chapter. If layout is 'nobind', only this is used.
running-header-position-rightmark: RE #marks the section.
abstractseparate: false # include front page w/ abstract for examination schools?
bib-humanities: true #set to true if you want in-text references formatted as author-year
maxcitenames: 2 #the number of names to include in the bibliography by the end
draft: false # add as DRAFT mark in the footer?
hidelinks: true #if true, then the PDF output won't highlight clickable links with a colored border - for a physical print version, you might want to set this to true
toc-depth: 1 # depth of heading to include in table of contents
lof: true # list of figures in front matter?
lot: true # list of tables in front matter?
mini-toc: true # mini-table of contents at start of each chapter? (this just prepares it; you must also add \minitoc after the chapter titles)
mini-lot: false # mini-list of tables by start of each chapter?
mini-lof: false # mini-list of figures by start of each chapter?
params:
corrections: false # set false to stop applying blue background to blocks of corrections
#####################
## output options ##
#####################
output:
bookdown::pdf_book:
template: templates/template.tex
keep_tex: true
citation_package: biblatex
#pandoc_args: ["--lua-filter=scripts_and_filters/correction_filter.lua"] #remove filter to stop applying blue background to inline corrections
bookdown::bs4_book:
css: templates/bs4_style.css
theme:
primary: "#6D1919"
repo: https://github.com/ulyngs/phd-thesis
bookdown::gitbook:
css: templates/style.css
config:
sharing:
facebook: false
twitter: yes
all: false
bookdown::word_document2:
toc: true
always_allow_html: yes
link-citations: true
documentclass: book
---
```{r create_chunk_options, include=FALSE, eval=knitr::is_latex_output()}
source('scripts_and_filters/create_chunk_options.R')
```
<!--
Include the create_chunk_options chunk above at the top of your index.Rmd file
This will include code to create additional chunk options (e.g. for adding author references to savequotes)
If you need to create your own additional chunk options, edit the file scripts/create_chunk_options.R
-->
```{r ebook-welcome, child = '_00-welcome-ebook.Rmd', eval=knitr::is_html_output()}
```