|
@@ -30,6 +30,7 @@
|
|
|
\usepackage[english]{todonotes}
|
|
|
\newcommand{\TODO}[1]{\todo[inline]{TODO: #1}}
|
|
|
\newcommand{\Thema}{Placing Nodes Moderately Well While Showing What Is Happening}
|
|
|
+\newcommand{\appname}{\TODO{appname}}
|
|
|
\usepackage[hyphens]{url} % ermögliche Links (URLs) und erlaube sie am zeilenende umzubrechen
|
|
|
\usepackage[english,pdfauthor={Eren B. Yilmaz and Kolja S. Strohm}, pdftitle={\Thema}, breaklinks=true]{hyperref}
|
|
|
\usepackage[final]{microtype} % mikrotypographische Optimierungen
|
|
@@ -69,6 +70,11 @@
|
|
|
\usepackage{listings}
|
|
|
\usepackage{color} % Farben
|
|
|
|
|
|
+\colorlet{punct}{red!60!black}
|
|
|
+\definecolor{background}{HTML}{EEEEEE}
|
|
|
+\definecolor{delim}{RGB}{20,105,176}
|
|
|
+\colorlet{numb}{magenta!60!black}
|
|
|
+
|
|
|
% Default fixed font does not support bold face
|
|
|
\DeclareFixedFont{\ttb}{T1}{txtt}{bx}{n}{8} % for bold
|
|
|
\DeclareFixedFont{\ttm}{T1}{txtt}{m}{n}{8} % for normal
|
|
@@ -97,6 +103,21 @@ showstringspaces=false,
|
|
|
emphstyle=\ttb,
|
|
|
stringstyle=\color{deepgreen},
|
|
|
frame=tb}
|
|
|
+
|
|
|
+\lstdefinelanguage{json}{
|
|
|
+ basicstyle=\normalfont\ttfamily,
|
|
|
+ numberstyle=\scriptsize,
|
|
|
+ stepnumber=1,
|
|
|
+ numbersep=8pt,
|
|
|
+ showstringspaces=false,
|
|
|
+ literate=
|
|
|
+ *{:}{{{\color{punct}{:}}}}{1}
|
|
|
+ {,}{{{\color{punct}{,}}}}{1}
|
|
|
+ {\{}{{{\color{delim}{\{}}}}{1}
|
|
|
+ {\}}{{{\color{delim}{\}}}}}{1}
|
|
|
+ {[}{{{\color{delim}{[}}}}{1}
|
|
|
+ {]}{{{\color{delim}{]}}}}{1},
|
|
|
+}
|
|
|
% linksbündige Fußboten
|
|
|
\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
|
|
|
|