thesis.tex (8399B)
1 %============================ MAIN DOCUMENT ================================ 2 % define document class 3 \PassOptionsToPackage{table}{xcolor} 4 \documentclass[ 5 a4paper, 6 BCOR=15mm, % Binding correction 7 twoside, 8 % openright, 9 % headings=openright, 10 bibliography=totoc, % If enabled add bibliography to TOC 11 listof=totoc, % If enabled add lists to TOC 12 monolingual, 13 % bilingual, 14 invert-title, 15 ]{bfhthesis} 16 17 \LoadBFHModule{listings,terminal,boxes} 18 %--------------------------------------------------------------------------- 19 % Documents paths 20 %--------------------------------------------------------------------------- 21 \makeatletter 22 \def\input@path{{content/}} 23 %or: \def\input@path{{/path/to/folder/}{/path/to/other/folder/}} 24 \makeatother 25 %----------------- Base packages -------------------------------------- 26 % Include Packages 27 \usepackage[main=english]{babel} % https://www.namsu.de/Extra/pakete/Babel.html 28 29 \usepackage{amsmath} % various features to facilitate writing math formulas 30 \usepackage{amsthm} % enhanced version of latex's newtheorem 31 \usepackage{amsfonts} % set of miscellaneous TeX fonts that augment the standard CM 32 \usepackage{amssymb} % mathematical special characters 33 34 \usepackage{enumerate} 35 36 \usepackage{siunitx} 37 38 \usepackage{graphicx} % integration of images 39 \usepackage{float} % floating objects 40 41 \usepackage{caption} % for captions of figures and tables 42 \usepackage{subcaption} % for subcaptions in subfigures 43 \usepackage{cite} % use bibtex 44 \usepackage{wrapfig} 45 46 \usepackage{exscale} % mathematical size corresponds to textsize 47 \usepackage{multirow} % multirow emables combining rows in tables 48 \usepackage{multicol} 49 50 \usepackage{longtable} 51 52 \usepackage{graphicx} 53 \usepackage{float} 54 \usepackage{tabularx} 55 56 \usepackage{parskip} 57 58 \usepackage{pdfpages} 59 60 \usepackage{pgfgantt} 61 62 \usepackage{typearea} % landscape pages 63 \usepackage{geometry} % set page margins for landscape pages 64 65 \usetikzlibrary{arrows.meta,fit,positioning,shapes.geometric} 66 67 %--------------------------------------------------------------------------- 68 % Graphics paths 69 %--------------------------------------------------------------------------- 70 \graphicspath{{pictures/}{figures/}} 71 %--------------------------------------------------------------------------- 72 % Glossary Package 73 %--------------------------------------------------------------------------- 74 % the glossaries package uses makeindex 75 % if you use TeXnicCenter do the following steps: 76 % - Goto "Ausgabeprofile definieren" (ctrl + F7) 77 % - Select the profile "LaTeX => PDF" 78 % - Add in register "Nachbearbeitung" a new "Postprozessoren" point named Glossar 79 % - Select makeindex.exe in the field "Anwendung" ( ..\MiKTeX x.x\miktex\bin\makeindex.exe ) 80 % - Add this [ -s "%tm.ist" -t "%tmx.glg" -o "%tm.gls" "%tm.glo" ] in the field "Argumente" 81 % 82 % for futher informations go to http://ewus.de/tipp-1029.html 83 %--------------------------------------------------------------------------- 84 \usepackage[nonumberlist]{glossaries-extra} 85 \makeglossaries 86 %--------------------------------------------------------------------------- 87 % Makeindex Package 88 %--------------------------------------------------------------------------- 89 \usepackage{makeidx} 90 \makeindex 91 %\usepackage{imakeidx} % To produce index 92 %\makeindex[columns=2,intoc] % Index-Initialisation 93 %\makeindex[columns=3,columnseprule,columnsep,intoc] 94 %--------------------------------------------------------------------------- 95 % Hyperref Package (Create links in a pdf) 96 %--------------------------------------------------------------------------- 97 \usepackage[ 98 ,bookmarks 99 ,plainpages=false 100 ,pdfpagelabels 101 ,pdfusetitle 102 ,backref = {false} % No index backreference 103 ,colorlinks = {true} % Color links in a PDF 104 ,hypertexnames = {true} % no failures "same page(i)" 105 ,bookmarksopen = {true} % opens the bar on the left side 106 ,bookmarksopenlevel = {0} % depth of opened bookmarks 107 ,linkcolor=. 108 ,filecolor=. 109 ,urlcolor=. 110 ,citecolor=. 111 ]{hyperref} 112 %--------------------------------------------------------------------------- 113 114 %% yaml style definition 115 \lstdefinestyle{yaml}{ 116 keywords={true,false,null,y,n}, % ,... all the keyword you want 117 keywordstyle=\color{blue}\bfseries, 118 moredelim=[is][commentstyle]{||}{££}, % invisible custom delimiters 119 identifierstyle=\color{darkgray}, 120 sensitive=false, 121 comment=[l]{\#}, 122 morecomment=[s]{/*}{*/}, 123 commentstyle=\color{gray}\ttfamily, 124 stringstyle=\color{teal}\ttfamily, 125 moredelim=[l][\color{orange}]{\&}, 126 moredelim=[l][\color{magenta}]{*}, 127 moredelim=**[il][\color{darkgray}{:}\color{teal}]{:}, 128 morestring=[b]', 129 morestring=[b]", 130 numbers=left, 131 numberstyle=\color{gray}, 132 numbersep=10pt, 133 frame=single, 134 backgroundcolor=\color{gray!5} 135 } 136 137 %% rst style definition TODO (looks like shit) 138 \lstdefinestyle{rst}{ 139 basicstyle=\ttfamily, 140 breaklines=true, 141 showstringspaces=false, 142 backgroundcolor=\color{gray!5} 143 } 144 145 %--------------------------------------------------------------------------- 146 147 %% %% Customize Footer and Headers in Document 148 %% \KOMAoptions{headsepline,plainheadsepline,footsepline,plainfootsepline}% 149 %% \setkomafont{headsepline}{\color{BFH-DarkBlue}}% BFH-DarkBlue required bfhcolors 150 %% \setkomafont{footsepline}{\color{BFH-DarkBlue}}% 151 %% \lehead*{lehead} % the * character does replace the header on the first chapter page as well 152 %% \cehead*{cehead} 153 %% \rehead*{rehead} 154 %% \lohead*{lohead} 155 %% \cohead*{cohead} 156 %% \rohead*{rohead} 157 158 %% \lefoot*{lefoot} 159 %% \cefoot*{cefoot} 160 %% \refoot*{refoot} 161 %% \lofoot*{lofoot} 162 %% \cofoot*{cofoot} 163 %% \rofoot*{rofoot} 164 %--------------------------------------------------------------------------- 165 166 \begin{document} 167 %------------ START FRONT PART ------------ 168 \frontmatter 169 170 \title{Cashless to e-Cash} 171 \subtitle{Bachelor's Thesis} 172 \author{Joel Roman Häberli} 173 \institution{Bern University of Applied Sciences} 174 \department{Technic and Computer Science} 175 \institute{Institute for Cybersecurity and Engineering ICE} 176 \version{1.0} 177 \titlegraphic*{\includegraphics{dreaming_of_a_better_world}} 178 \advisor{Prof. Dr. Benjamin Fehrensen} 179 \coadvisor{Prof. Dr. Christian Grothoff} 180 \projectpartner{} 181 \expert{Dr. Alain Hiltgen, UBS} 182 \degreeprogram{Bachelor of Science in Computer Science} 183 \setupSignature{ 184 J. Häberli={\includegraphics[width=.5\linewidth]{sig_haeberli}}, 185 } 186 187 %---------------- BFH tile page ----------------------------------------- 188 \maketitle 189 %------------ ACKNOWLEDGMENT ---------------- 190 \addchap{Acknowledgements} 191 \input{content/acknowledgements} 192 %------------ ABSTRACT ---------------- 193 \addchap{Abstract} 194 \input{content/abstract} 195 196 %------------ TABLEOFCONTENTS ---------------- 197 \tableofcontents 198 199 %------------ START MAIN PART ------------ 200 \mainmatter 201 202 \chapter{Introduction} 203 \input{content/introduction/introduction} 204 \input{content/introduction/goal} 205 206 \chapter{Overview} 207 \input{content/architecture/overview} 208 209 \chapter{Architecture} 210 \label{sec-architecture} 211 \input{content/architecture/c2ec} 212 \input{content/architecture/wallee} 213 214 \chapter{Implementation} 215 \input{content/implementation/concepts} 216 \input{content/implementation/a-c2ec} 217 \input{content/implementation/b-terminal} 218 \input{content/implementation/c-database} 219 \input{content/implementation/d-security} 220 \input{content/implementation/e-cli} 221 \input{content/implementation/e-testing} 222 \input{content/implementation/f-deployment} 223 224 \chapter{Results} 225 \input{content/results/discussion} 226 \input{content/results/reflexion} 227 228 %------------ Authorship declaration translated to main language ------------ 229 \declarationOfAuthorship 230 231 %----------- Bibliography ---------------- 232 \clearpage 233 \bibliographystyle{unsrt} 234 \bibliography{project} % the project.bib file gets loaded 235 236 %------------ List of Figures ------------ 237 \listoffigures 238 239 %------------ List of Tables ------------- 240 \listoftables 241 242 %------------ Appendix ---------------- 243 \appendix 244 \chapter*{Appendix A} 245 \label{appendix-api-spec} 246 \includepdf[pages=-]{content/appendix/api-terminals.pdf} 247 \includepdf[pages=-]{content/appendix/api-bank-integration.pdf} 248 \includepdf[pages=-]{content/appendix/api-bank-wire.pdf} 249 250 \chapter*{Appendix B} 251 \section*{Project Management} 252 \input{content/appendix/project_managment} 253 254 \chapter*{Appendix C} 255 \section*{Meeting notes} 256 \input{content/appendix/meeting_notes} 257 258 \end{document}