first thesis start
This commit is contained in:
153
documentation/thesis/00-packages.tex
Normal file
153
documentation/thesis/00-packages.tex
Normal file
@@ -0,0 +1,153 @@
|
||||
%-----------------------------------------------------------------------
|
||||
% Packages
|
||||
%-----------------------------------------------------------------------
|
||||
|
||||
\usepackage{geometry}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{microtype}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage[dvipsnames]{xcolor}
|
||||
\usepackage{float}
|
||||
\usepackage[noend]{algpseudocode}
|
||||
\usepackage{algorithm}
|
||||
\usepackage{amsmath}
|
||||
\usepackage{amsthm}
|
||||
\usepackage{amssymb}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{enumitem}
|
||||
\usepackage{listings}
|
||||
%\usepackage[numbers,sort&compress]{natbib}
|
||||
%\usepackage[zerostyle=d]{newtxtt}
|
||||
\usepackage{hyphenat}
|
||||
\usepackage{xspace}
|
||||
\usepackage{ifthen}
|
||||
\usepackage[format=hang
|
||||
%singlelinecheck=off
|
||||
]{caption}
|
||||
\usepackage{subcaption}
|
||||
\usepackage{wrapfig}
|
||||
\usepackage{booktabs} % for tables: \toprule, \midrule, \bottomrule
|
||||
\usepackage{multirow}
|
||||
\usepackage{acronym}
|
||||
\usepackage{csquotes}
|
||||
\usepackage[normalem]{ulem}
|
||||
\usepackage{scrhack}
|
||||
\usepackage[automark]{scrlayer-scrpage}
|
||||
\usepackage{siunitx}
|
||||
|
||||
\usepackage[
|
||||
sortcites,
|
||||
backend=biber,
|
||||
natbib=true,
|
||||
style=numeric,
|
||||
sorting=nyt
|
||||
]{biblatex}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\usepackage{bookmark}
|
||||
\usepackage[nameinlink,noabbrev]{cleveref}
|
||||
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{arrows.meta}
|
||||
\usetikzlibrary{positioning}
|
||||
\usetikzlibrary{decorations.pathreplacing}
|
||||
%\usetikzlibrary{keccaktree}
|
||||
|
||||
|
||||
\usepackage{fancyvrb}
|
||||
\usepackage{verbatimbox}
|
||||
%\usepackage{tgcursor}
|
||||
|
||||
|
||||
|
||||
|
||||
\colorlet{punct}{red!60!black}
|
||||
\definecolor{background}{HTML}{EEEEEE}
|
||||
\definecolor{delim}{RGB}{20,105,176}
|
||||
\colorlet{numb}{magenta!60!black}
|
||||
|
||||
|
||||
% ---------------------------------------------------------------------
|
||||
% Listings
|
||||
% ---------------------------------------------------------------------
|
||||
|
||||
|
||||
\lstdefinestyle{verbatim}{
|
||||
basicstyle=\small\ttfamily,
|
||||
breaklines=true,
|
||||
columns=fullflexible,
|
||||
basewidth=0.5em,
|
||||
escapechar=\%,
|
||||
numbers=none,
|
||||
numbersep=none,
|
||||
captionpos=b,
|
||||
frame=none,
|
||||
escapeinside={(*}{*)},
|
||||
xleftmargin=0em
|
||||
}
|
||||
|
||||
%\lstset{%
|
||||
% language=Ada,
|
||||
% basicstyle=\footnotesize\ttfamily,
|
||||
% frame=l,
|
||||
% xleftmargin=\parindent,
|
||||
% % rulecolor=\color{blue},
|
||||
% framerule=2pt,
|
||||
% captionpos=b,
|
||||
% keywordstyle=\bfseries,
|
||||
% % stringstyle=\color{green},
|
||||
% % commentstyle=\color{gray},
|
||||
% showstringspaces=false}
|
||||
%
|
||||
|
||||
|
||||
\lstset{ %
|
||||
backgroundcolor=\color{white}, % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
|
||||
basicstyle=\footnotesize\ttfamily, % the size of the fonts that are used for the code
|
||||
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
|
||||
breaklines=true, % sets automatic line breaking
|
||||
captionpos=b, % sets the caption-position to bottom
|
||||
commentstyle=\color{red}, % comment style
|
||||
deletekeywords={...}, % if you want to delete keywords from the given language
|
||||
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
|
||||
extendedchars=true, % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
|
||||
frame=l, % adds a frame around the code
|
||||
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
|
||||
keywordstyle=\bfseries, % keyword style
|
||||
%language=Python, % the language of the code
|
||||
morekeywords={*,...}, % if you want to add more keywords to the set
|
||||
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
|
||||
numbersep=5pt, % how far the line-numbers are from the code
|
||||
numberstyle=\tiny\color{black}, % the style that is used for the line-numbers
|
||||
rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
|
||||
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
|
||||
showstringspaces=false, % underline spaces within strings only
|
||||
showtabs=true, % show tabs within strings adding particular underscores
|
||||
stepnumber=1, % the step between two line-numbers. If it's 1, each line will be numbered
|
||||
stringstyle=\color{blue}, % string literal style
|
||||
tabsize=2, % sets default tabsize to 2 spaces
|
||||
title=\lstname, % show the filename of files included with \lstinputlisting; also try caption instead of title
|
||||
xleftmargin=1.5em
|
||||
}
|
||||
|
||||
\lstdefinelanguage{json}{
|
||||
basicstyle=\scriptsize\ttfamily,
|
||||
numbers=left,
|
||||
numberstyle=\scriptsize,
|
||||
stepnumber=1,
|
||||
numbersep=8pt,
|
||||
showstringspaces=true,
|
||||
breaklines=true,
|
||||
frame=none,
|
||||
numberstyle=\scriptsize\color{black},
|
||||
backgroundcolor=\color{white},
|
||||
literate=
|
||||
*{:}{{{\color{punct}{:}}}}{1}
|
||||
{,}{{{\color{punct}{,}}}}{1}
|
||||
{\{}{{{\color{delim}{\{}}}}{1}
|
||||
{\}}{{{\color{delim}{\}}}}}{1}
|
||||
{[}{{{\color{delim}{[}}}}{1}
|
||||
{]}{{{\color{delim}{]}}}}{1},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user