Files
2024-07-20 01:08:57 +02:00

56 lines
2.0 KiB
TeX

%!TEX root = ../main.tex
%% Citation Styles
% http://ctan.mirrorcatalogs.com/macros/latex/contrib/biblatex/doc/biblatex.pdf (3.3.1 Citation Styles)
% recommended: z.B numeric-comp, alphabetic,
% not recommended: authoryear, alphabetic-verb,
\newcommand{\quoteStyle}{alphabetic-verb}
%% Fonts
%% palatino, goudysans, lmodern or libertine
\newcommand{\documentFont}{lmodern}
%% Margin
\newcommand{\margin}{2.5cm}
%% Space between chapter headline and top of page
\newcommand{\chapterMargin}{20pt}
%% Table settings
% Column spacing
\newcommand{\tableColumnMargin}{10pt}
%Line spacing
\newcommand{\tableRowMargin}{1.5}
%% Color settings
\newcommand{\defineColors}{%
\definecolor{LinkColor}{HTML}{\linkColor}
\definecolor{ListingBackground}{HTML}{F8F8F8}
}
%% Syntax Highlighting (Listings)
\newcommand{\listingsettings}{%
\lstset{%
basicstyle=\ttfamily\small, % Typewriter font and small size
numbers=left, % Line numbers on the left
numberstyle=\tiny\color{gray}, % Line number style
stepnumber=1, % Line number step
numbersep=5pt, % Distance from the code
showspaces=false, % Do not show spaces
showstringspaces=false, % Do not show string spaces
showtabs=false, % Do not show tabs
frame=none, % Frame the code
rulecolor=\color{black}, % Frame color
tabsize=2, % Tab size
captionpos=b, % Caption position
breaklines=true, % Automatic line breaking
breakatwhitespace=false, % Break lines at whitespace
escapeinside={(*@}{@*)}, % Escape to LaTeX with (*@ ... @*)
float=htbp, % Float position
keywordstyle=\color{blue}, % Keyword style
commentstyle=\color{gray}, % Comment style
stringstyle=\color{red}, % String style
language=Java, % Default language
}%
}