138 lines
4.4 KiB
TeX
138 lines
4.4 KiB
TeX
|
|
\usepackage[
|
|
automark, % Kapitelangaben in Kopfzeile automatisch erstellen
|
|
headsepline, % Trennlinie unter Kopfzeile
|
|
ilines % Trennlinie linksbündig ausrichten
|
|
]{scrpage2}
|
|
|
|
% My language ------------------------------------------------------------------
|
|
\usepackage[ngerman, english]{babel}
|
|
%\usepackage[ngerman]{babel}
|
|
|
|
% Umlauts ----------------------------------------------------------------------
|
|
% Allow direct usage of umlauts
|
|
% ------------------------------------------------------------------------------
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{textcomp} % Euro sign etc.
|
|
|
|
% Font -------------------------------------------------------------------------
|
|
\usepackage{lmodern} % enhance fonts
|
|
\usepackage{relsize} % relative font size
|
|
\usepackage{ulem} % underline strikethrough
|
|
|
|
% Graphics ---------------------------------------------------------------------
|
|
% Allow JPG
|
|
\usepackage[dvips,final]{graphicx}
|
|
% Location of resources
|
|
\graphicspath{{res/img}}
|
|
|
|
% Commands from AMSTeX for mathematical signs e.g. \boldsymbol \mathbb ---------
|
|
\usepackage{amsmath,amsfonts}
|
|
|
|
% print index \printindex ------------------------------------------------------
|
|
\usepackage{makeidx}
|
|
|
|
% Simple definition of row and page margins etc --------------------------------
|
|
\usepackage{setspace}
|
|
\usepackage{geometry}
|
|
|
|
% Float pictures ---------------------------------------------------------------
|
|
\usepackage{floatflt}
|
|
|
|
% Filesystem representation
|
|
\usepackage{dirtree}
|
|
|
|
% include source code etc. -----------------------------------------------------
|
|
\usepackage{listings}
|
|
\usepackage{xcolor}
|
|
|
|
% define e.g. \todo und \listoftodos -------------------------------------------
|
|
\usepackage{todonotes}
|
|
|
|
% Optimize your compilation for color based monitors (e.g. web) or print b/w ---
|
|
|
|
% WEB
|
|
\definecolor{colKeys}{rgb}{0,0,1}
|
|
\definecolor{colIdentifier}{rgb}{0,0,0}
|
|
\definecolor{colComments}{rgb}{1,0,0}
|
|
\definecolor{colString}{rgb}{0,0.5,0}
|
|
\definecolor{light-gray}{cmyk}{0,0,0,0.6}
|
|
|
|
% PRINT dont forget to change icon in meta, and pdf config
|
|
%\definecolor{colKeys}{cmyk}{0,0,0,1}
|
|
%\definecolor{colIdentifier}{cmyk}{0,0,0,1}
|
|
%\definecolor{colComments}{cmyk}{0,0,0,1}
|
|
%\definecolor{colString}{cmyk}{0,0,0,1}
|
|
%\definecolor{light-gray}{cmyk}{0,0,0,0.6}
|
|
|
|
% Link url, break urls etc. ----------------------------------------------------
|
|
\usepackage{url}
|
|
|
|
% Correctly cite ---------------------------------------------------------------
|
|
\usepackage[square]{natbib}
|
|
|
|
\usepackage{caption}
|
|
|
|
% Pdf options ------------------------------------------------------------------
|
|
\usepackage[
|
|
bookmarks,
|
|
bookmarksopen=true,
|
|
colorlinks=true,
|
|
% Color defintions for urls in pdf
|
|
%linkcolor=red, % Internal link
|
|
%anchorcolor=black,% Anchortext
|
|
%citecolor=blue, % Reference bibliography entries
|
|
%filecolor=magenta, % References to local files
|
|
%menucolor=red, % Acrobat menu entries
|
|
%urlcolor=cyan,
|
|
% Color definitions for print (everything black)
|
|
linkcolor=black, % Internal link
|
|
anchorcolor=black, % Anchortext
|
|
citecolor=black, % Reference bibliography entries
|
|
filecolor=black, % References to local files
|
|
menucolor=black, % Acrobat menu entries
|
|
urlcolor=black,
|
|
% ende Farbdef
|
|
backref,
|
|
plainpages=false, % Correct bookmarks
|
|
pdfpagelabels, % Correct bookmarks
|
|
hypertexnames=false, % Correct bookmarks
|
|
linktocpage % Link page numbers instead of text in table of contents
|
|
]{hyperref}
|
|
|
|
\hypersetup{
|
|
pdftitle={\fsTitle \fsSubTitle},
|
|
pdfauthor={\thesisauthor},
|
|
pdfcreator={\thesisauthor},
|
|
pdfsubject={\fsTitle \fsSubTitle},
|
|
pdfkeywords={\fsTitle \fsSubTitle},
|
|
}
|
|
|
|
% Glossary --------------------------------------------------------------------
|
|
%
|
|
% Glossary is defined in glossar.tex
|
|
% ------------------------------------------------------------------------------
|
|
\usepackage[xindy,toc]{glossaries}
|
|
|
|
% progressive numbering of footnotes -------------------------------------------
|
|
\usepackage{chngcntr}
|
|
|
|
% Long tables ------------------------------------------------------------------
|
|
\usepackage{booktabs}
|
|
\usepackage{longtable}
|
|
\usepackage{array}
|
|
\usepackage{ragged2e}
|
|
\usepackage{lscape}
|
|
|
|
% Columndefinitions with defined width and aligned right -----------------------
|
|
\newcolumntype{w}[1]{>{\raggedleft\hspace{0pt}}p{#1}}
|
|
|
|
% format if lists --------------------------------------------------------------
|
|
\usepackage{paralist}
|
|
|
|
% defined your own commands
|
|
\usepackage{ifthen}
|
|
|
|
\usepackage{xspace}
|