commit 400901029f37af0af7e4e6b2f206c4ed645ee3ee
parent 65796c1903139eb53b092fefb43306b2574c2cb9
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
Date: Wed, 5 Jun 2024 21:10:26 +0200
added glossary
Diffstat:
5 files changed, 96 insertions(+), 83 deletions(-)
diff --git a/doc/thesis/include/glossary.tex b/doc/thesis/include/glossary.tex
@@ -0,0 +1,10 @@
+\makeglossaries
+
+\newglossaryentry{Donau}
+{
+ name=Donau,
+ description={The name of our project, short for donation authority}
+}
+
+\glsaddall
+
diff --git a/doc/thesis/include/settings.tex b/doc/thesis/include/settings.tex
@@ -0,0 +1,82 @@
+\usepackage[utf8]{inputenc}
+\usepackage{amsmath}
+\usepackage{amsfonts}
+\usepackage{amssymb}
+\usepackage{graphicx}
+\usepackage[final]{pdfpages}
+\usepackage{stmaryrd}
+\usepackage{listings}
+\usepackage[hidelinks]{hyperref}
+\usepackage[english]{babel}
+\usepackage{color}
+\usepackage{fancyhdr}
+\usepackage{xcolor}
+\usepackage{url}
+\usepackage{sectsty}
+\usepackage{etoolbox}
+\usepackage{tikz}
+\usepackage{parskip}
+\usepackage[toc]{glossaries}
+
+% Abstract
+\patchcmd{\abstract}{\null\vfil}{}{}{}
+
+% Margins
+\topmargin=-0.2in
+\oddsidemargin=0.4in
+\textwidth=5.5in
+
+% Graphics and images
+\graphicspath{{./images/}}
+
+% Set headers to sans serif
+\allsectionsfont{\sffamily}
+
+% Defining colors for syntax highlighting
+\definecolor{commentsColor}{rgb}{0.497495, 0.497587, 0.497464}
+\definecolor{keywordsColor}{rgb}{0.000000, 0.000000, 0.635294}
+\definecolor{stringColor}{rgb}{0.558215, 0.000000, 0.135316}
+
+\lstset{aboveskip=20pt,belowskip=20pt}
+
+% Source: https://denbeke.be/blog/programming/syntax-highlighting-in-latex/
+\lstset{
+ backgroundcolor=\color{white},
+ basicstyle=\ttfamily\small,
+ breakatwhitespace=false,
+ breaklines=true,
+ captionpos=b,
+ commentstyle=\color{commentsColor}\textit,
+ deletekeywords={...},
+ escapeinside={\%*}{*)},
+ extendedchars=true,
+ frame=tb,
+ keepspaces=true,
+ keywordstyle=\color{keywordsColor}\bfseries,
+ %language=Python,
+ otherkeywords={*,...},
+ %numbers=left,
+ numbersep=5pt,
+ numberstyle=\tiny\color{commentsColor},
+ rulecolor=\color{black},
+ showspaces=false,
+ showstringspaces=false,
+ showtabs=false,
+ stepnumber=1,
+ stringstyle=\color{stringColor},
+ tabsize=2,
+ title=\lstname,
+ columns=fixed
+}
+
+% Bibliography
+\bibliographystyle{plain}
+
+% Pagestyle
+\pagestyle{fancy}
+
+% Hyperlinks
+\hypersetup{
+ colorlinks=true,
+ allcolors=black
+}
diff --git a/doc/thesis/settings/settings.tex b/doc/thesis/settings/settings.tex
@@ -1,81 +0,0 @@
-\usepackage[utf8]{inputenc}
-\usepackage{amsmath}
-\usepackage{amsfonts}
-\usepackage{amssymb}
-\usepackage{graphicx}
-\usepackage[final]{pdfpages}
-\usepackage{stmaryrd}
-\usepackage{listings}
-\usepackage[hidelinks]{hyperref}
-\usepackage[english]{babel}
-\usepackage{color}
-\usepackage{fancyhdr}
-\usepackage{xcolor}
-\usepackage{url}
-\usepackage{sectsty}
-\usepackage{etoolbox}
-\usepackage{tikz}
-\usepackage{parskip}
-
-% Abstract
-\patchcmd{\abstract}{\null\vfil}{}{}{}
-
-% Margins
-\topmargin=-0.2in
-\oddsidemargin=0.4in
-\textwidth=5.5in
-
-% Graphics and images
-\graphicspath{{./images/}}
-
-% Set headers to sans serif
-\allsectionsfont{\sffamily}
-
-% Defining colors for syntax highlighting
-\definecolor{commentsColor}{rgb}{0.497495, 0.497587, 0.497464}
-\definecolor{keywordsColor}{rgb}{0.000000, 0.000000, 0.635294}
-\definecolor{stringColor}{rgb}{0.558215, 0.000000, 0.135316}
-
-\lstset{aboveskip=20pt,belowskip=20pt}
-
-% Source: https://denbeke.be/blog/programming/syntax-highlighting-in-latex/
-\lstset{
- backgroundcolor=\color{white},
- basicstyle=\ttfamily\small,
- breakatwhitespace=false,
- breaklines=true,
- captionpos=b,
- commentstyle=\color{commentsColor}\textit,
- deletekeywords={...},
- escapeinside={\%*}{*)},
- extendedchars=true,
- frame=tb,
- keepspaces=true,
- keywordstyle=\color{keywordsColor}\bfseries,
- %language=Python,
- otherkeywords={*,...},
- %numbers=left,
- numbersep=5pt,
- numberstyle=\tiny\color{commentsColor},
- rulecolor=\color{black},
- showspaces=false,
- showstringspaces=false,
- showtabs=false,
- stepnumber=1,
- stringstyle=\color{stringColor},
- tabsize=2,
- title=\lstname,
- columns=fixed
-}
-
-% Bibliography
-\bibliographystyle{unsrturl}
-
-% Pagestyle
-\pagestyle{fancy}
-
-% Hyperlinks
-\hypersetup{
- colorlinks=true,
- allcolors=black
-}
diff --git a/doc/thesis/thesis.pdf b/doc/thesis/thesis.pdf
Binary files differ.
diff --git a/doc/thesis/thesis.tex b/doc/thesis/thesis.tex
@@ -1,7 +1,7 @@
\documentclass[11pt,a4paper,parskip=full]{report}
-
-\include{settings/settings}
+\include{include/settings}
+\include{include/glossary}
\begin{document}
@@ -50,4 +50,6 @@
\bibliography{bibliography}
\addcontentsline{toc}{chapter}{Bibliography}
+\printglossaries
+
\end{document}