Skip to content
Snippets Groups Projects
Commit f191b17d authored by Carl Mai's avatar Carl Mai
Browse files

initial commit

parents
Branches
Tags v0.0
No related merge requests found
image: aergus/latex
variables:
FILENAME: thesis
FILEDIR: .
DIFFCMD: bash git-latexdiff --exclude-textcmd="section,subsection" -b --main $FILENAME.tex --latexmk
stages:
- build
- diff
build:
stage: build
tags:
- dockered
artifacts:
paths:
- $FILEDIR/$FILENAME.pdf
- $FILEDIR/build_$FILENAME.log
script:
- cd "$FILEDIR"
- latexmk -pdf "$FILENAME.tex" 2>&1 | tee build_"$FILENAME".log
- grep -v "LaTeX Warning: There were undefined references." build_"$FILENAME".log
diff:
stage: diff
tags:
- dockered
artifacts:
paths:
- $FILEDIR/difftag_$FILENAME.pdf
- $FILEDIR/diffcommit_$FILENAME.pdf
script:
- cd $FILEDIR
- LAST_TAG=$(git describe --abbrev=0 --tags HEAD~1)
- wget https://gitlab.com/git-latexdiff/git-latexdiff/raw/ef53cddc761ce2d278ba5016d17828cf63e30af5/git-latexdiff
- if [ "$LAST_TAG" ] ; then
- $DIFFCMD -o "difftag_$FILENAME.pdf" "$LAST_TAG"
- fi
- if [ "$CI_BEFORE_SHA" ] ; then
- $DIFFCMD -o "diffcommit_$FILENAME.pdf" "$CI_BEFORE_SHA"
- fi
allow_failure: true
[![pipeline status](https://git-st.inf.tu-dresden.de/%{project_path}/badges/%{default_branch}/pipeline.svg)](https://git-st.inf.tu-dresden.de/%{project_path}/pipelines)
* [Latest PDF online](https://git-st.inf.tu-dresden.de/%{project_path}/-/jobs/artifacts/master/file/thesis.pdf?job=build)
* [Build Log](https://git-st.inf.tu-dresden.de/%{project_path}/-/jobs/artifacts/master/file/build_thesis.log?job=build)
* [diff to last tag](https://git-st.inf.tu-dresden.de/%{project_path}/-/jobs/artifacts/master/file/difftag_thesis.pdf?job=diff)
* [diff to last commit](https://git-st.inf.tu-dresden.de/%{project_path}/-/jobs/artifacts/master/file/diffcommit_thesis.pdf?job=diff)
@book{haddadin2013towards,
title={Towards safe robots: approaching Asimov’s 1st law},
author={Haddadin, Sami},
volume={90},
year={2013},
publisher={Springer}
}
\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
\documentclass[ngerman,BCOR=8mm,cdfont=false,cdfont=nodin]{tudscrreprt}
\usepackage[T1]{fontenc}
% opensans - see here: https://github.com/tud-cd/tudscr/issues/28
\usepackage[default]{opensans}
\usepackage{babel}
\usepackage{isodate}
\usepackage[hidelinks]{hyperref} % makes all links clickable but hides ugly boxes
\usepackage[capitalise,nameinlink,noabbrev]{cleveref} % automatically inserts Fig. X in the text with \cref{..}
%\usepackage{cleveref}
\renewcommand{\chapterautorefname}{Kapitel}
\renewcommand{\sectionautorefname}{Abschnitt}
\renewcommand{\subsectionautorefname}{Abschnitt}
\renewcommand{\figureautorefname}{Abbildung}
\newcommand{\algorithmautorefname}{Algorithmus}
\usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
\begin{document}
\faculty{Fakultät Informatik}
\institute{Institut für Software- und Multimediatechnik}
\chair{Professur für Softwaretechnologie}
\date{18.02.2015}
\title{
%
Entwicklung eines optimalen Verfahrens zur Eroberung des
Geldspeichers in Entenhausen
}
\subject{bachelor}
\graduation[B.Sc.]{Bachelor of Science}
\author{
%
Mickey Mouse
%
\matriculationnumber{12345678}
%
\dateofbirth{2.1.1990}
%
\placeofbirth{Dresden}
}
\matriculationyear{2010}
\supervisor{%
Dipl. Inf. ABC XYZ%
\and Dr. Thomas Kühn%
\and Dr. Sebastian Götz}
\professor{Prof. Dr. rer. nat habil. Uwe Aßmann}
\maketitle
\tableofcontents
\chapter{Einleitung}\label{ch:introduction}
Thematische Einführung, Motivation
\paragraph{Ziel der Arbeit:} Konzept entwickeln, welches Zonenbasierte MRI mit Kraftsteuerung vereinigt.
Aufbau der Thesis vorstellen
In~\Cref{ch:conclusion}, kommt die Zusammenfassung.
\chapter{Grundlagen} \label{ch:basics}
Abcdefg.. \cite{haddadin2013towards}
\subsection{Was ist ABC?}
Abcdefg..
\chapter{Problemanalyse und Modellierung}
Abcdefg..
\todo[inline]{Write some more}
\chapter{Erprobung der Anwendungsinstallation} \label{ch:evaluation}
Abcdefg..
\chapter{Zusammenfassung} \label{ch:conclusion}
Abcdefg..
\bibliography{bibliography}
\bibliographystyle{plain}
\confirmation
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment