summaryrefslogtreecommitdiffstats
path: root/vorlagen/thesis/src
diff options
context:
space:
mode:
authorRefik Hadzialic2012-03-27 12:20:13 +0200
committerRefik Hadzialic2012-03-27 12:20:13 +0200
commit0133f24d91019ab1fae941b53704e7fb99c502b2 (patch)
tree6a2261918f8463dd2ab9f36d033f594de267f9cb /vorlagen/thesis/src
parentdeleted (diff)
downloadmalign-0133f24d91019ab1fae941b53704e7fb99c502b2.tar.gz
malign-0133f24d91019ab1fae941b53704e7fb99c502b2.tar.xz
malign-0133f24d91019ab1fae941b53704e7fb99c502b2.zip
Templates for the latex!
Diffstat (limited to 'vorlagen/thesis/src')
-rw-r--r--vorlagen/thesis/src/Makefile25
-rw-r--r--vorlagen/thesis/src/bib/literatur.bib7
-rw-r--r--vorlagen/thesis/src/erklaerung.tex30
-rw-r--r--vorlagen/thesis/src/img/Uni_Logo-blau-Wappen-li_E1_A4_CMYK.pngbin0 -> 25982 bytes
-rw-r--r--vorlagen/thesis/src/img/siegel.pngbin0 -> 1217444 bytes
-rw-r--r--vorlagen/thesis/src/kapitel_A.tex16
-rw-r--r--vorlagen/thesis/src/kapitel_x.tex18
-rw-r--r--vorlagen/thesis/src/layout-extras.tex93
-rw-r--r--vorlagen/thesis/src/maindoc.tex177
-rw-r--r--vorlagen/thesis/src/natbib.cfg19
-rw-r--r--vorlagen/thesis/src/titel.tex81
11 files changed, 466 insertions, 0 deletions
diff --git a/vorlagen/thesis/src/Makefile b/vorlagen/thesis/src/Makefile
new file mode 100644
index 0000000..a57a10f
--- /dev/null
+++ b/vorlagen/thesis/src/Makefile
@@ -0,0 +1,25 @@
+all: build tmp
+ mv maindoc.pdf ..
+
+build: clean
+ pdflatex maindoc
+ bibtex maindoc
+ pdflatex maindoc
+ pdflatex maindoc
+
+tmp:
+ mkdir -p ../tmp
+ find . -iname "*.aux" \
+ -o -iname "*.log" \
+ -o -iname "*.bbl" \
+ -o -iname "*.blg" \
+ -o -iname "*.out" \
+ -o -iname "*.dvi" \
+ -o -iname "*.toc" \
+ | xargs -ITMPFILES mv TMPFILES ../tmp/
+
+clean:
+ rm -vf *.aux *.log *.bbl *.blg *.out *.dvi *.toc
+
+distclean: clean
+ rm -vf *.pdf
diff --git a/vorlagen/thesis/src/bib/literatur.bib b/vorlagen/thesis/src/bib/literatur.bib
new file mode 100644
index 0000000..00702b4
--- /dev/null
+++ b/vorlagen/thesis/src/bib/literatur.bib
@@ -0,0 +1,7 @@
+@article{kopka1997latex,
+ title={{LATEX Band 1: Einführung}},
+ author={Kopka, H.},
+ year={1997},
+ publisher={Addison-Wesley}
+}
+
diff --git a/vorlagen/thesis/src/erklaerung.tex b/vorlagen/thesis/src/erklaerung.tex
new file mode 100644
index 0000000..8b1df81
--- /dev/null
+++ b/vorlagen/thesis/src/erklaerung.tex
@@ -0,0 +1,30 @@
+\newpage{}
+\section*{\vfill{}
+Erklärung}
+
+Hiermit erkläre ich, dass ich diese Abschlussarbeit selbständig verfasst
+habe, keine anderen als die angegebenen Quellen/Hilfsmittel verwendet
+habe und alle Stellen, die wörtlich oder sinngemäß aus veröffentlichten
+Schriften entnommen wurden, als solche kenntlich gemacht habe. Darüber
+hinaus erkläre ich, dass diese Abschlussarbeit nicht, auch nicht auszugsweise,
+bereits für eine andere Prüfung angefertigt wurde.
+
+\vspace{3cm}
+\begin{minipage}[t][1\totalheight]{0.35\textwidth}
+Ort, Datum \\(Place, Date)
+\end{minipage}\hfill{}
+\begin{minipage}[t][1\totalheight]{0.45\textwidth}
+Unterschrift \\(Signature)
+\end{minipage}
+
+\newpage{}
+\section*{\vfill{}
+Acknowledgment}
+
+The author would like to thank his supervisors Konrad Meier and Dennis Wehrle for their help
+and support during the thesis work. Beside the help from the supervisors the author
+would like to thank his family and friends who supported him through his master studies and
+the entire department for the support, free coffee and to Prof. Dr. Gerhard Schneider for
+making available all the required hardware.
+
+
diff --git a/vorlagen/thesis/src/img/Uni_Logo-blau-Wappen-li_E1_A4_CMYK.png b/vorlagen/thesis/src/img/Uni_Logo-blau-Wappen-li_E1_A4_CMYK.png
new file mode 100644
index 0000000..bd28939
--- /dev/null
+++ b/vorlagen/thesis/src/img/Uni_Logo-blau-Wappen-li_E1_A4_CMYK.png
Binary files differ
diff --git a/vorlagen/thesis/src/img/siegel.png b/vorlagen/thesis/src/img/siegel.png
new file mode 100644
index 0000000..1cff269
--- /dev/null
+++ b/vorlagen/thesis/src/img/siegel.png
Binary files differ
diff --git a/vorlagen/thesis/src/kapitel_A.tex b/vorlagen/thesis/src/kapitel_A.tex
new file mode 100644
index 0000000..5d57ccc
--- /dev/null
+++ b/vorlagen/thesis/src/kapitel_A.tex
@@ -0,0 +1,16 @@
+\addchap{Appendix}
+\section{Sourcecode}
+Beispiel:
+\lstset{%
+caption=,%
+label=lst:example,%
+}
+\begin{lstlisting}
+#include <stdio.h>
+
+int main(void)
+{
+ printf("Hallo Welt!\n");
+ return 0;
+}
+\end{lstlisting}
diff --git a/vorlagen/thesis/src/kapitel_x.tex b/vorlagen/thesis/src/kapitel_x.tex
new file mode 100644
index 0000000..c0f74f9
--- /dev/null
+++ b/vorlagen/thesis/src/kapitel_x.tex
@@ -0,0 +1,18 @@
+\setchapterpreamble[u]{%
+ \dictum[Platon] {Der Anfang ist die Hälfte des Ganzen}
+}
+\chapter{Introduction to GSM and GPS}
+
+\chapter{Assisted GPS}
+
+\chapter{Radio Resource Location Protocol}
+
+\chapter {Working}
+\section{Zitieren..}
+citep: \citep{kopka1997latex} \\
+citet: \citet{kopka1997latex}
+
+\chapter{System}
+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.\todo{Referenz für lorem ipsum}
+
+\chapter{Conclusion}
diff --git a/vorlagen/thesis/src/layout-extras.tex b/vorlagen/thesis/src/layout-extras.tex
new file mode 100644
index 0000000..0f2ee8e
--- /dev/null
+++ b/vorlagen/thesis/src/layout-extras.tex
@@ -0,0 +1,93 @@
+
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\textfraction}{0.1}
+\renewcommand{\floatpagefraction}{0.75}
+
+\makeatletter
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Chapter thumbs with scrpage2
+%
+
+% Safty first
+\@ifundefined{chapter}{\let\chapter\undefined
+ \chapter must be defined to use chapter thumbs!}{%
+
+\newcommand*{\putoddnumbers}{%
+\begin{tikzpicture}[remember picture, overlay]
+ \node [shift={(-1.4cm,-3.6cm)}] at (current page.north east)
+ {%
+ \begin{tikzpicture}[remember picture, overlay]
+ \fill[fill=gray] (0,0) rectangle (1.4cm,1.2cm);
+ \node [shift={(0.7cm,0.55cm)}] {
+ \textcolor{white}{%
+ \strut\thepage%
+ }%
+ };
+ \end{tikzpicture}
+ };
+\end{tikzpicture}
+}
+
+\newcommand*{\putevennumbers}{%
+\begin{tikzpicture}[remember picture, overlay]
+ \node [shift={(0cm,-3.6cm)}] at (current page.north west)
+ {%
+ \begin{tikzpicture}[remember picture, overlay]
+ \fill[fill=gray] (0,0) rectangle (1.4cm,1.2cm);
+ \node [shift={(0.7cm,0.55cm)}] {
+ \textcolor{white}{%
+ \strut\thepage%
+ }%
+ };
+ \end{tikzpicture}
+ };
+\end{tikzpicture}
+}
+
+\newcommand*{\fancypagenumbers}[2][]{%
+ \rohead[\putoddnumbers#1]{\putoddnumbers#2}%
+ \lehead[\putevennumbers#1]{\putevennumbers#2}%
+}
+
+
+% initial use
+\fancypagenumbers{}
+\pagestyle{scrheadings}
+
+}
+%
+% End of chapter thumbs with scrpage2
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeatother
+
+\pagestyle{scrheadings}
+\setkomafont{pageheadfoot}{\normalfont\large\sffamily\bfseries\scshape}
+%% für ältere Versionen des Komascripts folgenden Aufruf benutzen:
+%%\setkomafont{pagehead}{\normalfont\large\sffamily\bfseries\scshape}
+%%\setkomafont{pagefoot}{\normalfont\large\sffamily\bfseries\scshape}
+\setkomafont{pagenumber}{\normalfont\large\sffamily\bfseries}
+
+
+% beidseitig innen
+\ihead[]{\textcolor{gray}{\headmark}}
+
+% beidseitig aussen
+%\ohead[\textcolor{gray}{\pagemark}]{%
+%\fcolorbox{gray}{gray}{%
+%\rule[-1mm]{0mm}{6mm}%
+%\hspace{1cm}%
+%\textcolor{white}{\pagemark}}%
+%\rule{3mm}{0mm}%
+%}
+
+% lösche Inhalt restlicher Felder
+% header Mitte
+\chead[]{}
+
+% footer
+\ofoot[]{}
+\cfoot[]{}
+\ifoot[]{}
+
diff --git a/vorlagen/thesis/src/maindoc.tex b/vorlagen/thesis/src/maindoc.tex
new file mode 100644
index 0000000..984fe72
--- /dev/null
+++ b/vorlagen/thesis/src/maindoc.tex
@@ -0,0 +1,177 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Präambel %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%Hier sind Parameter einzustellen (Pakete werden geladen und durch [Optionen]
+%und {Argumente} bestimmt
+\documentclass[%
+ paper=A4,%
+ a4paper,%
+ BCOR=8mm,%
+ DIV=current,%
+ twoside,%
+ 12pt,%
+ headinclude=true,%
+ headlines=1.8,%
+ footinclude=false,version=first,%
+ bibliography=totoc,%
+ bibtotoc]{scrbook}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Konfiguration Kodierung / Schriften %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%Kodierung des Tex-Dokumentes
+\usepackage[T1]{fontenc}
+%\usepackage[latin1]{inputenc}
+\usepackage[utf8x]{inputenc}
+
+
+%erlaubt die deutschsprachigen Zeichen
+\usepackage[ngerman,english]{babel}
+%\usepackage{marvosym}
+
+%Mathematische und andere Symbole
+\usepackage{amsmath,mathrsfs,amssymb}
+\usepackage[scaled=.92]{helvet}
+\usepackage{courier}
+
+%Lädt Symbolschriften
+%\usepackage{pifont}
+
+%\usepackage{amsfonts}
+
+% Für Listings eignet sich auch die (monospace) Font inconsolata
+% siehe auch: http://levien.com/type/myfonts/inconsolata.html
+% bzw. http://ctan.org/pkg/inconsolata
+%\usepackage{inconsolata}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Erweiterungen für Bibtex, Beweise, Jura, Listings, .. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%\usepackage[intlimits]{empheq}
+\usepackage{theorem}
+%\usepackage{mathpazo}
+%\usepackage{mathptmx}
+
+%ermöglicht verschiedene Stile des Literaturverzeichnises
+%\usepackage{jurabib}
+%\usepackage{plain}
+%weitere Stile auf der
+\usepackage[sectionbib,square]{natbib}
+
+%\usepackage{a4wide}
+
+% programm code
+\usepackage{listings}
+\lstset{basicstyle=\small\ttfamily, stringstyle=\ttfamily,
+backgroundcolor=\color{lightgray}, numbers=left, numberstyle=\small,
+stepnumber=1, numbersep=5pt}
+
+% Listen
+\usepackage{eqlist}
+
+% Index
+\usepackage{makeidx}
+
+
+% Todonotes: Paket zum schreiben von Notizen zu konkreten Textstellen
+% siehe: http://mirror.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf
+\usepackage{todonotes}
+% Für eine finale Version lassen sich die Notes wie folgt deaktivieren:
+%\usepackage[disable=true]{todonotes}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Buntes (Grafiken, Links, Farben) %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%erlaubt Graphiken einzubinden
+\usepackage{graphicx}
+\usepackage{xcolor}
+
+%erlaubt Referenzen im Inhaltsverzeichnis
+\usepackage[
+ pdftex,
+ pdfpagelabels,
+ plainpages=false,
+ colorlinks,
+ urlcolor=gray,
+ linkcolor=black,
+ citecolor=black,
+ pdfauthor={Max Mustermann},
+% pdftitle={GZ:if expand("%") == ""|browse confirm w|else|confirm w|endif}
+]{hyperref}
+
+\usepackage{tikz}
+\usetikzlibrary{arrows}
+\usetikzlibrary{calc}
+
+% Floatumgebungen
+\usepackage{wrapfig}
+\usepackage{float}
+
+\newfloat{mybox}{thp}{lop}[chapter]
+\floatname{mybox}{Infobox}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Abstände, Schriften, .. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%Zeilenabstand
+% \linespread{1}
+
+% Kopf- und Fusszeilen
+\usepackage{scrpage2}
+
+%Setzt den Abstand zwischen den Absätzen auf "groß"
+\setlength{\parskip}\bigskipamount
+
+% thumbindex, header/footer
+\input{layout-extras}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Anfang des Textkörpers %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{document}
+\pagenumbering{roman}
+
+%%% Titel %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\include{titel}
+\pagenumbering{Roman}
+
+%%% .. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\include{erklaerung}
+\tableofcontents
+\cleardoublepage
+\pagenumbering{arabic}
+
+\renewcommand*{\dictumwidth}{.45\textwidth}
+
+\newcommand{\miniheading}[1]{\noindent\textsf{\textbf{#1}}\vspace{2mm}\nopagebreak[4]\\}
+\newcommand{\otodo}[1]{\todo[color=green!40]{#1}}
+
+%%% Hauptteil %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\include{kapitel_x}
+
+%%% Anhang %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\appendix
+\renewcommand*{\thesection}{\Alph{section}}
+\addtocounter{secnumdepth}{1}
+
+\include{kapitel_A}
+
+%% Literatur %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\bibliographystyle{dinat}
+\bibliography{bib/literatur}
+
+\nocite{*}
+
+\end{document}
diff --git a/vorlagen/thesis/src/natbib.cfg b/vorlagen/thesis/src/natbib.cfg
new file mode 100644
index 0000000..dae7528
--- /dev/null
+++ b/vorlagen/thesis/src/natbib.cfg
@@ -0,0 +1,19 @@
+% NATBIB.CFG in Verbindung mit natbib.sty
+% Lorenzen, 2006-01-02
+% diese Konfigurationsdatei wird zuletzt eingelesen und
+% enth"alt die lokal gew"unschten Einstellungen f"ur den
+% Bibliographie-- und Zitierstil
+
+\newcommand{\bibstyle@natdin}%
+ {\bibpunct{[}{]}{;}{a}{}{,~}
+ \gdef\NAT@biblabelnum##1{\textbf{##1}\\}}
+%% nach dieser Definition wird das label (dinatlabel) fett geschrieben, dann Zeilenumbruch;
+%% darunter der bibliographische Beleg
+
+
+\bibstyle@natdin
+
+%% Einzug der Belege nach der Einordnungsmarke
+\setlength{\bibhang}{7mm}
+
+
diff --git a/vorlagen/thesis/src/titel.tex b/vorlagen/thesis/src/titel.tex
new file mode 100644
index 0000000..7c18d53
--- /dev/null
+++ b/vorlagen/thesis/src/titel.tex
@@ -0,0 +1,81 @@
+\begin{titlepage}
+\definecolor{winered}{rgb}{0.555,0.063,0.141}
+
+
+\begin{tikzpicture}[remember picture, overlay]
+ \node [shift={(4.1cm,-5cm)}] at (current page.north west)
+ {%
+ \includegraphics[height=3.6cm,keepaspectratio=true]{img/Uni_Logo-blau-Wappen-li_E1_A4_CMYK.png}
+ % Uni_Logo-blau-Wappen-li_E1_A4_CMYK.png: 583x684 pixel, 300dpi, 4.94x5.79 cm, bb=0 0 140 164
+ % unilogo.png: 1092x1044 pixel, 100dpi, 27.74x26.52 cm, viewport=0 0 786 752
+ };
+ \node [shift={(5.75cm,-5.7125cm)}] at (current page.north west)
+ {%
+ \begin{tikzpicture}[remember picture, overlay]
+ \fill[fill=winered] (0,0) rectangle (13cm,1.175mm);
+ \end{tikzpicture}
+ };
+ \node [shift={(-6.75cm,-5.65cm)}] at (current page.north east)
+ {
+ \parbox{9cm}{
+ \begin{flushright}
+ \textsf{ \raggedright \large \textbf{Technische Fakultät}}\\
+ \vspace{.8mm}
+ \textsf{ \large Albert-Ludwigs-Universität, Freiburg}\\
+ \vspace{2.8mm}
+ \textsf{ \large Lehrstuhl für Kommunikationsysteme}\\
+ \vspace{.8mm}
+ \textsf{ \large Prof. Dr. Gerhard Schneider}
+ \end{flushright}
+ }
+ };
+
+ \node [shift={(7.0cm,4.4cm)}] at (current page.south west)
+ {
+ \parbox{7cm}{
+ \large\noindent\textsf{Refik Had\v{z}iali\'{c}
+ \\\normalsize
+ }
+ }
+ };
+ \node [shift={(-6.0cm,5.55cm)}] at (current page.south east)
+ {%
+ \parbox{7cm}{
+ \begin{flushright}
+ \normalsize
+ \noindent\textsf{Supervised by\\}
+ \large
+ \noindent\textsf{M.Sc. Konrad Meier \\ M.Sc. Dennis Wehrle}\normalsize\\
+ \vspace{1.4mm}
+ \noindent\textsf{\\First Examiner\\}
+ \large
+ \noindent\textsf{Prof. Dr. Gerhard Schneider}\normalsize\\
+ \vspace{1.4mm}
+ \noindent\textsf{\\Second Examiner\\}
+ \large
+ \noindent\textsf{Prof. Dr. Christian Schindelhauer}\normalsize\\
+ \end{flushright}
+ }
+ };
+
+ % Draw a page border
+ %\draw (current page.north west) rectangle (current page.south east);
+\end{tikzpicture}
+
+\vspace{7.5cm}
+\hspace{5mm}
+\begin{minipage}[t][6.5cm][t]{14.1cm}
+\large
+\noindent\textsf{Master thesis
+\vspace{2.5mm}\\}
+\Large
+\noindent\textsf{\textbf{
+Mobile Assisted GPS Localization in GSM Networks
+\vspace{2mm}\\}}
+\small
+\noindent\textsf{\today}
+\end{minipage}
+
+\end{titlepage}
+\thispagestyle{empty}
+\cleardoublepage