-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
77 lines (72 loc) · 3.14 KB
/
config.yaml
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
# This config file is based on the approach used by:
# https://maehr.github.io/academic-pandoc-template/
# Project-specific values
title: 'Binge On!: A Machine Learning Analysis Tool to Examine the Success Rate of Movies'
author: 'Adriana Solis'
date: '05 May 2023'
firstreader: 'Oliver Bonham Carter'
secondreader: 'Russell Ormiston'
logo: 'images/logo'
# Template Values: DO NOT TOUCH
# Bibliography
csl: https://www.zotero.org/styles/journal-of-the-acm # See https://www.zotero.org/styles for more styles.
bibliography: references.bib # See https://github.com/jgm/pandoc-citeproc/blob/master/man/pandoc-citeproc.1.md for more formats.
suppress-bibliography: false
link-citations: true
color-links: true # See https://ctan.org/pkg/xcolor for colors
linkcolor: black
urlcolor: black
citecolor: black
endnote: false
# Formatting
toc-title: 'Table of Contents'
toc: true # Table of contents
toc_depth: 2
lof: true # List of figures
lot: true # List of tables
fontsize: 12pt
linestretch: 1
mainfont: # See https://tug.org/FontCatalogue/seriffonts.html for fonts
sansfont: # See https://tug.org/FontCatalogue/sansseriffonts.html for fonts
monofont: # See https://tug.org/FontCatalogue/typewriterfonts.html for fonts
mathfont: # See https://tug.org/FontCatalogue/mathfonts.html for fonts
documentclass: report # See https://www.ctan.org/topic/class
classoption: [titlepage, onecolumn, openany]
geometry: [a4paper, bindingoffset=0mm, inner=30mm, outer=30mm, top=30mm, bottom=30mm] # See https://ctan.org/pkg/geometry for more options
# LaTeX snippets
header-includes:
- |
```{=latex}
\linepenalty=10 % the penalty added to the badness of each line within a paragraph (no associated penalty node) Increasing the value makes tex try to have fewer lines in the paragraph.
\interlinepenalty=0 % value of the penalty (node) added after each line of a paragraph.
\hyphenpenalty=50 % the penalty for line breaking at an automatically inserted hyphen
\exhyphenpenalty=50 % the penalty for line breaking at an explicit hyphen
\binoppenalty=700 % the penalty for breaking a line at a binary operator
\relpenalty=500 % the penalty for breaking a line at a relation
\clubpenalty=150 % extra penalty for breaking after first line of a paragraph
\widowpenalty=150 % extra penalty for breaking before last line of a paragraph
\displaywidowpenalty=50 % extra penalty for breaking before last line before a display math
\brokenpenalty=100 % extra penalty for page breaking after a hyphenated line
\predisplaypenalty=10000 % penalty for breaking before a display
\postdisplaypenalty=0 % penalty for breaking after a display
\floatingpenalty = 20000 % penalty for splitting an insertion (can only be split footnote in standard LaTeX)
```
- |
```{=latex}
\raggedbottom % or \flushbottom
```
- |
```{=latex}
% keep figures where there are in the text
\usepackage{float}
\floatplacement{figure}{H}
```
- |
```{=latex}
% add custom hyphentation rules
\hyphenation
{%
Hyphenate-me-like-this
Dontyoueverhyphenateme
}%
```