Exposé v0.3
This commit is contained in:
9
Thesis/agreement.tex
Normal file
9
Thesis/agreement.tex
Normal file
@@ -0,0 +1,9 @@
|
||||
\addchap{Agreement}
|
||||
Me \thesisauthor\ \matriculationid\ \art\ blabla TODO at \institute
|
||||
|
||||
\location, \today
|
||||
|
||||
|
||||
\rule[-0.2cm]{5cm}{0.5pt}
|
||||
|
||||
\textsc{\thesisauthor}
|
||||
15
Thesis/appendix.tex
Normal file
15
Thesis/appendix.tex
Normal file
@@ -0,0 +1,15 @@
|
||||
\chapter{Appendix}
|
||||
\label{sec:Appendix}
|
||||
Intro
|
||||
|
||||
\section{FooBar}
|
||||
\label{sec:FooBar}
|
||||
|
||||
|
||||
\section{CD}
|
||||
\label{sec:cd}
|
||||
|
||||
\dirtree{%
|
||||
.1 / \DTcomment{root dir}.
|
||||
.2 subdir \DTcomment{sub dir}.
|
||||
}
|
||||
17
Thesis/bibliography.bib
Normal file
17
Thesis/bibliography.bib
Normal file
@@ -0,0 +1,17 @@
|
||||
@article{fritz2013highly,
|
||||
title={Highly precise taint analysis for android applications},
|
||||
author={Fritz, Christian and Arzt, Steven and Rasthofer, Siegfried and Bodden, Eric and Bartel, Alexandre and Klein, Jacques and le Traon, Yves and Octeau, Damien and McDaniel, Patrick},
|
||||
journal={EC SPRIDE, TU Darmstadt, Tech. Rep},
|
||||
year={2013}
|
||||
}
|
||||
|
||||
\begin{comment}
|
||||
@booklet{,
|
||||
author={},
|
||||
key={},
|
||||
title={},
|
||||
month={},
|
||||
year={},
|
||||
url={}
|
||||
}
|
||||
\end{comment}
|
||||
39
Thesis/commands.tex
Normal file
39
Thesis/commands.tex
Normal file
@@ -0,0 +1,39 @@
|
||||
% My commands
|
||||
|
||||
% simply change font
|
||||
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
|
||||
|
||||
% shortcuts with correct spacing
|
||||
\newcommand{\ua}{\mbox{u.\,a.\ }}
|
||||
\newcommand{\zB}{\mbox{z.\,B.\ }}
|
||||
\newcommand{\dahe}{\mbox{d.\,h.\ }}
|
||||
\newcommand{\Vgl}{Vgl.\ }
|
||||
\newcommand{\bzw}{bzw.\ }
|
||||
\newcommand{\evtl}{evtl.\ }
|
||||
|
||||
\newcommand{\bs}{$\backslash$}
|
||||
|
||||
% list element with bold headline
|
||||
\newcommand{\itemd}[2]{\item{\textbf{#1}}\\{#2}}
|
||||
|
||||
% my cites
|
||||
\newcommand{\fsCite}[2][\empty]{\ifthenelse{\equal{#1}{\empty}}{\citep{#2}}{\citep[#1]{#2}}}
|
||||
\newcommand{\fsCiteYear}[1]{\citeyear{#1}}
|
||||
|
||||
% print authors
|
||||
\newcommand{\fsAuthorName}[1]{\textsc{#1}}
|
||||
\newcommand{\fsAuthor}[1]{\fsAuthorName{\citeauthor{#1}}}
|
||||
|
||||
% misc
|
||||
|
||||
\newcommand{\fsInput}[1]{\texttt{#1}}
|
||||
\newcommand{\fsCode}[1]{\texttt{#1}}
|
||||
\newcommand{\fsFile}[1]{\texttt{#1}}
|
||||
\newcommand{\fsDatatype}[1]{\textsf{#1}}
|
||||
\newcommand{\fsXML}[1]{\textsf{#1}}
|
||||
|
||||
\newcommand{\glossar}{Glossary}
|
||||
|
||||
% if you want to change language, redefine \lstlistlistingname here
|
||||
%\renewcommand{\lstlistlistingname}{Verzeichnis der Listings}
|
||||
|
||||
10
Thesis/content/DNS.tex
Normal file
10
Thesis/content/DNS.tex
Normal file
@@ -0,0 +1,10 @@
|
||||
\chapter{\gls{DNS}}
|
||||
\label{cha:Feature_Extraction}
|
||||
|
||||
|
||||
\section{something interesting}
|
||||
\label{subsec:not_really}
|
||||
|
||||
foo
|
||||
bar
|
||||
|
||||
27
Thesis/content/Introduction.tex
Normal file
27
Thesis/content/Introduction.tex
Normal file
@@ -0,0 +1,27 @@
|
||||
\chapter{Introduction}
|
||||
\label{cha:Introduction}
|
||||
|
||||
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. \gls{API}
|
||||
|
||||
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
|
||||
|
||||
\lstinputlisting[language={java}, label=lst:sendImpliciteIntent,caption=Intent - Bild anzeigen]{res/src/sendImpliciteIntent.java}
|
||||
|
||||
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. \fsCite{fritz2013highly}
|
||||
|
||||
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.
|
||||
|
||||
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.
|
||||
|
||||
At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.
|
||||
|
||||
Consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus.
|
||||
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
|
||||
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
|
||||
|
||||
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
|
||||
|
||||
Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo
|
||||
3
Thesis/content/abstract.tex
Normal file
3
Thesis/content/abstract.tex
Normal file
@@ -0,0 +1,3 @@
|
||||
\section*{Abstract}
|
||||
\label{sec:Abstract}
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
34
Thesis/cover.tex
Normal file
34
Thesis/cover.tex
Normal file
@@ -0,0 +1,34 @@
|
||||
\thispagestyle{plain}
|
||||
\begin{titlepage}
|
||||
|
||||
\begin{center}
|
||||
|
||||
\huge{\textbf{\fsTitle}}\\[1.5ex]
|
||||
\Large{\textbf{\fsSubTitle}}\\[6ex]
|
||||
\Large{\textbf{\art}}\\[1.5ex]
|
||||
\Large{on the subject of \field}\\[18ex]
|
||||
|
||||
\includegraphics[height=100pt]{res/img/Logo_UniPassau_big.jpg}\\[6ex]
|
||||
|
||||
\normalsize
|
||||
\begin{tabular}{w{5.4cm}p{6cm}}\\
|
||||
Submitted by: & \quad \thesisauthor\\[1.2ex]
|
||||
Study field: & \quad \course\\[1.2ex]
|
||||
Matriculation number: & \quad \matriculationid\\[1.2ex]
|
||||
Primary Reviewer: & \quad \firstreview\\[1.2ex]
|
||||
%Secondary Reviewer: & \quad \secondreview\\[1.2ex]
|
||||
Mentor: & \quad \mentor\\[1.2ex]
|
||||
\end{tabular}
|
||||
|
||||
\thesisyear\\[9ex]
|
||||
|
||||
\end{center}
|
||||
|
||||
% Uncomment if copyright should be displayed
|
||||
%\newpage
|
||||
%\singlespacing
|
||||
%\small
|
||||
%\noindent \copyright\:\fsCopyright
|
||||
|
||||
|
||||
\end{titlepage}
|
||||
11
Thesis/glossar.tex
Normal file
11
Thesis/glossar.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
\newglossaryentry{API}
|
||||
{
|
||||
name={API},
|
||||
description={Application Programming Interface: FooBar}
|
||||
}
|
||||
|
||||
\newglossaryentry{DNS}
|
||||
{
|
||||
name={DNS},
|
||||
description={Domain Name System}
|
||||
}
|
||||
1
Thesis/hyphenation.tex
Normal file
1
Thesis/hyphenation.tex
Normal file
@@ -0,0 +1 @@
|
||||
% Suggested Hyphenations
|
||||
121
Thesis/main.tex
Normal file
121
Thesis/main.tex
Normal file
@@ -0,0 +1,121 @@
|
||||
% ------------------------------------------------------------------------------
|
||||
% Template for thesis
|
||||
% ------------------------------------------------------------------------------
|
||||
|
||||
% Document Header --------------------------------------------------------------
|
||||
% Template extending koma-script.
|
||||
% ------------------------------------------------------------------------------
|
||||
\documentclass[
|
||||
11pt, % font size
|
||||
DIV10,
|
||||
ngerman, % for german language
|
||||
a4paper, % paper format
|
||||
oneside, % onepage document
|
||||
titlepage, % use a cover page
|
||||
parskip=half, % padding between paragraphs
|
||||
headings=normal, % decrease size of headlines
|
||||
listof=totoc, % list directories in table of contents
|
||||
bibliography=totoc, % list bibliography in table of contents
|
||||
index=totoc, % list index in table of contents
|
||||
captions=tableheading, % location of table captions below table
|
||||
final % status of document (draft / final)
|
||||
]{scrreprt}
|
||||
|
||||
|
||||
% Meta informations ------------------------------------------------------------
|
||||
% Static informations like author, institute etc are defined in meta.tex
|
||||
% ------------------------------------------------------------------------------
|
||||
\input{meta}
|
||||
|
||||
% Package dependencies ---------------------------------------------------------
|
||||
% LaTeX-dependencies are defined in packages.tex
|
||||
% ------------------------------------------------------------------------------
|
||||
\input{packages}
|
||||
|
||||
% Create index and glossary ----------------------------------------------------
|
||||
\makeindex
|
||||
\makeglossaries
|
||||
|
||||
% Headlines, margins. ----------------------------------------------------------
|
||||
\input{pagestyle}
|
||||
|
||||
% My custom hyphenations
|
||||
\include{hyphenation}
|
||||
|
||||
% My custom LaTeX-commands
|
||||
\include{commands}
|
||||
|
||||
% Main document ----------------------------------------------------------------
|
||||
% The actual document. The different parts are included and themself defined in tex documents in the content directory.
|
||||
% ------------------------------------------------------------------------------
|
||||
\begin{document}
|
||||
|
||||
|
||||
% Cover and abstract without page numbers
|
||||
\ofoot{}
|
||||
\include{cover}
|
||||
\include{content/abstract}
|
||||
\ofoot{\pagemark}
|
||||
|
||||
% Paging -----------------------------------------------------------------------
|
||||
% Main sections with capital roman numbering
|
||||
% ------------------------------------------------------------------------------
|
||||
\pagenumbering{Roman}
|
||||
|
||||
% Table of content depth
|
||||
\setcounter{secnumdepth}{1}
|
||||
\setcounter{tocdepth}{1}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
% Glossary ---------------------------------------------------------------------
|
||||
\input{glossar}
|
||||
% Correct headline in header
|
||||
\clearpage\markboth{\glossar}{\glossar}
|
||||
\printglossaries
|
||||
\label{sec:glossar}
|
||||
|
||||
|
||||
\listoffigures
|
||||
\listoftables
|
||||
|
||||
\lstlistoflistings
|
||||
|
||||
% arabic paging in main content ------------------------------------------------
|
||||
\clearpage
|
||||
\pagenumbering{arabic}
|
||||
|
||||
% Main content
|
||||
% include each chapter here
|
||||
%
|
||||
\input{content/Introduction}
|
||||
\input{content/DNS}
|
||||
|
||||
|
||||
\clearpage
|
||||
|
||||
% Appendix ---------------------------------------------------------------------
|
||||
% Appendix is included like main content in appendix.tex
|
||||
% ------------------------------------------------------------------------------
|
||||
\begin{appendix}
|
||||
\pagenumbering{roman}
|
||||
% Adjust margin in table listings
|
||||
\setdefaultleftmargin{1em}{}{}{}{}{}
|
||||
\input{appendix}
|
||||
\end{appendix}
|
||||
|
||||
% Bibliography -----------------------------------------------------------------
|
||||
% Bibliography is created using bibliography.bib
|
||||
% ------------------------------------------------------------------------------
|
||||
\bibliography{bibliography} % Call: bibtex main
|
||||
\bibliographystyle{natdin} % DIN style of bibliography
|
||||
|
||||
\include{agreement}
|
||||
|
||||
|
||||
% Index ------------------------------------------------------------------------
|
||||
% Uncomment if index should be printed
|
||||
% ------------------------------------------------------------------------------
|
||||
%\printindex
|
||||
|
||||
\end{document}
|
||||
20
Thesis/meta.tex
Normal file
20
Thesis/meta.tex
Normal file
@@ -0,0 +1,20 @@
|
||||
% Meta information -----------------------------------------------------------
|
||||
% Global definitions that can be used in document
|
||||
% ------------------------------------------------------------------------------
|
||||
\usepackage[utf8]{inputenc}
|
||||
\newcommand{\fsTitle}{Title}
|
||||
\newcommand{\fsSubTitle}{Subtitle}
|
||||
\newcommand{\art}{Master's thesis}
|
||||
\newcommand{\field}{IT-Security}
|
||||
\newcommand{\thesisauthor}{Felix Steghofer}
|
||||
\newcommand{\course}{Informatik}
|
||||
\newcommand{\matriculationid}{61443}
|
||||
\newcommand{\firstreview}{Prof. Dr. rer. nat. Joachim Posegga}
|
||||
\newcommand{\secondreview}{Prof. Dr. }
|
||||
\newcommand{\mentor}{Thomas Penteker}
|
||||
\newcommand{\location}{Passau}
|
||||
\newcommand{\thesisyear}{2017}
|
||||
%change to res/img/Logo_UniPassau_small_bw.png for a black and white version
|
||||
\newcommand{\logo}{res/img/Logo_UniPassau_small.png}
|
||||
\newcommand{\institute}{Universität Passau}
|
||||
\newcommand{\fsCopyright}{Copyright?}
|
||||
14
Thesis/natbib.cfg
Normal file
14
Thesis/natbib.cfg
Normal file
@@ -0,0 +1,14 @@
|
||||
% in dieser Datei wird das Aussehen der Zitate und des Literaturverzeichnisses definiert
|
||||
|
||||
\newcommand{\bibstyle@natdin}%
|
||||
{\bibpunct{[}{]}{;}{a}{}{,~} % Quellenangaben in eckige Klammern fassen
|
||||
% nach dieser Definition wird das label (dinatlabel) fett geschrieben, dann Zeilenumbruch;
|
||||
% darunter der bibliographische Beleg
|
||||
\gdef\NAT@biblabelnum##1{\textbf{##1}\\}}
|
||||
|
||||
\bibstyle@natdin
|
||||
|
||||
% Einzug der Belege nach der Einordnungsmarke
|
||||
\setlength{\bibhang}{7mm}
|
||||
|
||||
|
||||
2234
Thesis/natdin.bst
Normal file
2234
Thesis/natdin.bst
Normal file
File diff suppressed because it is too large
Load Diff
137
Thesis/packages.tex
Normal file
137
Thesis/packages.tex
Normal file
@@ -0,0 +1,137 @@
|
||||
|
||||
\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}
|
||||
65
Thesis/pagestyle.tex
Normal file
65
Thesis/pagestyle.tex
Normal file
@@ -0,0 +1,65 @@
|
||||
% Row margin 1.5 rows ----------------------------------------------------------
|
||||
\onehalfspacing
|
||||
|
||||
% Page margins -----------------------------------------------------------------
|
||||
\setlength{\topskip}{\ht\strutbox} % Avoid warnings of geography
|
||||
\geometry{paper=a4paper,left=35mm,right=35mm,top=30mm}
|
||||
|
||||
% Header and footer ------------------------------------------------------------
|
||||
\pagestyle{scrheadings}
|
||||
% Header and footer also on first chapter page ---------------------------------
|
||||
\renewcommand*{\chapterpagestyle}{scrheadings}
|
||||
% Schriftform der Kopfzeile
|
||||
\renewcommand{\headfont}{\normalfont}
|
||||
|
||||
% Header -----------------------------------------------------------------------
|
||||
\ihead{\normalsize{\textsc{\fsTitle}}\\ \textit{\headmark}}
|
||||
\chead{}
|
||||
\ohead{\includegraphics[scale=0.08]{\logo}}
|
||||
\setlength{\headheight}{21mm} % Header height
|
||||
|
||||
\setheadwidth[0pt]{textwithmarginpar}
|
||||
\setheadsepline[text]{0.4pt} % Separator line above header ---------------------
|
||||
|
||||
% Footer
|
||||
\ifoot{}%\title}
|
||||
\cfoot{}
|
||||
\ofoot{\pagemark}
|
||||
|
||||
% More space after dot
|
||||
\frenchspacing
|
||||
|
||||
% Avoid orphans and widoww
|
||||
\clubpenalty = 10000
|
||||
\widowpenalty = 10000
|
||||
\displaywidowpenalty = 10000
|
||||
|
||||
% Source code formatting
|
||||
\lstset{
|
||||
float=htbp,
|
||||
basicstyle=\ttfamily\color{black}\small\smaller,
|
||||
identifierstyle=\color{colIdentifier},
|
||||
keywordstyle=\color{colKeys},
|
||||
stringstyle=\color{colString},
|
||||
commentstyle=\color{colComments},
|
||||
columns=flexible,
|
||||
tabsize=2,
|
||||
xleftmargin=3.5pt,
|
||||
frame=single,
|
||||
rulecolor=\color{black},
|
||||
extendedchars=true,
|
||||
showspaces=false,
|
||||
showstringspaces=false,
|
||||
numbers=left,
|
||||
numberstyle=\tiny,
|
||||
numbersep=5pt,
|
||||
breaklines=true,
|
||||
breakautoindent=true
|
||||
}
|
||||
|
||||
\DeclareCaptionFont{white}{\color{white}}
|
||||
\DeclareCaptionFormat{listing}{\colorbox{light-gray}{\parbox{\linewidth-2.5pt}{#1#2#3}}}
|
||||
\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white, belowskip=5pt, position=t, aboveskip=10pt}
|
||||
|
||||
% Progressice numbering of foot notes
|
||||
\counterwithout{footnote}{chapter}
|
||||
BIN
Thesis/res/img/Logo_UniPassau_big.jpg
Normal file
BIN
Thesis/res/img/Logo_UniPassau_big.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 122 KiB |
BIN
Thesis/res/img/Logo_UniPassau_small.png
Normal file
BIN
Thesis/res/img/Logo_UniPassau_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
Thesis/res/img/Logo_UniPassau_small_bw.png
Normal file
BIN
Thesis/res/img/Logo_UniPassau_small_bw.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
6
Thesis/res/src/sendImpliciteIntent.java
Normal file
6
Thesis/res/src/sendImpliciteIntent.java
Normal file
@@ -0,0 +1,6 @@
|
||||
File myFile = new File("path/to/image.jpg");
|
||||
URI imageUri = Uri.fromFile(myFile);
|
||||
Intent intent = new Intent();
|
||||
intent.setAction(Intent.ACTION_VIEW);
|
||||
intent.setDataAndType(imageUri, "image/jpeg");
|
||||
startActivity(intent);
|
||||
Reference in New Issue
Block a user