From a224c7ba845fba71df1c51f5f98e949f41419130 Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Fri, 17 Jan 2020 09:39:01 +0100
Subject: [PATCH] update the template to work with the latest texlive/tudscr

---
 thesis.tex | 53 ++++++++++++++++++++++++++++-------------------------
 1 file changed, 28 insertions(+), 25 deletions(-)

diff --git a/thesis.tex b/thesis.tex
index 0091933..eb9be42 100644
--- a/thesis.tex
+++ b/thesis.tex
@@ -1,10 +1,11 @@
+% the following command is only required if the thesis is written in german
 \RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
-\documentclass[ngerman,BCOR=1.5cm,cdfont=false,cdfont=nodin,twoside]{tudscrreprt}
+
+% change to english for english theses
+\documentclass[ngerman,BCOR=1.5cm,twoside]{tudscrreprt}
 
 \usepackage[T1]{fontenc}
 \usepackage[utf8]{inputenc}
-% opensans - see here: https://github.com/tud-cd/tudscr/issues/28
-\usepackage[default]{opensans}
 \usepackage[ngerman]{babel}
 \usepackage{isodate}
 
@@ -23,12 +24,6 @@
 
 \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}
 
@@ -45,8 +40,7 @@
 
 \usepackage{blindtext}
 
-\usepackage{scrhack}
-\usepackage{tudscrsupervisor}
+%\usepackage{tudscrsupervisor} % if you want to copy the sources of the task description into the thesis
 
 \usepackage{csquotes}
 
@@ -93,22 +87,31 @@
     Entwicklung eines optimalen Verfahrens zur Eroberung des
     Geldspeichers in Entenhausen
 }
-\thesis{bachelor}
-\graduation[B.Sc.]{Bachelor of Science}
-\author{
-    %
-    Mickey Mouse
-    %
-    \matriculationnumber{12345678}
-    %
-    \dateofbirth{2.1.1990}
-    %
-    \placeofbirth{Dresden}
-}
-\matriculationyear{2010}
+
+%% for a bachelor thesis
+%\thesis{bachelor}
+%\graduation[B.Sc.]{Bachelor of Science}
+
+% for a master thesis
+\thesis{master}
+\graduation[M.Sc.]{Master of Science}
+
+% for a diploma thesis
+%\thesis{diploma}
+%\graduation[Dipl.Inf.]{Diplom-Informatiker}
+
+\author{Mickey Mouse}
+\emailaddress[]{mickey.mouse@tu-dresden.de}
+\matriculationnumber{12345678}
+\matriculationyear{2016}
+\dateofbirth{1.1.1990}
+\placeofbirth{Dresden}
+%\discipline{Distributed Systems Engineering}
+
+\course{Distributed Systems Engineering}
+
 \supervisor{%
     Dipl.-Inf. ABC XYZ%
-    \and Dr. Thomas Kühn%
     \and Dr. Sebastian Götz%
 }
 \professor{Prof. Dr. rer. nat habil. Uwe Aßmann}
-- 
GitLab