Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vorlage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
vorlage
Commits
c2969936
Commit
c2969936
authored
5 years ago
by
Jannik Dunkelau
Browse files
Options
Downloads
Patches
Plain Diff
Clean up thesis.tex and move most clutter into hhuthesis.cls
parent
f5892788
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
hhuthesis.cls
+66
-14
66 additions, 14 deletions
hhuthesis.cls
thesis.tex
+19
-82
19 additions, 82 deletions
thesis.tex
with
85 additions
and
96 deletions
hhuthesis.cls
+
66
−
14
View file @
c2969936
\NeedsTeXFormat
{
LaTeX2e
}
\ProvidesClass
{
hhuthesis
}
[2019/09/04 HHU Thesis LaTeX document class v1.
1
.0]
\ProvidesClass
{
hhuthesis
}
[2019/09/04 HHU Thesis LaTeX document class v1.
2
.0]
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
article
}}
% Options fallback.
\ProcessOptions\relax
\LoadClass
[titlepage]
{
article
}
%%% Necessary packages
\RequirePackage
[nottoc]
{
tocbibind
}
\RequirePackage
{
iflang
}
% Needed for language dependend distinctions
\LoadClass
[11pt,a4paper,twoside,titlepage]
{
article
}
%%% Define user-settings commands
...
...
@@ -29,6 +23,70 @@
\newcommand
{
\gratuationtype
}
[1]
{
\renewcommand
{
\@
degree
}{
#1
}}
\newcommand
{
\@
degree
}{
Bachelor
}
%% Allows switching between colour and black/white printing
\newif\ifprintblackwhite
\printblackwhitefalse
\newcommand
{
\blackwhiteprint
}{
\printblackwhitetrue
\pgfplotsset
{
cycle list name=hhubwcycle
}
}
%%% Necessary packages
%% Allows direct insertion of umlauts (ä, ö, ü instead of \"a, \"o, \"u)
\RequirePackage
[utf8]
{
inputenc
}
\RequirePackage
[T1]
{
fontenc
}
\RequirePackage
[titletoc,page]
{
appendix
}
\RequirePackage
[nottoc]
{
tocbibind
}
\RequirePackage
{
iflang
}
% Needed for language dependend distinctions
\RequirePackage
{
xcolor
}
%% HHU Corporate Design colours
\definecolor
{
hhublue
}{
HTML
}{
006ab3
}
% Blau
\definecolor
{
hhudarkblue
}{
HTML
}{
003964
}
% Dunkelblau
\definecolor
{
hhuiceblue
}{
HTML
}{
b5cbd6
}
% Eisblau
\definecolor
{
hhucyan
}{
HTML
}{
57bab1
}
% Türkis
\definecolor
{
hhugreen
}{
HTML
}{
8cb110
}
% Grün
\definecolor
{
hhuorange
}{
HTML
}{
ee7f00
}
% Orange
\definecolor
{
hhured
}{
HTML
}{
be0a26
}
% Rot
\RequirePackage
{
tikz
}
\RequirePackage
{
pgf,pgfplots
}
%% Setup of colour cylce lists for pgfplots
\pgfplotscreateplotcyclelist
{
hhucolorcycle
}{
solid,hhublue,every mark/.append style=
{
solid
}
,mark=*
\\
dashed,hhured,every mark/.append style=
{
solid
}
,mark=square*
\\
dashdotted,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond*
\\
dotted,hhuorange,every mark/.append style=
{
solid
}
,mark=triangle*
\\
densely dashed,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
loosely dashed,hhublue,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dotted,hhured,every mark/.append style=
{
solid
}
,mark=square
\\
densely dashed,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond
\\
loosely dashdotted,hhuorange,every mark/.append style=
{
solid
}
,mark=triangle
\\
densely dotted,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
}
\pgfplotscreateplotcyclelist
{
hhubwcycle
}{
% Für Schwarz/Weiß
solid,every mark/.append style=
{
solid,fill=gray
}
,mark=*
\\
dashed,every mark/.append style=
{
solid,fill=gray
}
,mark=square*
\\
dashdotted,every mark/.append style=
{
solid,fill=gray
}
,mark=diamond*
\\
dotted,every mark/.append style=
{
solid,fill=gray
}
,mark=triangle*
\\
densely dashed,every mark/.append style=
{
solid
}
,mark=star
\\
loosely dashed,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dotted,every mark/.append style=
{
solid
}
,mark=square
\\
densely dashed,every mark/.append style=
{
solid
}
,mark=diamond
\\
loosely dashdotted,every mark/.append style=
{
solid
}
,mark=triangle
\\
densely dotted,every mark/.append style=
{
solid
}
,mark=star
\\
}
%% Default colour cycle list
%% The colour cycle lists are further defined below.
%% Note that calling \blackwhiteprint switches this to hhubwcycle.
\pgfplotsset
{
cycle list name=hhucolorcycle
}
%%% Acknowledgement settings
...
...
@@ -37,12 +95,6 @@
\newcommand
{
\showacknowledgements
}{
\acknowledgementstrue
}
%%% Logo
\newif\ifprintblackwhite
\printblackwhitefalse
% Set logo to RGB colour by default
%%% Formatting and Typesetting
%% Corporate Design says to use Arial, but TeXLive only provides helvet
...
...
This diff is collapsed.
Click to expand it.
thesis.tex
+
19
−
82
View file @
c2969936
...
...
@@ -4,14 +4,7 @@
% Vorlage für Bachelor- und Masterarbeiten %
% Erstellt: 2019-09-03 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass
[11pt,a4paper,twoside]
{
hhuthesis
}
%% Ermöglicht direkte Eingabe von Umlauten (ä, ö, ü statt \"a, \"o, \"u)
\usepackage
[utf8]
{
inputenc
}
\usepackage
[T1]
{
fontenc
}
%% Erlaub die Nutzung der appendices-Umgebung für die Erstellung eines Anhangs
\usepackage
[titletoc,page]
{
appendix
}
\documentclass
{
hhuthesis
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -20,7 +13,8 @@
%% Im Folgenden können Sie Ihre Arbeit personalisieren. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Spracheinstellung: Kommentieren Sie die entsprechende Zeile ein bzw. aus.
%% Spracheinstellung
%% Kommentieren Sie die entsprechende Zeile ein bzw. aus.
%% Wir empfehlen jedem sich an einer englischen Arbeit zu versuchen.
% \usepackage[ngerman,english]{babel} % English
\usepackage
[english,ngerman]
{
babel
}
% Deutsch
...
...
@@ -41,14 +35,13 @@
%% Erst- und Zweitgutachter
\firstexaminer
{
Prof.~Dr.~Michael~Leuschel
}
\secondexaminer
{
Prof.~Dr.~Michael~Leuschel
}
\secondexaminer
{
tbd
}
%% Farb- oder Schwarzweißdruck
% Benutzen Sie das Kommando \
print
blackwhite
true
,
% Benutzen Sie das Kommando \blackwhite
print
,
% wenn sie in Schwarz/Weiß drucken möchten.
% Im Farbdruck ist jede farbige Seite idR teurer.
\printblackwhitefalse
% \printblackwhitetrue % Kommentarzeichen entfernen für Schwarz/Weiß-Druck
% \blackwhiteprint % Kommentarzeichen entfernen für Schwarz/Weiß-Druck
%% Danksagungen:
% Falls Sie Danksagungen in Ihrer Arbeit aussprechen möchten,
...
...
@@ -66,7 +59,10 @@
%% Diese Vorlage kommt bereits mit einigen nützlichen inkludierten Paketen. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage
{
todonotes
}
% Macht den \todo-Befehl verfügbar.
%% Macht den \todo-Befehl verfügbar.
%% Hiermit können Sie Abschnitte annotieren,
%% welche weiterer Bearbeitung bedürfen.
\usepackage
{
todonotes
}
%% Zeige Zeilennummern in der Arbeit an.
%% Der \linenumbers Befehl muss herzu aufgerufen werden.
...
...
@@ -74,20 +70,22 @@
\usepackage
{
lineno
}
% \linenumbers % <- Kommentar entfernen!
%% Häufig benutzte mathematische Packages.
\usepackage
{
amsfonts
}
\usepackage
{
amsmath
}
\usepackage
{
amssymb
}
%% Für Code und Algorithmen.
\usepackage
{
listings
}
\usepackage
{
algorithmicx
}
\usepackage
{
listings
}
% Einbindung von Code
\usepackage
{
algorithmicx
}
% Angabe von Algorithmen in Pseudocode
\usepackage
{
siunitx
}
% Erlaubt \num Befehl zum einfacheren Formatieren von Zahlen.
\usepackage
{
enumitem
}
% Leichter konfigurierbare enumerate-Umgebungen.
\usepackage
{
subcaption
}
% Unterteilung von Figures in Subfigures.
\usepackage
{
hyperref
}
% Klickbare Referenzen (z.B. im Inhaltsverzeichnis)
\usepackage
{
url
}
% \url Kommando für Darstellung von Links
\usepackage
{
csquotes
}
% Improved quoting.
\usepackage
{
xspace
}
% Nicht terminierte Kommandos essen keinen Whitespace mehr.
%% Tabellen
\usepackage
{
tabularx
}
% Fügt tabularx Umgebung hinzu -> Mehr Kontrolle über Tabellen.
...
...
@@ -96,80 +94,18 @@
\usepackage
{
multicol
}
\usepackage
{
longtable
}
% Große Tabellen gehen über mehrere Seiten.
\usepackage
{
hyperref
}
% Klickbare Referenzen (z.B. im Inhaltsverzeichnis)
\usepackage
{
url
}
%% Intelligenteres Referenzieren mittels \cref.
%% \languagename um dynamisch zwischen ngerman oder english zu wechseln.
\usepackage
[\languagename,capitalize]
{
cleveref
}
\usepackage
{
csquotes
}
% Improved quoting.
\usepackage
{
xspace
}
% Nicht terminierte Kommandos essen keinen Whitespace mehr.
\usepackage
{
xcolor
}
% Größere Farbauswahl.
%% Farben der HHU gemäß der Corporate Design Guidelines
\definecolor
{
hhublue
}{
HTML
}{
006ab3
}
% Blau
\definecolor
{
hhudarkblue
}{
HTML
}{
003964
}
% Dunkelblau
\definecolor
{
hhuiceblue
}{
HTML
}{
b5cbd6
}
% Eisblau
\definecolor
{
hhucyan
}{
HTML
}{
57bab1
}
% Türkis
\definecolor
{
hhugreen
}{
HTML
}{
8cb110
}
% Grün
\definecolor
{
hhuorange
}{
HTML
}{
ee7f00
}
% Orange
\definecolor
{
hhured
}{
HTML
}{
be0a26
}
% Rot
%% Für wunderschöne Figures und Plots
\usepackage
{
tikz
}
\usepackage
{
pgf,pgfplots
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% (Ende) LaTeX Packages in Nutzung %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Im Regelfall ist im folgenden Dokument nichts mehr zu ändern. %
% %
% Die Stelle, an welcher der Inhalt geladen wird, %
% ist dennoch weiter unten markiert. %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Setup of colour cylce lists for pgfplots
\pgfplotscreateplotcyclelist
{
hhucolorcycle
}{
solid,hhublue,every mark/.append style=
{
solid
}
,mark=*
\\
dashed,hhured,every mark/.append style=
{
solid
}
,mark=square*
\\
dashdotted,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond*
\\
dotted,hhuorange,every mark/.append style=
{
solid
}
,mark=triangle*
\\
densely dashed,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
loosely dashed,hhublue,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dotted,hhured,every mark/.append style=
{
solid
}
,mark=square
\\
densely dashed,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond
\\
loosely dashdotted,hhuorange,every mark/.append style=
{
solid
}
,mark=triangle
\\
densely dotted,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
}
\pgfplotscreateplotcyclelist
{
hhubwcycle
}{
% Für Schwarz/Weiß
solid,every mark/.append style=
{
solid,fill=gray
}
,mark=*
\\
dashed,every mark/.append style=
{
solid,fill=gray
}
,mark=square*
\\
dashdotted,every mark/.append style=
{
solid,fill=gray
}
,mark=diamond*
\\
dotted,every mark/.append style=
{
solid,fill=gray
}
,mark=triangle*
\\
densely dashed,every mark/.append style=
{
solid
}
,mark=star
\\
loosely dashed,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dotted,every mark/.append style=
{
solid
}
,mark=square
\\
densely dashed,every mark/.append style=
{
solid
}
,mark=diamond
\\
loosely dashdotted,every mark/.append style=
{
solid
}
,mark=triangle
\\
densely dotted,every mark/.append style=
{
solid
}
,mark=star
\\
}
\ifprintblackwhite
\pgfplotsset
{
cycle list name=hhubwcycle
}
\else
\pgfplotsset
{
cycle list name=hhucolorcycle
}
\fi
\begin{document}
\frontmatter
%% Set up title page, declaration of authorship, abstract, acknowledgements
\frontmatter
\makefrontmatter
\tableofcontents
...
...
@@ -211,6 +147,7 @@
\clearpage
\bibliography
{
references
}
%% Depending on Language, use german alphadin or original alpha
\iflanguage
{
ngerman
}{
\bibliographystyle
{
alphadin
}
}{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment