387 lines
15 KiB
TeX
387 lines
15 KiB
TeX
%%%% Time-stamp: <2013-09-18 19:27:11 vk>
|
|
%% ========================================================================
|
|
%%%% Disclaimer
|
|
%% ========================================================================
|
|
%%
|
|
%% created by
|
|
%%
|
|
%% Karl Voit
|
|
%%
|
|
|
|
%% ========================================================================
|
|
%%%% Basic settings
|
|
%% ========================================================================
|
|
%% (idea of using newcommands for basic documentclass settings from: Thomas Schlager)
|
|
|
|
\newcommand{\mypapersize}{A4}
|
|
%% e.g., "A4", "letter", "legal", "executive", ...
|
|
%% The size of the paper of the resulting PDF file.
|
|
|
|
\newcommand{\mylaterality}{oneside}
|
|
%% "oneside" or "twoside"
|
|
%% Either you are creating a document which is printed on both, left pages
|
|
%% and right pages (twoside) or you create a document which is printed
|
|
%% on right pages only (oneside).
|
|
|
|
\newcommand{\myparskip}{half}
|
|
%% e.g., "no", "full", "half", ...
|
|
%% How to separate paragraphs: indention ("no") or spacing ("half",
|
|
%% "full", ...).
|
|
|
|
\newcommand{\myBCOR}{0mm}
|
|
%% Inner binding correction. This value depends on the method which is
|
|
%% being used to bind your printed result. Some techniques do not
|
|
%% require a binding correction at all ("0mm"), other require for
|
|
%% example "5mm". Refer to KOMA script documentation for a detailed
|
|
%% explanation what a binding correction is and how to measure it.
|
|
|
|
\newcommand{\myfontsize}{12pt}
|
|
%% e.g., 10pt, 11pt, 12pt
|
|
%% The font size of the main text in pt (points).
|
|
|
|
\newcommand{\mylinespread}{1.0}
|
|
%% e.g., 1.0, 1.5, 2.0
|
|
%% Line spacing in %/100. For example 1.5 means 150% of the usual line
|
|
%% spacing. Please use with caution: 100% ("1.0") is fine because the
|
|
%% font was designed for it.
|
|
|
|
\newcommand{\mylanguage}{american,ngerman}
|
|
%% "english,ngerman", "ngerman,english", ...
|
|
%% NOTE: The *last* language is the active one!
|
|
%% See babel documentation for further details.
|
|
|
|
%% BibLaTeX-settings: (see biblatex reference for further description)
|
|
\newcommand{\mybiblatexstyle}{authortitle-icomp}
|
|
%% e.g., "alphabetic", "authoryear", ...
|
|
%% The biblatex style which is being used for referencing. See
|
|
%% biblatex documentation for further details and more values.
|
|
%%
|
|
%% CAUTION: if you change the style, please check for (in)compatible
|
|
%% "biblatex" package options in the file
|
|
%% "template/preamble.tex"! For example: "alphabetic" does
|
|
%% not have an option "dashed=..." and causes an error if it
|
|
%% does not get removed from the list of options.
|
|
|
|
\newcommand{\mybiblatexdashed}{true} %% "true" or "false"
|
|
%% If true: replace recurring reference authors with a dash.
|
|
|
|
\newcommand{\mybiblatexbackref}{true} %% "true" or "false"
|
|
%% If true: create backward links from reference to citations.
|
|
|
|
\newcommand{\mybiblatexfile}{bibliographie.bib}
|
|
%% Name of the biblatex file that holds the references.
|
|
|
|
\newcommand{\mydispositioncolor}{30,103,182}
|
|
%% e.g., "30,103,182" (blue/turquois), "0,0,0" (black), ...
|
|
%% Color of the headings and so forth in RGB (red,green,blue) values.
|
|
%% NOTE: if you are using "0,0,0" for black, printers might still
|
|
%% recognize pages as color pages. In case this is a problem
|
|
%% (paying for color print-outs vs. paying for b/w-printouts)
|
|
%% please edit file "template/preamble.tex" and change
|
|
%% "\definecolor{DispositionColor}{RGB}{\mydispositioncolor}"
|
|
%% to "\definecolor{DispositionColor}{gray}{0}" and thus
|
|
%% overwriting the value of \mydispositioncolor above.
|
|
|
|
\newcommand{\mycolorlinks}{true} %% "true" or "false"
|
|
%% Enables or disables colored links (hyperref package).
|
|
|
|
\newcommand{\mytitlepage}{template/title_VWA}
|
|
%% Your own or one of following pre-defined title pages:
|
|
%% "template/title_plain_maketitle": simple maketitle page
|
|
%% "template/title_Diplomarbeit_KF_Uni_Graz.tex": fancy (german) title page for KF Uni Graz
|
|
%% "template/title_Thesis_TU_Graz": titlepage for Graz University of Technology (correct Corporate Design)
|
|
%% "template/title_VWA": titlepage for Vorwissenschaftliche Arbeit
|
|
|
|
\newcommand{\mytodonotesoptions}{}
|
|
%% e.g., "" (empty), "disable", ...
|
|
%% Options for the todonotes-package. If "disable", all todonotes will
|
|
%% be hidden (including listoftodos).
|
|
\RequirePackage[l2tabu, orthodox]{nag} %% EIGENE ÄNDERUNG
|
|
%% Load main settings for document preamble:
|
|
\input{template/preamble}%% DO NOT REMOVE THIS LINE!
|
|
|
|
\setboolean{myaddcolophon}{true} %% "true" or "false"
|
|
%% If set to "true": a colophon (with notes about this document
|
|
%% template, LaTeX, ...) is added after the title page.
|
|
%% Please do not set to "false" without a good reason. The colophon
|
|
%% helps your readers to get in touch with LaTeX and to find this template.
|
|
|
|
\setboolean{myaddlistoftodos}{false} %% "true" or "false"
|
|
%% If set to "true": the current list of open todos is added after the
|
|
%% table of contents. If \mytodonotesoptions is set to "disable", no
|
|
%% list of todos is added, independent of this setting here.
|
|
|
|
|
|
|
|
%% ========================================================================
|
|
%%%% Document metadata
|
|
%% ========================================================================
|
|
|
|
%% general metadata:
|
|
\newcommand{\myauthor}{Lukas Winkler} %% also used for PDF metadata (hyperref)
|
|
\newcommand{\mytitle}{Umweltdatenmessung mit dem Raspberry Pi} %% also used for PDF metadata (hyperref)
|
|
\newcommand{\mysubject}{Umweltdatenmessung mit dem Raspberry Pi} %% also used for PDF metadata (hyperref)
|
|
\newcommand{\mykeywords}{Umweltdatenmessung, Raspberry, Temperatur, Klimadaten, Wetter, Auswertung, Software} %% also used for PDF metadata (hyperref)
|
|
|
|
%% this information is used only for generating the title page:
|
|
\newcommand{\myworktitle}{Master's Thesis} %% official type of work like ``Master theses''
|
|
\newcommand{\mygrade}{Master of Science} %% title you are getting with this work like ``Master of ...''
|
|
\newcommand{\mystudy}{8A} %% your study like ``Arts''
|
|
\newcommand{\myuniversity}{Graz University of Technology} %% your university/school
|
|
\newcommand{\myinstitute}{BRG Kremszeile} %% affiliation
|
|
\newcommand{\myinstitutehead}{Univ.-Prof.\,Dipl-Ing.\,Dr.techn.~Some One} %% head of institute
|
|
\newcommand{\mysupervisor}{MMag. Matthias Kittel} %% your supervisor
|
|
\newcommand{\myevaluator}{Prof.~Some Genius} %% your evaluator
|
|
\newcommand{\myhomestreet}{Rechte Kremszeile 54} %% your home street (with house number)
|
|
\newcommand{\myhometown}{Krems an der Donau} %% your home town
|
|
\newcommand{\myhomepostalnumber}{3500} %% your postal number of home town
|
|
\newcommand{\mysubmissionmonth}{Februar} %% month you are handing in
|
|
\newcommand{\mysubmissionyear}{2015} %% year you are handing in
|
|
\newcommand{\mysubmissiontown}{\myhometown} %% town of handing in (or \myhometown)
|
|
|
|
%% additional information for generic_documentation title page
|
|
\newcommand{\myid}{1234567} %% Matrikelnummer
|
|
\newcommand{\mylecture}{LECTURE} %%
|
|
|
|
|
|
%% ========================================================================
|
|
%%%% MISC command definitions
|
|
%% ========================================================================
|
|
\input{template/mycommands}
|
|
|
|
%% ========================================================================
|
|
%%%% Typographic settings
|
|
%% ========================================================================
|
|
\input{template/typographic_settings}
|
|
|
|
|
|
%% ========================================================================
|
|
%%%% MISC usepackages
|
|
%% ========================================================================
|
|
|
|
%% ... it's OK to put here your own usepackage commands ...
|
|
\usepackage{listings}
|
|
\definecolor{mygreen}{rgb}{0,0.6,0}
|
|
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
|
|
\definecolor{mymauve}{rgb}{0.58,0,0.82}
|
|
\definecolor{lightblue}{rgb}{0.8,0.8,1}
|
|
|
|
\lstdefinestyle{mystyle}{
|
|
backgroundcolor=\color{white},
|
|
% basicstyle=\footnotesize,
|
|
% breakatwhitespace=false,
|
|
breaklines=true,
|
|
captionpos=b,
|
|
commentstyle=\color{mygreen}\itshape,
|
|
frame=shadowbox,
|
|
keepspaces=true,
|
|
keywordstyle=\color{blue}\bfseries,
|
|
numbers=left,
|
|
numbersep=5pt,
|
|
numberstyle=\color{mygray},
|
|
rulecolor=\color{black},
|
|
rulesepcolor=\color{gray},
|
|
showspaces=false,
|
|
showstringspaces=true,
|
|
showtabs=true,
|
|
stepnumber=1,
|
|
stringstyle=\color{mymauve},
|
|
tabsize=2,
|
|
morekeywords={gpio, out, sudo, python, bc, cut, date, rev, vcgencmd},
|
|
}
|
|
|
|
\lstset{literate=
|
|
{á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
|
|
{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
|
|
{à}{{\`a}}1 {è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
|
|
{À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
|
|
{ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
|
|
{Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
|
|
{â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
|
|
{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
|
|
{œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
|
|
{ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
|
|
{€}{{\EUR}}1 {£}{{\pounds}}1 {}{}0,
|
|
numberbychapter=false,
|
|
}
|
|
\renewcommand{\lstlistingname}{Datei}
|
|
\renewcommand{\lstlistlistingname}{Dateiverzeichnis}
|
|
\newcommand{\code}[4]{
|
|
\lstinputlisting[language=#2,style=mystyle,firstline=#3,lastline=#4,caption=#1 (Zeile #3 bis #4),firstnumber=#3,label=file:#1-#3]{code/#1}
|
|
}
|
|
\newcommand{\codeline}[3]{
|
|
\lstinputlisting[language=#2,style=mystyle,firstline=#3,lastline=#3,caption=#1 (Zeile #3),firstnumber=#3,label=file:#1-#3]{code/#1}
|
|
}
|
|
\newcommand{\dateiklein}[1]{
|
|
\lstinputlisting[style=mystyle,caption=#1,label=file:#1,basicstyle=\scriptsize]{code/#1}
|
|
}
|
|
\newcommand{\datei}[1]{
|
|
\lstinputlisting[style=mystyle,caption=#1,label=file:#1]{code/#1}
|
|
}
|
|
\usepackage[binary-units = true]{siunitx}
|
|
\usepackage{tabulary}
|
|
\newcommand{\zB}{z.\,B.}
|
|
|
|
\usepackage[toc,nopostdot,nonumberlist]{glossaries}
|
|
\renewcommand*{\glossarypreamble}{%
|
|
\label{\currentglossary}%
|
|
}
|
|
\glsenablehyper
|
|
\input{glossar.tex}
|
|
\makeglossaries
|
|
|
|
\usepackage{chngcntr}
|
|
\counterwithout{footnote}{chapter} % Durchgehende Nummerierung der Fußnoten
|
|
|
|
\usepackage{pgf,tikz}
|
|
\usetikzlibrary{arrows}
|
|
\usepackage{pdfpages}
|
|
|
|
\usepackage[scale=2]{ccicons}
|
|
%\usepackage{pdflscape}
|
|
%\usepackage{blindtext}
|
|
%\usepackage{afterpage}
|
|
|
|
\hyphenpenalty=2000 % weniger Wort-Trennungen
|
|
\tolerance=1000
|
|
|
|
\clubpenalty=1000
|
|
\widowpenalty=1000
|
|
\displaywidowpenalty=1000
|
|
|
|
|
|
%% ========================================================================
|
|
%%%% MISC self-defined commands and settings
|
|
%% ========================================================================
|
|
|
|
%% ... it's OK to put here your own newcommand/newenvironment-definitions ...
|
|
|
|
\newcommand{\myLaT}{\LaTeX{}@TUG\xspace} %% LaTeX@TUG text "logo"
|
|
|
|
\hyphenation{ex-am-ple hy-phen-ate Gehäuse-temperatur Innen-temperatur Temperatur-sensoren Web-inter-face } %% in order to use German umlauts
|
|
%% here (Ver-\"of-fent-li-chung), you have to check for
|
|
%% activated \usepackage[T1]{fontenc} in the preamble
|
|
|
|
%% override default language of babel: (be sure to know, what you're
|
|
%% doing here)
|
|
%\selectlanguage{american}
|
|
%\selectlanguage{ngerman}
|
|
|
|
%% ========================================================================
|
|
%%%% Templates
|
|
%% ========================================================================
|
|
|
|
%% template for inserting figures:
|
|
% \myfig{}%% filename
|
|
% {}%% width/height
|
|
% {}%% caption
|
|
% {}%% optional (short) caption for list of figures
|
|
% {fig:}%% label
|
|
|
|
%% acronyms in small caps: \myacro{UNESCO}
|
|
|
|
|
|
\input{template/pdf_settings} %% should be *last* definitions in preamble!
|
|
%\usepackage{showlabels}
|
|
%\includeonly{software}
|
|
|
|
%% ========================================================================
|
|
%%%% begin{document}
|
|
%% ========================================================================
|
|
\begin{document}
|
|
|
|
\frontmatter %% KOMA: roman page numbers and such; only available in scrbook
|
|
|
|
\input{colophon} %% defines information about editor, LaTeX, font, ...
|
|
|
|
%% Choose your desired title page:
|
|
\input{\mytitlepage} %% include title page
|
|
|
|
|
|
%% include the abstract without chapter number but include it on table of contents:
|
|
\cleardoublepage
|
|
\addcontentsline{toc}{chapter}{Abstract}
|
|
\include{abstract} %% Abstract
|
|
|
|
|
|
\tableofcontents %% this produces the table of contents - you might have guessed :-)
|
|
|
|
|
|
%% if myaddlistoftodos is set to "true", the current list of open todos is added:
|
|
\ifthenelse{\boolean{myaddlistoftodos}}{
|
|
\newpage\listoftodos %% handy if you are using todonotes with \todo{}
|
|
}{} %% with todonotes-package option "disable" you can get rid of any todo in the output
|
|
|
|
\mainmatter %% KOMA: marks main part using arabic page numbers and such; only available in scrbook
|
|
\include{einleitung}
|
|
|
|
\include{hardware}
|
|
\include{software}
|
|
\include{auswertung}
|
|
\include{fazit}
|
|
\appendix %% closes main document, appendix follows until end; only available in book-classes
|
|
%\addpart*{Anhang} %% adding Appendix to tableofcontents
|
|
\include{weitere_informationen}
|
|
\include{praesentationen}
|
|
\printbibliography
|
|
|
|
\listoffigures
|
|
%\listoftables
|
|
\lstlistoflistings
|
|
\glsaddall
|
|
\setglossarystyle{altlisthypergroup} % alternativ listhypergroup (in der selben Zeile)
|
|
\printglossary[title=Glossar]
|
|
|
|
|
|
\newpage
|
|
\thispagestyle{empty}
|
|
|
|
\section*{Eidesstattliche Erklärung}
|
|
Ich, \myauthor, erkläre hiermit eidesstattlich, dass ich diese
|
|
vorwissenschaftliche Arbeit selbständig und ohne Hilfe Dritter
|
|
verfasst habe. Insbesondere versichere ich, dass ich alle wörtlichen
|
|
und sinngemäßen Übernahmen aus anderen Werken als Zitate kenntlich
|
|
gemacht und alle verwendeten Quellen angegeben habe.
|
|
|
|
\vfill
|
|
\newcommand{\mysignatureblock}[3]{%
|
|
\begin{tabular}{llp{2em}l}
|
|
#1 & \hspace{3cm} & & \hspace{4cm} \\\cline{2-2}\cline{4-4}
|
|
& & & \\[-3mm]
|
|
& {\footnotesize #2} & & {\footnotesize #3}
|
|
\end{tabular}
|
|
}
|
|
\mysignatureblock{\myhometown, am}{Datum}{Unterschrift}
|
|
\vfill
|
|
|
|
\section*{Zustimmung zur Aufstellung in der Schulbibliothek}
|
|
Ich, \myauthor, gebe mein Einverständnis, dass ein Exemplar meiner vorwissenschaftlichen Arbeit in der Schulbibliothek meiner Schule aufgestellt wird.
|
|
\vfill
|
|
\mysignatureblock{\myhometown, am}{Datum}{Unterschrift}
|
|
\vfill
|
|
|
|
\section*{Lizenz}
|
|
|
|
Diese VWA und alle enthaltenen Bilder stehen, wenn nicht anders angegeben (alle Bilder im Glosar sind \emph{Public Domain}), unter der \emph{Creative-Commons-Lizenz Namensnennung - Weitergabe unter gleichen Bedingungen 4.0 International}.
|
|
|
|
Um eine Kopie dieser Lizenz zu sehen, besuchen Sie \newline \href{creativecommons.org/licenses/by-sa/4.0/}{http://creativecommons.org/licenses/by-sa/4.0/}.
|
|
\begin{center}
|
|
\ccbysa
|
|
|
|
|
|
Diese Vorwissenschaftliche Arbeit kann unter\linebreak
|
|
\href{https://github.com/Findus23/VWA/blob/master/main.pdf?raw=true}{github.com/Findus23/VWA/blob/master/main.pdf?raw=true}\linebreak
|
|
als PDF heruntergeladen werden.
|
|
|
|
\end{center}
|
|
%%%% end{document}
|
|
\end{document}
|
|
%% vim:foldmethod=expr
|
|
%% vim:fde=getline(v\:lnum)=~'^%%%%\ .\\+'?'>1'\:'='
|
|
%%% Local Variables:
|
|
%%% mode: latex
|
|
%%% mode: auto-fill
|
|
%%% mode: flyspell
|
|
%%% eval: (ispell-change-dictionary "en_US")
|
|
%%% TeX-master: "main"
|
|
%%% End:
|