Verified Commit 454ee4f6 authored by Sebastian Endres's avatar Sebastian Endres
Browse files

Initial git commit - extract template from my thesis

Pipeline #79165 passed with stage
in 54 seconds
# Created by
# Edit at
### LaTeX ###
## Core latex/pdflatex auxiliary files:
## Intermediate documents:
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
## Bibliography auxiliary files (bibtex/biblatex/biber):
## Build tool auxiliary files:
## Build tool directories for auxiliary files
# latexrun
## Auxiliary and intermediate files from other packages:
# algorithms
# achemso
# amsthm
# beamer
# changes
# comment
# cprotect
# elsarticle (documentclass of Elsevier journals)
# endnotes
# fixme
# feynmf/feynmp
# glossaries
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplottex
# gregoriotex
# htlatex
# hyperref
# knitr
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
# listings
# luatexja-ruby
# makeidx
# minitoc
# minted
# morewrites
# newpax
# nomencl
# pax
# pdfpcnotes
# sagetex
# scrwfile
# sympy
# pdfcomment
# pythontex
# tcolorbox
# thmtools
# TikZ & PGF
# todonotes
# vhistory
# easy-todo
# xcolor
# xmpincl
# xindy
# xypic precompiled matrices and outlines
# endfloat
# Latexian
## Editors:
# WinEdt
# Texpad
# LyX
# Kile
# gummi
# KBibTeX
# TeXnicCenter
# auto folder when using emacs and auctex
# expex forward references with \gathertags
# standalone packages
# Makeindex log files
# xwatermark package
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
### LaTeX Patch ###
# LIPIcs / OASIcs
# glossaries
# End of
# image: aergus/latex
image: laurenss/texlive-full:rolling
- apt-get update
- apt-get install librsvg2-bin
- make -j || true
- make -j
- thesis.pdf
expire_in: 4 days
- make -j || true
- make -j
- thesis.pdf
expire_in: 2 years
- tags
%! TEX root = thesis.tex
about 1/2 page: \\
(1) Motivation (Why do we care?) \\
(2) Problem statement (What problem are we trying to solve?) \\
(3) Approach (How did we go about it) \\
(4) Results (What's the answer?) \\
(5) Conclusion (What are the implications of the answer?)
Gleicher Text in Deutsch
%! TEX root = thesis.tex
general motivation for your work, context and goals: 1-2 pages
\item \textbf{Context:} make sure to link where your work fits in
\item \textbf{Problem:} gap in knowledge, too expensive, too slow, a deficiency, superseded technology
\item \textbf{Strategy:} the way you will address the problem
\section{Sample Section}%
The following samples explain how to insert cross-references, figures and tables, how to set math, algorithms and program code, how to add references, and how to use acronyms.
\subsection{Cross References}%
Use the \verb|\label| and \verb|\cref| commands for cross references, e.g.\ to \cref{sec:cross-ref}.
\Cref{fig:setup0} shows the distribution of the nodes in the sample setup at time $t=0$, as well as the initial coverage with a sensing radius of \SI{30}{\metre} and the communication graph for a communication range of \SI{50}{\metre}.
\caption{Coverage and connectivity for a sample replication at time $t=0$}%
\Crefrange{fig:setup1}{fig:setup2} show the distribution of the nodes in the sample setup at time $t=0$, as well as the initial coverage with a sensing radius of \SI{30}{\metre} and the communication graph for a communication range of \SI{50}{\metre}.
\caption{Subfigures showing coverage and connectivity for a sample replication at time $t=0$}%
Short tables, e.g., \cref{tab:shorttable} are straighforward to define.
left aligned & same here & right aligned \\
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9 \\
\caption{Short table}%
Multi-line cells can be set as shown in \cref{tab:SensorNetworkApplications}.
Class & application examples & lifetime aspects \\
Critical, coverage &
Forest fire detection, flood detection, nuclear/chemical/biological attack detection, battlefield surveillance, intrusion detection &
$c_{ca}$/$c_{ct}$/$c_{cb}$, $c_{ln}$, $c_{la}$, $c_{lo}$ \\
Critical, no coverage &
Monitoring human physiological data, military monitoring of friendly forces, machine monitoring &
$c_{cc}$, $c_{ln}$, $c_{la}$, $c_{lo}$ \\
Noncritical, coverage &
Agriculture, smart buildings, habitat monitoring (sensors monitor the inhabitants in a region) &
$c_{ac}$/$c_{tc}$/$c_{bc}$, $c_{cc}$, $c_{sd}$ \\
Noncritical, no coverage &
Home automation, habitat monitoring (sensors are attached to animals and monitor their health and social contacts) &
$c_{cc}$, $c_{sd}$ \\
\caption{Sensor network applications}%
Simple inlined equations: $\zeta(t) = \min( \zeta_{**}(t))$.
The same in a numbered equation, i.e.\ \cref{eq:zeta}, which states
\zeta(t) =
Equations covering multiple lines should be aligned.
Note that the numbering is added automatically, independent of whether the equation is actually referenced or not, as in
sd_{max} & =
(t_{i+1} - t_i)
: \zeta(t_i) < 1, i \in [0, |T|-1]
, \\
\psi_{sd}(t) & =
\dfrac{\Delta t_{sd}}{sd_{max}}
& \text{if $sd_{max} > 0$}, \\
& \text{if $sd_{max} = 0$},
\zeta_{sd}(t) & =
\psi_{sd} - cl_{sd}
c_{sd} - cl_{sd}
Units should be set using the \verb|\SI| command: the measurements show that the car was accelerating at \SI{5}{\metre\per\second\squared} until it reached its final speed of \SI{100}{\kilo\metre\per\hour}.
Longer unitless numbers or ranges can be typeset using the \verb|\num| and \verb|\numrange| commands, respectively: The number \num{12345678} lies in the range of \numrange{10000000}{20000000}.
% TODO broken in recent siunitx package:
% \Cref{tab:si-in-tables} gives an example of how to typeset numbers and units in tables.
% \begin{table}
% \centering
% \begin{tabular}{l>{\raggedright}p{4cm}S[table-text-alignment=left,table-format=1.4e-1]s}
% \toprule
% \multicolumn{2}{l}{factor} & \multicolumn{1}{l}{value} & \multicolumn{1}{c}{unit} \\
% \midrule
% $M$ & vehicle mass & 1.3250e+3 & \kilo\gram \\
% $g$ & gravitational constant & 9.81 & \metre\per\second\squared \\
% $\vartheta$ & road grade & 0 & \degree \\
% $\alpha$ & & 1.1100 & \gram\per\second \\
% $\delta$ & & 1.9800e-6 & \gram\per\meter\cubed\second\squared \\
% \bottomrule
% \end{tabular}
% \caption{EMIT factors for a category 9 vehicle}%
% \label{tab:si-in-tables}
% \end{table}
Based on the periodically transmitted \texttt{hello} messages, the joining node gets information about its physical neighbors and their adjacent nodes.
\Cref{alg:H_hello} depicts the handling of \texttt{hello} messages.
\REQUIRE Locally stored state of all neighbors in set $N$
\ENSURE Maintain neighbor set $N$ and set virtual address
\STATE Receive neighbor information from node $N_i$
\IF {$N_i \notin N$}
\STATE $N \gets N_i$
\STATE Update $N_i \in N$
\IF {$P==-1$ AND (Time() $-$ OldTime) $> T_{ps}$}
\STATE OldTime $\gets$ Time()
\STATE SetMyPosition()
\caption{Handle \texttt{hello} messages}%
\subsection{Program Code}%
Program code should be omitted, but if absolutely necessary, it should be set as seen in \cref{lst:code}.
\begin{lstlisting}[style=txt,caption=Sample application,label=lst:code]{}
APPLICATION("printU", 192, arg)
// Set Priority
// main() loop
for (;;) {
To further evaluate the applicability of our definition, we analyzed sensor network applications as surveyed in~\cite{akyildiz2002survey,arampatzis2005survey,khemapach2005survey}.
Concerning the importance of different lifetime criteria, most of the application scenarios can be grouped into two main classes with two sub-classes each~\cite{dietrich2009lifetime}.
Acronyms shoud be explained when first used.
\LaTeX helps, e.g.\ \acp{MANET} have been frequently used as examples for the development of \ac{WSN} applications.
\subsection{TODOs and FIXMEs}%
You can use the the \verb|\TODO| command to add short ``sticky notes'' to your document.
\TODO{This is what a TODO looks like}
This will also trigger generation of a list-of-TODOs at the end of the document.
The same goes for the \verb|\FIXME|\FIXME{This is what a FIXME looks like} command.
%! TEX root = thesis.tex
Fundamentals / environment and related work: 1/3
\item comment on employed hardware and software
\item describe methods and techniques that build the basis of your work
\item review related work(!)
%! TEX root = thesis.tex
\chapter{Related Work}%
Developed architecture / system design / implementation: 1/3
\item start with a theoretical approach
\item describe the developed system/algorithm/method from a high-level point of view
\item go ahead in presenting your developments in more detail
%! TEX root = thesis.tex
Measurement results / analysis / discussion: 1/3
\item whatever you have done, you must comment it, compare it to other systems, evaluate it
\item usually, adequate graphs help to show the benefits of your approach
\item caution: each result/graph must be discussed! what's the reason for this peak or why have you ovserved this effect
%! TEX root = thesis.tex
Conclusion: 1 page