-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
135 lines (125 loc) · 3.63 KB
/
project.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
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
pdf-engine: xelatex
from: markdown+fancy_lists+implicit_figures+emoji+auto_identifiers
to: pdf
output-file: remote_audio_plugin_development.pdf
filters:
- pandoc-crossref
- pandoc-include
- citeproc
input-files:
- content/00_header.md
- content/10_introduction.md
- content/20_foundation_plugins.md
- content/21_foundation_clap.md
- content/22_foundation_grpc.md
- content/23_foundation_qt.md
- content/30_related_work.md
- content/40_remote_plugins.md
- content/41_qgrpc_client.md
- content/50_conclusion.md
- content/60_acknowledgement.md
- content/99_bibliography.md
variables:
book: true
papersize: a5
fontsize: 12pt
geometry:
- a4paper
- bindingoffset=0mm
- inner=30mm
- outer=30mm
- top=30mm
- bottom=30mm
linestretch: 1.25
color-links: true
link-citations: true
citecolor: blue
linkcolor: blue
urlcolor: blue
toc: true
toc-depth: 3
toc-title: 'Contents'
# highlight-style: tango # Can't set the style here?
embed-resources: true
cite-method: citeproc
classoption:
- titlepage
- openright
- DIV=calc
- toc=listof
- listof=nochaptergap
figureTitle: Figure
figPrefix: Figure
graphics: yes
listings-no-page-break: true
mainfont: Literata
mainfontoptions:
- Path = ./resources/fonts/main/
- Extension = .ttf,
- UprightFont = *-Regular,
- BoldFont = *-Bold,
- ItalicFont = *-Italic,
- BoldItalicFont = *-BoldItalic
monofont: JetBrainsMonoNerdFontMono
monofontoptions:
- Path = ./resources/fonts/mono/
- Extension = .ttf,
- UprightFont = *-Regular,
- BoldFont = *-Bold,
- ItalicFont = *-Italic,
- BoldItalicFont = *-BoldItalic
- Scale = 0.8
mathfont: Fira Math
header-includes: |
%pandoc-crossref messes with header-includes so lets un-mess it...
\usepackage{float}
\floatstyle{ruled}
\makeatletter
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
\floatname{codelisting}{Listing}
\makeatother
% each h1 header on seperate line
\usepackage{sectsty}
\sectionfont{\clearpage}
% footnotes at the bottom
\usepackage[bottom]{footmisc}
% style blockquotes
% change style of quote, see also https://tex.stackexchange.com/a/436253/114857
\usepackage[most]{tcolorbox}
\definecolor{linequote}{HTML}{FDF6E3}
\definecolor{backquote}{HTML}{FDF6E3}
\definecolor{bordercolor}{HTML}{F57D26}
\newtcolorbox{myquote}[1][]{%
enhanced,
breakable,
size=minimal,
left=10pt,
top=5pt,
frame hidden,
boxrule=0pt,
sharp corners=all,
colback=backquote,
borderline west={2pt}{0pt}{bordercolor},
#1
}
% redefine quote environment to use the myquote environment, see https://tex.stackexchange.com/a/337587/114857
\renewenvironment{quote}{\begin{myquote}}{\end{myquote}}
% change background color for inline code in
\usepackage{xcolor}
\definecolor{bgcolor}{HTML}{EBEBEB}
\let\oldtexttt\texttt
\renewcommand{\texttt}[1]{
\colorbox{bgcolor}{\oldtexttt{#1}}
}
% code-blocks should wrap as well
\usepackage{fvextra}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,commandchars=\\\{\}}
% Improve text and figure positioning to stay in sync.
\usepackage{float}% http://ctan.org/pkg/float
\let\origfigure\figure
\let\endorigfigure\endfigure
\renewenvironment{figure}[1][2] {
\expandafter\origfigure\expandafter[H]
} {
\endorigfigure
}