-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.Rmd
161 lines (135 loc) · 4.36 KB
/
index.Rmd
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
153
154
155
156
157
158
159
160
161
---
knit: (function(input, ...) {
thesis_formats <- "bs4";
source("scripts_and_filters/knit-functions.R");
knit_thesis(input, thesis_formats, ...)
})
title: 'My cheat sheets'
author: Carlos Lezama
university: Instituto Tecnológico Autónomo de México
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: For the student community
abbreviations: |
`r paste(readLines("front-and-back-matter/_abbreviations.Rmd"), collapse = '\n ')`
bibliography: [bibliography/references.bib, bibliography/additional-references.bib]
abbreviations-width: 3.2cm
abbreviations-heading: List of Abbreviations
bibliography-heading-in-pdf: Works Cited
use-biblatex: true
bib-latex-options: "style=authoryear, sorting=nyt, backend=biber, maxcitenames=2, useprefix, doi=true, isbn=false, uniquename=false"
use-natbib: false
natbib-citation-style: authoryear
natbib-bibliography-style: templates/ACM-Reference-Format.bst
corrections: true
colored-not-bordered-links: true
urlcolor-rgb: "0,0,139"
citecolor-rgb: "0,33,71"
linkcolor-rgb: "0,0,139"
toc-link-page-numbers: true
page-layout: nobind
ordinary-page-number-foot-or-head: foot
ordinary-page-number-position: C
chapter-page-number-foot-or-head: foot
chapter-page-number-position: C
running-header: true
running-header-foot-or-head: head
running-header-position-leftmark: LO
running-header-position-rightmark: RE
draft-mark: false
draft-mark-foot-or-head: foot
draft-mark-position: C
section-numbering-depth: 2
toc-depth: 1
lof: true
lot: true
mini-toc: true
mini-lot: false
mini-lof: false
space-before-code-block: 10pt
space-after-code-block: 8pt
linespacing: 22pt plus2pt
frontmatter-linespacing: 17pt plus1pt minus1pt
abstractseparate: false
includeline-num: false
output:
bookdown::bs4_book:
css:
- templates/bs4_style.css
- templates/corrections.css
includes:
in_header: "header.html"
theme:
bg: "#f1f1f1"
fg: "#111111"
primary: "#1111ff"
success: "#55ff55"
danger: "#ff1111"
repo: https://github.com/celj/itam-cheat-sheets
pandoc_args: "--lua-filter=scripts_and_filters/colour_and_highlight.lua"
link-citations: true
documentclass: book
always_allow_html: true
---
```{r install_packages, include=FALSE}
source('scripts_and_filters/install_packages_if_missing.R')
```
```{r create_chunk_options, include=FALSE, eval=knitr::is_latex_output()}
source('scripts_and_filters/create_chunk_options.R')
source('scripts_and_filters/wrap_lines.R')
```
```{r e-welcome, child = 'front-and-back-matter/_welcome-ebook.Rmd', eval=knitr::is_html_output()}
```
\DeclareMathOperator*{\argmax}{\arg\!\max}
\DeclareMathOperator*{\argmin}{\arg\!\min}
\newcommand{\Ber}{\text{Ber}}
\newcommand{\Beta}{\text{Beta}}
\newcommand{\Bias}{\text{Bias}}
\newcommand{\Bin}{\text{Bin}}
\newcommand{\C}{\mathscr{C}}
\newcommand{\Cau}{\text{Cauchy}}
\newcommand{\closure}{\text{cl}}
\newcommand{\convex}{\text{co}}
\newcommand{\Corr}{\text{Corr}}
\newcommand{\Cov}{\text{Cov}}
\newcommand{\csq}{\chi^2}
\newcommand{\Dir}{\text{Dirichlet}}
\newcommand{\dlim}{\overset{d}{\longrightarrow}}
\newcommand{\E}{\mathbb{E}}
\newcommand{\Exp}{\text{Exp}}
\newcommand{\F}{\mathscr{F}}
\newcommand{\Geo}{\text{Geo}}
\newcommand{\Hyp}{\text{Hyp}}
\newcommand{\ie}{\text{i.e.}}
\newcommand{\indicator}{\mathbb{1}}
\newcommand{\interior}{\text{int}}
\newcommand{\L}{\mathscr{L}}
\newcommand{\logN}{\text{Log-}\mathscr{N}}
\newcommand{\mlim}{\overset{L^2}{\longrightarrow}}
\newcommand{\MRS}{\text{MRS}}
\newcommand{\MRT}{\text{MRT}}
\newcommand{\MRTS}{\text{MRTS}}
\newcommand{\MSE}{\text{MSE}}
\newcommand{\N}{\mathscr{N}}
\newcommand{\NB}{\text{NB}}
\newcommand{\Norm}{\mathscr{N}}
\newcommand{\notI}{{\not\negmedspace I}}
\newcommand{\notP}{{\not\negmedspace P}}
\newcommand{\notR}{{\not\negmedspace R}}
\newcommand{\O}{\varnothing}
\newcommand{\Par}{\text{Pareto}}
\newcommand{\plim}{\overset{p}{\longrightarrow}}
\newcommand{\Poi}{\text{Poisson}}
\newcommand{\pos}{\text{pos}}
\newcommand{\Q}{\mathscr{Q}}
\newcommand{\R}{\mathscr{R}}
\newcommand{\rk}{\text{rk}}
\newcommand{\rlim}{\overset{L^r}{\longrightarrow}}
\newcommand{\sd}{\text{sd}}
\newcommand{\sgn}{\text{sgn}}
\newcommand{\Unif}{\mathscr{U}}
\newcommand{\Var}{\text{Var}}
\newcommand{\Wei}{\text{Weibull}}
\newcommand{\Z}{\mathbb{Z}}