-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path_quarto.yml
More file actions
152 lines (137 loc) · 3.52 KB
/
Copy path_quarto.yml
File metadata and controls
152 lines (137 loc) · 3.52 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Required Quarto extensions (install with `quarto add <name>`):
# - coatless/pyodide
# - pandoc-ext/boxes
# - pandoc-ext/section-bibliographies
# - leovan/quarto-pseudocode
project:
type: book
output-dir: _book
preview:
port: 4200
resources:
- "*.pdf"
reference-location: document # footnotes in margin
citation-location: document # citations in margin
link-citations: true # citations link to references
bibliography: src/references.bib
reference-section-title: References
crossref:
fig-prefix: Figure
tbl-prefix: Table
sec-prefix: Section
language:
crossref-ch-prefix: Chapter
crossref-apx-prefix: Appendix
df-print: kable
filters:
- pseudocode
format:
html:
theme:
light: [flatly, resources/scss/global.scss]
dark: [darkly, resources/scss/global.scss]
published-title: "Updated"
code-fold: false
code-overflow: scroll
code-line-numbers: true
code-tools: true
code-copy: True
mathjax:
macros:
mathbbm: ["\\mathbbm{#1}", 1]
include-in-header:
text: |
<script>
MathJax = {
loader: {
load: ['[tex]/boldsymbol']
},
tex: {
tags: "none",
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$'], ['\\[','\\]']],
processEscapes: true,
processEnvironments: true,
packages: {
'[+]': ['boldsymbol']
}
}
};
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js" type="text/javascript"></script>
pdf:
documentclass: scrreprt
classoption: [numbers=noenddot,DIV=11]
keep-tex: true
include-in-header: resources/tex/preamble.tex
include-after-body: resources/tex/postamble.tex
template-partials:
- resources/tex/partials/before-body.tex
citeproc: false # don't run pandoc default citation handling
filters:
- resources/tex/protect-crossrefs.lua
- section-bibliographies
toc-depth: 2 # level 1 headings (i.e. parts and chapters)
toc-title: Table of Contents # title of table of contents
links-as-notes: true # turn URLs into sidenotes
citecolor: DarkGreen # tufte color
linkcolor: DarkBlue # tufte color
urlcolor: DarkGreen # tufte color
code-overflow: wrap
code-line-numbers: true
include-before-body:
text: |
\RecustomVerbatimEnvironment{verbatim}{Verbatim}{
showspaces = false,
showtabs = false,
breaksymbolleft={},
breaklines
}
knitr:
opts_chunk:
comment: "#>"
collapse: TRUE
cache.lazy: FALSE
dev: "png"
dpi: 300
execute:
freeze: auto
eval: false
echo: true
message: false
warning: false
error: false
cache: false
highlight-style: github
tidy: true
book:
title: "Machine Learning from Human Preferences"
subtitle: ""
author:
- name: Sang T. Truong
orcid: 0000-0001-8069-9410
- name: Andreas Haupt
orcid: 0000-0002-2952-4188
- name: Sanmi Koyejo
orcid: 0000-0002-4023-419X
date: last-modified
repo-url: https://github.com/stair-lab/mlhp
repo-actions: [source, issue]
downloads: [pdf]
sidebar:
style: "docked"
footer: license.qmd
google-analytics: "G-05EBMFEHP2"
chapters:
- index.qmd
- src/chap1.qmd
- src/chap2.qmd
- src/chap3.qmd
- src/chap4.qmd
- src/chap5.qmd
- src/chap6.qmd
- src/chap7.qmd
- src/teaching.qmd
appendices:
- src/notation.qmd
- src/glossary.qmd