summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty282
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty50
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls82
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty146
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty61
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty203
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty20
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls77
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls614
9 files changed, 1535 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty
new file mode 100644
index 00000000000..41af43020dd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgb.sty
@@ -0,0 +1,282 @@
+%% hgb.sty
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+\NeedsTeXFormat{LaTeX2e}
+\newcommand{\hgbDate}{2017/10/28} % version string
+\ProvidesPackage{hgb}[\hgbDate]
+
+% Create a default/fallback main language so it is set no matter what
+\providecommand{\hgb@MainLanguage}{german}
+
+% Then pass the language options (german/ngerman/english) from the class file
+\DeclareOption{english}{\renewcommand{\hgb@MainLanguage}{english}}
+\DeclareOption{german}{\renewcommand{\hgb@MainLanguage}{german}}
+\DeclareOption{ngerman}{\renewcommand{\hgb@MainLanguage}{german}}
+\ProcessOptions*
+
+
+%% Required Packages ----------------------------------------------------------
+
+\RequirePackage{lmodern} % use Latin Modern Fonts
+\RequirePackage{cmap} % make generated PDF files "searchable and copyable"
+\RequirePackage[T1]{fontenc} % T1 font encoding for improved hyphenation
+
+\RequirePackage{xifthen}
+
+% Set main language by selectively loading babel with the 'main' parameter (babel 3.9+)
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}%
+ {\RequirePackage[english,main=ngerman]{babel}}{}
+\ifthenelse{\equal{\hgb@MainLanguage}{english}}%
+ {\RequirePackage[main=english,ngerman]{babel}}{}
+
+
+\RequirePackage{datetime}
+\RequirePackage{upquote} % uses "right" quotes in the verbatim environment
+\RequirePackage{eurosym} % provides \euro - conflict with marvosym on \EUR!
+
+\RequirePackage{graphicx}
+\RequirePackage[percent]{overpic} % to allow text/graphics overlays on pictures
+\RequirePackage{pict2e} % extends the LaTeX 'picture' environment
+
+\RequirePackage{xcolor}
+\newcommand{\@MissingArg}[1]{\textcolor{red}{#1}}
+
+\RequirePackage[T1,hyphens,obeyspaces,spaces,lowtilde]{url}
+\urlstyle{sf}
+
+\RequirePackage{verbatim}
+\RequirePackage{moreverb}
+\def\verbatimtabsize{2\relax}
+
+\RequirePackage{ifpdf}
+\ifpdf % LaTeX is in native PDF mode (pdflatex)
+ \RequirePackage{epstopdf} % converting EPS to PDF for pdflatex
+% \pdfcompresslevel=0 % 0 = no compression, 9 = max. compression
+% \pdfimageresolution=300
+\else % LaTeX is in emulation mode (DVI-PS-PDF)
+ \RequirePackage[hyphenbreaks]{breakurl} % allows line breaks in URLs without pdflatex (DIV, PS, PDF)
+\fi
+
+
+%% hyperref Setup -------------------------------------------------------------
+
+\RequirePackage[unicode]{hyperref} % utf8-change
+\hypersetup{
+ linktocpage = true, % make page number, not text, be link on TOC, LOF and LOT
+ colorlinks = false, % don't uses colored links (because this shows up in printing!)
+ pdfborder = {0 0 0.5}, % use a thinner (0.5pt) border around all PDF links
+ allbordercolors = {0 0 0.8}, % dark blue border for all types of links
+ breaklinks = true % allow links to break over lines by making links over multiple lines
+} %see https://www.tug.org/applications/hyperref/manual.html
+
+% Redefine certain commands for bookmarks and meta-data
+\let\oldand\and
+\pdfstringdefDisableCommands{%
+ \def\\{}%
+ \def\url#1{<#1>}%
+ \def\and{\texorpdfstring{\oldand}{, }}%
+}
+
+\RequirePackage[figure,table,table*]{hypcap} % do not redefine figure* for use in article (without captions)
+
+%% Language environments ------------------------------------------------------
+
+% Switch from German to English (babel)
+\newenvironment{english}%
+{\begin{otherlanguage}{english}}%
+{\end{otherlanguage}}
+
+% Switch from English to German (babel)
+\newenvironment{german}%
+{\begin{otherlanguage}{ngerman}}%
+{\end{otherlanguage}}
+
+
+%% Miscellaneous Utility Commands ---------------------------------------------
+
+\newcommand\trennstrich{%
+ \nopagebreak[4]
+ \vskip 1.5ex %
+% \nopagebreak[4]
+ \noindent\makebox[\textwidth]{\rule{4cm}{0.4pt}}
+ \vskip 2.5ex}
+
+\newcommand{\SuperPar}[0]{%
+\PackageWarning{hgb}{Due to frequent misuse, macro 'SuperPar' has been removed.}
+}
+
+% Test box for print proofing
+\newcommand{\calibrationbox}[2]{% parameters: #1=width, #2=height
+ \setlength{\unitlength}{1.0mm}%
+ \begin{picture}(#1,#2)%
+ \linethickness{0.05mm}%
+ \put(0,0){\dashbox{0.2}(#1,#2)%
+ {\parbox{#1mm}{%
+ \centering\footnotesize
+ width $ = #1 \textrm{mm}$\\
+ height $ = #2 \textrm{mm}$
+ }}}\end{picture}
+}
+
+% Test box for print proofing (obsolete - use \calibrationbox)
+\newcommand{\Messbox}[2]{
+ \calibrationbox{#1}{#2}
+}
+
+\newcommand{\ShowParameter}[1]{\the#1\showthe#1} % to display TeX parameters
+%Beispiel: clubpenalty = \ShowParameter{\clubpenalty}
+
+
+%% Layout Settings ------------------------------------------------------------
+
+\frenchspacing % creates normal spacing between sentences
+\setlength{\parskip}{0pt plus 0.1pt}
+\raggedbottom %\flushbottom
+
+\RequirePackage{float}
+\floatstyle{plain}
+
+% Captions with font size "small" and additional margin spacing
+\RequirePackage[small,bf]{caption}
+\setlength{\captionmargin}{5mm}
+\setlength{\abovecaptionskip}{10pt}
+\setlength{\belowcaptionskip}{10pt}
+
+% Make float placement easier
+\renewcommand{\floatpagefraction}{.9} % previously: .5
+\renewcommand{\textfraction}{.1} % previously: .2
+\renewcommand{\topfraction}{.9} % previously: .7
+\renewcommand{\bottomfraction}{.7} % previously: .3
+\setcounter{topnumber}{3} % previously: 2
+\setcounter{bottomnumber}{2} % previously: 1
+\setcounter{totalnumber}{5} % previously: 3
+
+\RequirePackage{enumitem} % fix excessive vertical spacing in lists
+\setlist{%
+ partopsep = .0ex plus .1ex,
+ topsep = .6ex plus .3ex,
+ itemsep = .0ex plus .1ex,
+ parsep = .4ex plus .2ex
+}
+
+\newenvironment{nowidows}%
+ {\clubpenalty=10000%
+ \widowpenalty=10000%
+ \displaywidowpenalty=10000}%
+ {}
+%Example:
+% \begin{nowidows}
+% Any text where no widows are allowed
+% \end{nowidows}
+
+
+%% Definitions for Algorithms -------------------------------------------------
+
+% 'algorithm' creates a floating environment for algorithms (\begin{algorithm}...)
+\@ifundefined{chapter}%
+ {\RequirePackage[ruled]{algorithm}}%
+ {\RequirePackage[ruled,chapter]{algorithm}}
+
+\DeclareCaptionStyle{ruled}{labelfont=bf,labelsep=colon}
+
+% 'algorithmicx' returns the inner content of algorithms (\begin{algorithmic}[1]...)
+\RequirePackage{algorithmicx}
+\RequirePackage{algpseudocode}
+\algsetlanguage{pseudocode}
+\renewcommand{\algorithmicprocedure}{} % use no 'Procedure' keyword
+
+
+%% Program and Algorithm Environments ----------------------------------------
+
+% Define the program float environment:
+\@ifundefined{chapter}%
+ {\newfloat{program}{tbp}{lop}}%
+ {\newfloat{program}{tbp}{lop}[chapter]}
+
+\floatstyle{plain}
+\restylefloat*{program}
+
+\ifthenelse{\equal{\bbl@main@language}{german} \or \equal{\bbl@main@language}{ngerman}}%
+{ \floatname{program}{Programm}
+ \floatname{algorithm}{Algorithmus}
+}{}
+
+\ifthenelse{\equal{\bbl@main@language}{english}}%
+{ \floatname{program}{Program}
+ \floatname{algorithm}{Algorithm}
+}{}
+
+
+%% Date-related commands ------------------------------------------------------
+
+\RequirePackage{datetime}
+\showdowfalse % do not show day of week
+
+% adapted from \newdate in datetime.sty
+\newcommand*{\@modifydate}[4]{%
+\@namedef{date@#1@d}{#2}%
+\@namedef{date@#1@m}{#3}%
+\@namedef{date@#1@y}{#4}%
+}
+
+\newdate{hgb@date}{\the\day}{\the\month}{\the\year}
+\newcommand{\Date}[3]{% example for use: \Date{16}{5}{2008}
+ \@modifydate{hgb@date}{#1}{#2}{#3}
+}
+
+\newcommand{\hgb@GetDateDay}{\getdateday{hgb@date}}
+\newcommand{\hgb@GetDateMonth}{\getdatemonth{hgb@date}}
+\newcommand{\hgb@GetDateYear}{\getdateyear{hgb@date}}
+\newcommand{\hgb@DisplayDate}{\displaydate{hgb@date}}
+
+%% Experimental items ---------------------------------------------------------
+
+\newenvironment{NarrowList}%
+{\begin{list}{}%
+{\setlength{\leftmargin}{2.5em}
+ \setlength{\labelwidth}{1em}
+ \setlength{\labelsep}{0.5em}
+ \setlength{\itemsep}{0.5ex}
+ \setlength{\parsep}{0ex}
+ \setlength{\topsep}{0ex}
+\raggedright
+}}%
+{\end{list}}
+
+\providecommand{\hgb@PathName}{Pfad}
+
+\newenvironment{FileList}[1]%
+{%\paragraph{Pfad:} \url{#1}
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}
+ {\renewcommand{\hgb@PathName}{Pfad}}%
+ {\renewcommand{\hgb@PathName}{Path}}%
+\paragraph{\hgb@PathName: \nolinkurl{#1}}
+\begin{list}{}%
+{\setlength{\leftmargin}{5cm}
+ \setlength{\labelwidth}{4cm}
+ \setlength{\labelsep}{0.25cm}
+ \setlength{\rightmargin}{0cm}
+ \setlength{\itemindent}{0cm}
+ \setlength{\itemsep}{0.5ex}
+ \setlength{\parsep}{0ex}
+ \setlength{\topsep}{1ex}
+\raggedright
+}}%
+{\end{list}}
+
+\def\widedotfill{\leaders\hbox to 8pt{\hfil.\hfil}\hfill}
+
+\newcommand{\fitem}[1]{%
+\item[\nolinkurl{#1}\widedotfill]
+}
+
+%% For inserting foreign PDF pages --------------------------------------------
+
+\RequirePackage{pdfpages}
+
+%% ----------------------------------------------------------------------------
+
+\setlength{\fboxsep}{0mm} %globally zero fbox separator
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty
new file mode 100644
index 00000000000..01e7f6f9838
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbabbrev.sty
@@ -0,0 +1,50 @@
+%% hgbabbrev.sty
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+\ProvidesPackage{hgbabbrev}[2017/10/28]
+
+\newcommand{\latex}{La\-TeX\xspace} % no ornamental LaTeX anymore
+\newcommand{\tex}{TeX\xspace} % no ornamental LaTeX anymore
+\newcommand{\bs}{\textbackslash} % backslash character
+\newcommand{\obnh}{\hskip 0pt } %optional break without hyphen: e.g. PlugIn{\obnh}Filter
+%\newcommand{\optbreaknh}{\hskip 0pt } %obsolete, replaced by above
+
+% Miscellaneous abbreviations (in dependance on Jochen Kuepper, jkthesis):
+\RequirePackage{xspace}
+
+%% German abbreviations:
+
+\newcommand{\bzgl}{bzgl.\@\xspace}
+\newcommand{\bzw}{bzw.\@\xspace}
+\newcommand{\ca}{ca.\@\xspace}
+\newcommand{\dah}{d.\thinspace{}h.\@\xspace}
+\newcommand{\Dah}{D.\thinspace{}h.\@\xspace}
+\newcommand{\ds}{d.\thinspace{}sind\@\xspace}
+\newcommand{\etc}{etc.\@\xspace}
+\newcommand{\evtl}{evtl.\@\xspace}
+\newcommand{\ia}{i.\thinspace{}Allg.\@\xspace}
+\newcommand{\sa}{s.\ auch\@\xspace}
+\newcommand{\so}{s.\ oben\xspace}
+\newcommand{\su}{s.\ unten\@\xspace}
+
+\newcommand{\ua}{u.\thinspace{}a.\@\xspace}
+\newcommand{\Ua}{U.\thinspace{}a.\@\xspace}
+\newcommand{\uae}{u.\thinspace{}\"A.\@\xspace}
+\newcommand{\usw}{usw.\@\xspace}
+\newcommand{\uva}{u.\thinspace{}v.\thinspace{}a.\@\xspace}
+\newcommand{\uvm}{u.\thinspace{}v.\thinspace{}m.\@\xspace}
+\newcommand{\va}{vor allem\@\xspace}
+\newcommand{\vgl}{vgl.\@\xspace}
+\newcommand{\zB}{z.\thinspace{}B.\@\xspace}
+\newcommand{\ZB}{Zum Beispiel\xspace}
+
+%% English abbreviations:
+
+\newcommand{\ie}{i.e.\@\xspace}
+\newcommand{\eg}{e.g.\@\xspace}
+\newcommand{\Eg}{E.g.\@\xspace}
+%\newcommand{\etc}{etc.\@\xspace}
+\newcommand{\wrt}{w.r.t.\@\xspace}
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
new file mode 100644
index 00000000000..fc861b52c73
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
@@ -0,0 +1,82 @@
+%% hgbarticle.cls
+%% LaTeX class for creating lab and term reports as well as other forms of academic documentation.
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wolfgang Hochleitner (wolfgang.hochleitner@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+%% Package Information --------------------------------------------------------
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{hgbarticle}[2017/10/28]
+
+\RequirePackage{xifthen}
+
+\RequirePackage{ifpdf} % for checking PDF mode
+\ifpdf{}% \typeout{hgbarticle: *** LaTeX in PDF mode ***}
+\else{\errmessage{hgbarticle: *** LaTeX NOT running in PDF mode ***}}
+\fi
+
+
+%% Command for language defintion ---------------------------------------------
+
+\newcommand{\hgb@MainLanguage}{german} % also referenced in hgb.sty
+
+
+%% Class options --------------------------------------------------------------
+
+\DeclareOption{twocolumn}{%
+ \PassOptionsToClass{\CurrentOption}{article}
+}
+
+\DeclareOption{english}{%
+ \renewcommand{\hgb@MainLanguage}{english}
+}
+
+\DeclareOption{german}{%
+ \renewcommand{\hgb@MainLanguage}{german}
+}
+
+\DeclareOption*{%
+ \ClassWarning{hgbarticle}{Unknown document option '\CurrentOption'.}
+}
+
+\ProcessOptions
+
+
+%% Paper options and style file -----------------------------------------------
+
+\LoadClass[a4paper,11pt]{article}
+
+%Adjust margins only in single-column mode
+\if@twocolumn%
+\else%
+\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
+\fi%
+
+\RequirePackage{hgb} % load associated style file hgb.sty
+
+
+% Add PDF meta data
+
+\AtBeginDocument{%
+ \hypersetup{
+ pdftitle={\@title},
+ pdfauthor={\@author},
+ pdfsubject={},
+ pdfcreator={LaTeX using class hgbarticle [\hgbDate]},
+ pdfproducer={pdflatex},
+ pdfkeywords={}
+ }%
+}%
+
+
+%% Additional Hagenberg packages ----------------------------------------------
+
+\RequirePackage{hgbmath}
+\RequirePackage{hgbheadings}
+\RequirePackage{hgbabbrev}
+\RequirePackage{hgblistings}
+\RequirePackage{hgbbib}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty
new file mode 100644
index 00000000000..4903e98de15
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbbib.sty
@@ -0,0 +1,146 @@
+%% hgbbib.sty
+%% Bibliography Setup
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+\ProvidesPackage{hgbbib}[2017/10/28]
+
+\usepackage{csquotes} % recommended for biblatex
+
+%Note: biblatex with bibtex backend is frozen at version 1.7.
+\usepackage[style=numeric-comp,backend=biber,bibencoding=auto]{biblatex}
+
+\ExecuteBibliographyOptions{bibwarn=true,sortcites=true,defernumbers=true,isbn=false,doi=false,backref=true}
+
+%% titles of reference section + 3 categories of references:
+\newcommand{\@bibtitle}{Quellenverzeichnis}
+\newcommand{\@bibtitleLiteratur}{Literatur}
+\newcommand{\@bibtitleAvmedia}{Audiovisuelle Medien}
+\newcommand{\@bibtitleOnline}{Online-Quellen}
+\newcommand{\@bibtitleSoftware}{Software}
+
+\ifthenelse{\equal{\hgb@MainLanguage}{english}}{%
+ \renewcommand{\@bibtitle}{References}
+ \renewcommand{\@bibtitleLiteratur}{Literature}
+ \renewcommand{\@bibtitleAvmedia}{Audio-visual media}
+ \renewcommand{\@bibtitleOnline}{Online sources}
+ \renewcommand{\@bibtitleSoftware}{Software}
+}{}
+
+%% categories for a split bibliography (order of declaration is important!)
+\DeclareBibliographyCategory{literature}
+\DeclareBibliographyCategory{avmedia}
+\DeclareBibliographyCategory{software}
+\DeclareBibliographyCategory{online}
+
+%% headings for the bibliography categories
+\defbibheading{literature}{%
+ \phantomsection%
+ \section*{\@bibtitleLiteratur}%
+ \addcontentsline{toc}{section}{\@bibtitleLiteratur}%
+}
+
+\defbibheading{avmedia}{%
+ \pagebreak[3]%
+ \phantomsection%
+ \section*{\@bibtitleAvmedia}%
+ \addcontentsline{toc}{section}{\@bibtitleAvmedia}%
+}
+
+\defbibheading{online}{%
+ \pagebreak[3]%
+ \phantomsection%
+ \section*{\@bibtitleOnline}%
+ \addcontentsline{toc}{section}{\@bibtitleOnline}%
+}
+
+\defbibheading{software}{%
+ \pagebreak[3]%
+ \phantomsection%
+ \section*{\@bibtitleSoftware}%
+ \addcontentsline{toc}{section}{\@bibtitleSoftware}%
+}
+
+\defbibheading{noheader}[]{} % 'none' should be defined but isn't
+
+%Assign a given bibliography entry to one of the defined categories.
+\newcommand{\@AssignToBibCategory}[1]% argument 1: entry key
+{\ifthenelse{%
+ \ifentrytype{online}\OR
+ \ifentrytype{www}}
+ {\addtocategory{online}{#1}}%
+{\ifthenelse{%
+ \ifentrytype{movie}\OR
+ \ifentrytype{video}\OR
+ \ifentrytype{music}\OR
+ \ifentrytype{audio}\OR
+ \ifentrytype{image}}
+ {\addtocategory{avmedia}{#1}}%
+{\ifthenelse{%
+ \ifentrytype{software}\OR
+ \ifentrytype{electronic}}
+ {\addtocategory{software}{#1}}%
+ {\addtocategory{literature}{#1}}% else (default)
+}}}
+
+%Hook provided by biblatex.
+\AtEveryCitekey{\@AssignToBibCategory{\thefield{entrykey}}}
+
+%This is only a wrapper to \addbibresource to allow the use
+%of the classic bibtex-workflow in the future.
+\newcommand{\AddBibFile}[1]{
+ \addbibresource{#1}%
+}
+
+%See http://www.jr-x.de/publikationen/latex/tipps/zeilenumbruch.html
+\newenvironment{bibhyphenation}%
+ {\hyphenpenalty=2% (default 50)
+ \tolerance=9999% (default 200)
+ \exhyphenpenalty=2% (default 50)
+ \linepenalty=1% (default 10)
+ \setlength{\emergencystretch}{3em}%
+ % allow URL hyphenation at any character (definitions in biblatex.def)
+ \setcounter{biburlnumpenalty}{1}%
+ \setcounter{biburlucpenalty}{1}%
+ \setcounter{biburllcpenalty}{1}%
+ \biburlsetup}%
+ {}
+
+% Currently the only public macro:
+% \MakeBibliography ... creates a reference section split subsections (default)
+% \MakeBibliography[nosplit] ... creates a one-piece reference section
+\newcommand{\MakeBibliography}[1][]{
+ % opt. arg (#1): optional argument "nosplit" to get a 1-piece bibliography
+ %\clearpage
+ \ifthenelse{\equal{#1}{nosplit}}%
+ {% create a single bibliography with all entries:
+ \printbibheading[heading=bibintoc,title={\@bibtitle}]
+ \begin{bibhyphenation}
+ \printbibliography[heading=noheader]
+ \end{bibhyphenation}
+ }
+ {% split the bibliography using the predefined categories:
+ \printbibheading[heading=bibintoc,title={\@bibtitle}]
+ \begin{bibhyphenation}
+ \bibbycategory
+ \end{bibhyphenation}
+ }%
+}
+
+% Suppress unusual "In:" within journal article references.
+% see http://tex.stackexchange.com/questions/10682/suppress-in-biblatex
+\renewbibmacro{in:}{%
+ \ifentrytype{article}{}{%
+ \printtext{\bibstring{in}\intitlepunct}}}
+
+
+% To suppress warnings related to missing biblatex "drivers":
+\DeclareBibliographyAlias{video}{misc}
+\DeclareBibliographyAlias{movie}{misc}
+\DeclareBibliographyAlias{audio}{misc}
+\DeclareBibliographyAlias{software}{misc}
+\DeclareBibliographyAlias{electronic}{misc}
+\DeclareBibliographyAlias{image}{misc}
+\DeclareBibliographyAlias{standard}{misc}
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty
new file mode 100644
index 00000000000..b55a3fc561d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbheadings.sty
@@ -0,0 +1,61 @@
+%% hgbheadings.sty
+%% Headings setup
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+\ProvidesPackage{hgbheadings}[2017/10/28]
+
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+
+\RequirePackage[sf,raggedright]{titlesec} % use sans serif for chapter/section headings
+
+\@ifundefined{chapter}%
+ {}%
+ {\renewcommand{\chaptermark}[1]{%
+ \ifthenelse{\value{chapter} < 1}%
+ {\markboth{#1}{}}%
+ {\markboth{\thechapter.\ #1}{}}
+ }}
+
+\addtolength{\headheight}{\baselineskip}
+\renewcommand{\headrulewidth}{0pt} % thin line under header
+\renewcommand{\footrulewidth}{0pt}
+\fancyhf{} % clear all fields.
+\fancyhead[R]{\sffamily\thepage} %{\bf \rightmark}
+\fancyhead[L]{\sffamily\nouppercase{\leftmark}} %{\slshape \leftmark}
+
+\fancypagestyle{plain}{%
+ \fancyhf{} % clear all header and footer fields
+ \fancyfoot[C]{\sffamily\thepage} % except the center
+ \renewcommand{\headrulewidth}{0pt}
+ \renewcommand{\footrulewidth}{0pt}
+}
+
+%% Setup for headings (title, toc, abstract) for hgb* classes only ------------
+
+\makeatletter%
+\@ifclassloaded{hgbthesis}{%
+ \RequirePackage[titles]{tocloft}%
+ \renewcommand{\cftchapfont}{\bfseries\sffamily}
+}{}%
+\@ifclassloaded{hgbreport}{%
+ \RequirePackage{titling}
+ \renewcommand{\maketitlehooka}{\sffamily}
+ \RequirePackage[titles]{tocloft}%
+ \renewcommand{\cftchapfont}{\bfseries\sffamily}
+ \RequirePackage{abstract}%
+ \renewcommand{\abstractnamefont}{\sffamily\small\bfseries}
+}{}%
+\@ifclassloaded{hgbarticle}{%
+ \RequirePackage{titling}
+ \renewcommand{\maketitlehooka}{\sffamily}
+ \if@twocolumn%
+ \else%
+ \RequirePackage{abstract}
+ \renewcommand{\abstractnamefont}{\sffamily\small\bfseries}
+ \fi%
+}{}%
+\makeatother%
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty
new file mode 100644
index 00000000000..32511342267
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgblistings.sty
@@ -0,0 +1,203 @@
+%% hgblistings.sty
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: UTF-8
+
+\ProvidesPackage{hgblistings}[2017/10/28]
+
+\RequirePackage{ifthen}
+
+\RequirePackage{xcolor}
+\definecolor{ListingsBackgroundColor}{gray}{0.95}
+
+\RequirePackage{listingsutf8}
+\lstset{
+inputencoding=utf8,
+extendedchars=true,
+basicstyle=\ttfamily\footnotesize,%
+keywordstyle=,%\ttfamily,%\bfseries,
+identifierstyle=,%\sffamily, %\bfseries
+commentstyle=\normalfont\itshape,%
+stringstyle=\ttfamily,%
+showstringspaces=false,%
+columns = flexible,% fixed,
+breaklines=true,%
+tabsize=2, %
+backgroundcolor=\color{ListingsBackgroundColor},
+xleftmargin=6mm,%
+frame=none,
+framexleftmargin=6mm,
+numbers=left,%
+numbersep=5pt,%
+numberstyle=\normalfont\scriptsize,%
+stepnumber=1,%
+numberfirstline=true,%
+numberblanklines=true,%
+texcl=false,% %important: read program comments as Latex content
+mathescape=false, %no mathescape by default
+upquote=true,%
+keepspaces=true,%
+}
+
+\RequirePackage[utf8]{inputenc}
+\lstset{literate=% to allow Umlauts etc. in listed code % utf8-change
+{Ö}{{\"O}}1
+{Ä}{{\"A}}1
+{Ü}{{\"U}}1
+{ü}{{\"u}}1
+{ä}{{\"a}}1
+{ö}{{\"o}}1
+{ß}{{\ss}}2
+}
+
+%% Code Environments ----------------------------------------------------------
+
+% Code Environment for C (ANSI)
+\lstnewenvironment{CCode}[1][]
+{\lstset{%
+ language=[ANSI]C,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for C++ (ISO)
+\lstnewenvironment{CppCode}[1][]
+{\lstset{%
+ language=[ISO]C++,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for C#
+\lstnewenvironment{CsCode}[1][]
+{\lstset{%
+ language=[Sharp]C,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+% Language Definition and Code Environment for CSS
+\lstdefinelanguage{CSS}
+{ morekeywords={color,background,margin,padding,font,weight,display,position,top,%
+ left,right,bottom,list,style,border,size,white,space,min,width},
+ sensitive=false,
+ morecomment=[l]{//},
+ morecomment=[s]{/*}{*/},
+ morestring=[b]"
+}
+
+\lstnewenvironment{CssCode}[1][]
+{\lstset{%
+ language=CSS,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Enivornmente for Generic Code
+\lstnewenvironment{GenericCode}[1][]
+{\lstset{%
+ language={},
+ keepspaces=true,
+ commentstyle={},
+ texcl=false,
+ escapechar={},
+ escapeinside={},
+ #1}}
+{}
+
+
+% Code Enivornmente for HTML
+\lstnewenvironment{HtmlCode}[1][]
+{\lstset{%
+ language=HTML,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Enivornmente for Java
+\lstnewenvironment{JavaCode}[1][]
+{\lstset{%
+ language=Java,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Language Definition and Code Environment for JavaScript
+\lstdefinelanguage{JavaScript}
+{ keywords={attributes, class, classend, do, empty, endif, endwhile, fail, function,%
+ functionend, if, implements, in, inherit, inout, not, of, operations, out,%
+ return, set, then, types, while, use},
+ sensitive=false,
+ morecomment=[l]{//},
+ morecomment=[s]{/*}{*/}
+}
+
+\lstnewenvironment{JsCode}[1][]
+{\lstset{%
+ language=JavaScript,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for LaTeX
+\lstnewenvironment{LaTeXCode}[1][] % code environment for Latex
+{\lstset{%
+ language=[LaTeX]TeX,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for Objective-C
+\lstnewenvironment{ObjCCode}[1][]
+{\lstset{%
+ language=[Objective]C,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for PHP
+\lstnewenvironment{PhpCode}[1][]
+{\lstset{%
+ language=PHP,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Language Definition and Code Environment for Swift
+\lstdefinelanguage{Swift}
+{ keywords=[1]{typealias,true, false,catch,private,internal,public,func,protocol,%
+ optional,return,nil,catch,switch,let,as,var,if,in,for,while,where,do,else,case,%
+ break,import,class,struct,enum,override,super,required,designated,convenience},
+ keywords=[2]{String,Int,Double,Float},
+ sensitive=true,
+ morecomment=[l]{//},
+ morecomment=[s]{/*}{*/},
+ morestring=[b]',
+ morestring=[b]"
+}
+
+\lstnewenvironment{SwiftCode}[1][]
+{\lstset{%
+ language=Swift,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
+
+
+% Code Environment for XML
+\lstnewenvironment{XmlCode}[1][]
+{\lstset{%
+ language=XML,
+ escapeinside={/+}{+/}, % makes "/+" and "+/" available for Latex escapes (labels etc.)
+ #1}}%
+{}
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty
new file mode 100644
index 00000000000..c73aa717231
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbmath.sty
@@ -0,0 +1,20 @@
+%% hgbmath.sty
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{hgbmath}[2017/10/28]
+
+\RequirePackage{amsmath,amsfonts,amssymb,amsbsy}
+\RequirePackage{subdepth} % for positioning of sub and super scripts
+\RequirePackage{exscale} % correct scaling of math mode output in every environment
+
+% Commands for real, complex, etc. numbers (AMS Blackboard)
+\newcommand{\R}{\ensuremath{\mathbb{R}}}
+\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
+\newcommand{\N}{\ensuremath{\mathbb{N}}}
+%\newcommand{\C}{\mathbb{C}} % utf8-change (problem with T1 encoding)
+\newcommand{\Cpx}{\ensuremath{\mathbb{C}}} % utf8-change
+\newcommand{\Q}{\ensuremath{\mathbb{Q}}} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls
new file mode 100644
index 00000000000..6dff1a37e61
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbreport.cls
@@ -0,0 +1,77 @@
+%% hgbreport.cls
+%% LaTeX template for creating lab and term reports as well as other forms of academic documentation
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wolfgang Hochleitner (wolfgang.hochleitner@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+%% Package Information --------------------------------------------------------
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{hgbreport}[2017/10/28]
+
+\RequirePackage{xifthen}
+
+\RequirePackage{ifpdf} % for checking PDF mode
+\ifpdf{}% \typeout{hgbreport: *** LaTeX in PDF mode ***}
+\else{\errmessage{hgbreport: *** LaTeX NOT running in PDF mode ***}}
+\fi
+
+
+%% Command for language defintion ---------------------------------------------
+
+\newcommand{\hgb@MainLanguage}{german} % also referenced in hgb.sty
+
+
+%% Class options --------------------------------------------------------------
+
+\DeclareOption{notitlepage}{%
+ \PassOptionsToClass{\CurrentOption}{report}
+}
+
+\DeclareOption{english}{%
+ \renewcommand{\hgb@MainLanguage}{english}
+}
+
+\DeclareOption{german}{%
+ \renewcommand{\hgb@MainLanguage}{german}
+}
+
+\DeclareOption*{%
+ \ClassWarning{hgbreport}{Unknown document option '\CurrentOption'.}
+}
+
+\ProcessOptions
+
+
+%% Paper options and style file -----------------------------------------------
+
+\LoadClass[a4paper,11pt,onecolumn]{report}
+\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
+
+\RequirePackage{hgb} % load associated style file hgb.sty
+
+
+% Add PDF meta data
+
+\AtBeginDocument{%
+ \hypersetup{
+ pdftitle={\@title},
+ pdfauthor={\@author},
+ pdfsubject={},
+ pdfcreator={LaTeX using class hgbreport [\hgbDate]},
+ pdfproducer={pdflatex},
+ pdfkeywords={}
+ }%
+}%
+
+
+%% Additional Hagenberg packages ----------------------------------------------
+
+\RequirePackage{hgbmath}
+\RequirePackage{hgbheadings}
+\RequirePackage{hgbabbrev}
+\RequirePackage{hgblistings}
+\RequirePackage{hgbbib}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
new file mode 100644
index 00000000000..fbe1a6b2998
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
@@ -0,0 +1,614 @@
+%% hgbthesis.cls
+%% LaTeX template for creating diploma theses, masters's theses, bachelor's theses and other term papers.
+%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
+%% Author: Wilhelm Burger (wilhelm.burger@fh-hagenberg.at)
+%% GitHub: https://github.com/Digital-Media/HagenbergThesis
+%% File encoding: ASCII
+
+%% Package Information --------------------------------------------------------
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{hgbthesis}[2017/10/28]
+
+\RequirePackage{xifthen}
+
+\RequirePackage{ifpdf} % for checking PDF mode
+\ifpdf{}% \typeout{hgbthesis: *** LaTeX in PDF mode ***}
+\else{\errmessage{hgbthesis: *** LaTeX NOT running in PDF mode ***}}
+\fi
+
+
+%% Commands for Title Pages (used in class options) ---------------------------
+
+\newcommand{\hgb@MainLanguage}{german} % also referenced in hgb.sty
+\newcommand{\@mastertitlepages}{}
+\newcommand{\@diplomatitlepages}{}
+\newcommand{\@bachelortitlepages}{}
+\newcommand{\@internshiptitlepages}{}
+\newcommand{\@maketitlepages}{\@mastertitlepages} %Default: Master's thesis
+
+
+\newcommand{\@titlepagefont}{\sffamily}
+
+%% Class options --------------------------------------------------------------
+
+\DeclareOption{master}{
+ \renewcommand{\@maketitlepages}{\@mastertitlepages}
+}
+
+\DeclareOption{diplom}{%
+ \renewcommand{\@maketitlepages}{\@diplomatitlepages}
+ \ClassWarning{hgbthesis}{Deprecated: Document option '\CurrentOption' is deprecated, use 'diploma' instead.}
+}
+
+\DeclareOption{diploma}{%
+ \renewcommand{\@maketitlepages}{\@diplomatitlepages}
+}
+
+\DeclareOption{bachelor}{%
+ \renewcommand{\@maketitlepages}{\@bachelortitlepages}
+}
+
+\DeclareOption{praktikum}{%
+ \renewcommand{\@maketitlepages}{\@internshiptitlepages}
+ \ClassWarning{hgbthesis}{Deprecated: Document option '\CurrentOption' is deprecated, use 'internship' instead.}
+}
+
+\DeclareOption{internship}{%
+ \renewcommand{\@maketitlepages}{\@internshiptitlepages}
+}
+
+\DeclareOption{english}{%
+ \renewcommand{\hgb@MainLanguage}{english}
+}
+
+\DeclareOption{german}{%
+ \renewcommand{\hgb@MainLanguage}{german}
+}
+
+\DeclareOption*{%
+ \ClassWarning{hgbthesis}{Unknown document option '\CurrentOption'.}
+}
+
+\ProcessOptions
+
+
+%% Paper Options and Style File -----------------------------------------------
+
+\LoadClass[a4paper,11pt,oneside]{book}
+\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
+
+\RequirePackage{hgb} % load associated style file hgb.sty
+
+
+%% Setup for Pages in the Front Matter ----------------------------------------
+
+% General Commands
+
+\newcommand{\@programname}{\@MissingArg{Degree program not specified!}}
+\newcommand{\studiengang}[1]{%
+ \renewcommand{\@programname}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\studiengang' is deprecated, use '\string\programname' instead.}
+}
+\newcommand{\programname}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@programname}{#1}}
+}
+
+\newcommand{\@placeofstudy}{\@MissingArg{Place of study not specified!}}
+\newcommand{\studienort}[1]{%
+ \renewcommand{\@placeofstudy}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\studienort' is deprecated, use '\string\placeofstudy' instead.}
+}
+\newcommand{\placeofstudy}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@placeofstudy}{#1}}
+}
+
+\newcommand{\@advisor}{\@MissingArg{Advisor not specified!}}
+\newcommand{\betreuer}[1]{%
+ \renewcommand{\@advisor}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\betreuer' is deprecated, use '\string\advisor' instead.}
+}
+\newcommand{\betreuerin}[1]{%
+ \renewcommand{\@advisor}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\betreuerin' is deprecated, use '\string\advisor' instead.}
+}
+\newcommand{\advisor}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@advisor}{#1}}
+}
+
+\newcommand{\@thesisnumber}{\@MissingArg{Thesis number not specified!}}
+\newcommand{\nummer}[1]{%
+ \renewcommand{\@thesisnumber}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\nummer' is deprecated, use '\string\thesisnumber' instead.}
+}
+\newcommand{\thesisnumber}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@thesisnumber}{#1}}
+}
+
+\newcommand{\@coursetitle}{\@MissingArg{Course not specified!}}
+\newcommand{\gegenstand}[1]{%
+ \renewcommand{\@coursetitle}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\gegenstand' is deprecated, use '\string\coursetitle' instead.}
+}
+\newcommand{\coursetitle}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@coursetitle}{#1}}
+}
+
+\newcommand{\@semester}{\@MissingArg{Semester not specified!}}
+\newcommand{\semester}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@semester}{#1}}
+}
+
+\newcommand{\@logofile}[0]{}
+\newcommand{\logofile}[1]{%
+ \renewcommand{\@logofile}{#1}
+}
+
+\newcommand{\makelogo}[0]{%
+\ifthenelse{\equal{\@logofile}{}}%
+ {\vspace*{30mm}}%
+ {\includegraphics[height=30mm]{\@logofile}}%
+}
+
+% Submission Commands
+
+\newcounter{@dayofsubmission}
+\newcounter{@monthofsubmission}
+\newcounter{@yearofsubmission}
+
+\setcounter{@dayofsubmission}{\the\day}
+\setcounter{@monthofsubmission}{\the\month}
+\setcounter{@yearofsubmission}{\the\year}
+
+\newcommand{\abgabedatum}[3]{% %\abgabedatum{yyyy}{mm}{dd}
+ \setcounter{@yearofsubmission}{#1}
+ \setcounter{@monthofsubmission}{#2}
+ \setcounter{@dayofsubmission}{#3}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\abgabedatum' is deprecated, use '\string\dateofsubmission{yyyy}{mm}{dd}' instead.}
+}
+\newcommand{\dateofsubmission}[3]{% %\dateofsubmission{yyyy}{mm}{dd}
+ \setcounter{@yearofsubmission}{#1}
+ \setcounter{@monthofsubmission}{#2}
+ \setcounter{@dayofsubmission}{#3}
+}
+
+\newcommand{\abgabemonat}[1]{%
+ \ClassWarning{hgbthesis}{Deprecated: '\string\abgabemonat' is deprecated, use '\string\dateofsubmission{yyyy}{mm}{dd}' instead.}
+}
+
+\newcommand{\abgabejahr}[1]{%
+ \ClassWarning{hgbthesis}{Deprecated: '\string\abgabejahr' is deprecated, use '\string\dateofsubmission{yyyy}{mm}{dd}' instead.}
+}
+
+% Internship Report Commands
+
+\newcommand{\@companyName}{\@MissingArg{Company not specified!}}
+\newcommand{\firma}[1]{%
+ \renewcommand{\@companyName}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\firma' is deprecated, use '\string\companyName' instead.}
+}
+\newcommand{\companyName}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@companyName}{#1}}
+}
+
+\newcommand{\@companyUrl}{\@MissingArg{Company URL not specified!}}
+\newcommand{\firmenUrl}[1]{%
+ \renewcommand{\@companyUrl}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\firmenUrl' is deprecated, use '\string\companyUrl' instead.}
+}
+\newcommand{\companyUrl}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@companyUrl}{#1}}
+}
+
+\newcommand{\@companyPhone}{\@MissingArg{Company phone number not specified!}}
+\newcommand{\firmenTel}[1]{%
+ \renewcommand{\@companyPhone}{#1}
+ \ClassWarning{hgbthesis}{Deprecated: '\string\firmenTel' is deprecated, use '\string\companyPhone' instead.}
+}
+\newcommand{\companyPhone}[1]{%
+ \ifthenelse{\isempty{#1}}{}{\renewcommand{\@companyPhone}{#1}}
+ \renewcommand{\@companyPhone}{#1}
+}
+
+\newcommand{\@license}{\@MissingArg{License information is missing!}}
+\newcommand{\license}[1]{%
+ \renewcommand{\@license}{#1}
+}
+
+
+%% Commands for Creating the Title Pages --------------------------------------
+
+\newcommand{\titelseite}{%
+ \maketitle
+ \ClassWarning{hgbthesis}{Deprecated: '\string\titelseite' is deprecated, use '\string\maketitle' instead.}
+}
+
+%% adds blank space after each letter (http://stackoverflow.com/a/3951837)
+\newcommand{\@addspaces}[1]{%
+ \@tfor\letter:=#1\do{%
+ \letter\thinspace% %\space
+ }%
+}
+
+\newcommand{\@bachelortitle}{%
+\begin{titlepage}%
+ \begin{german}
+ \rule{0mm}{1mm}
+ \vspace*{0mm}
+ \begin{center}%
+ \@titlepagefont %\normalfont
+ \setlength{\unitlength}{1cm}
+ \parbox[c][5cm][c]{12cm}{%
+ \centering\LARGE\bfseries%
+ \setlength{\baselineskip}{25pt}%
+ \@title%
+ }
+ \vskip 15mm%
+ {\large\@author}%{\large\scshape\@author}%
+ \vskip 15mm%
+ \makelogo%
+ \vskip 15mm%
+ {\Large\uppercase{\@addspaces{Bachelorarbeit}}}%
+ \vskip 4mm%
+ {\large Nr.~\@thesisnumber}
+ \vskip 4mm%
+ {\large eingereicht am} \vskip 1mm {Fachhochschul-Bachelorstudiengang}%
+ \vskip 4mm%
+ {\large\@programname}%
+ \vskip 4mm%
+ {\large in \@placeofstudy}%
+ \vskip 16mm%
+ {\large im \monthname[\value{@monthofsubmission}] \arabic{@yearofsubmission}}%
+ \end{center}%
+ \vfil%
+ \end{german}
+\end{titlepage}%
+}
+
+\newcommand{\@mastertitle}{%
+\begin{titlepage}%
+ \begin{german}
+ \rule{0mm}{1mm}
+ \vspace*{0mm}
+ \begin{center}%
+ \@titlepagefont %\normalfont
+ \setlength{\unitlength}{1cm}
+ \parbox[c][5cm][c]{12cm}{%
+ \centering\LARGE\bfseries%%
+ \setlength{\baselineskip}{25pt}%
+ \@title%
+ }
+ \vskip 15mm%
+ {\large\@author}%{\large\scshape\@author}%
+ \vskip 15mm%
+ \makelogo%
+ \vskip 15mm%
+ {\Large\uppercase{\@addspaces{Masterarbeit}}}%
+ \vskip 4mm%
+ {\large eingereicht am} \vskip 1mm {Fachhochschul-Masterstudiengang}%
+ \vskip 4mm%
+ {\large\@programname}%
+ \vskip 4mm%
+ {\large in \@placeofstudy}%
+ \vskip 16mm%
+ {\large im \monthname[\value{@monthofsubmission}] \arabic{@yearofsubmission}}%
+ \end{center}%
+ \vfil%
+ \end{german}
+\end{titlepage}%
+}
+
+\newcommand{\@diplomatitle}{%
+\begin{titlepage}%
+ \begin{german}
+ \rule{0mm}{1mm}
+ \vspace*{0mm}
+ \begin{center}%
+ \@titlepagefont %\normalfont
+ \setlength{\unitlength}{1cm}
+ \parbox[c][5cm][c]{12cm}{%
+ \centering\LARGE\bfseries%
+ \setlength{\baselineskip}{25pt}%
+ \@title%
+ }
+ \vskip 15mm%
+ {\large\@author}%{\large\scshape\@author}%
+ \vskip 15mm%
+ \makelogo%
+ \vskip 15mm%
+ {\Large\uppercase{\@addspaces{Diplomarbeit}}}%
+ \vskip 4mm%
+ {\large eingereicht am} \vskip 1mm {Fachhochschul-Diplomstudiengang}%
+ \vskip 4mm%
+ {\large\@programname}%
+ \vskip 4mm%
+ {\large in \@placeofstudy}%
+ \vskip 16mm%
+ {\large im \monthname[\value{@monthofsubmission}] \arabic{@yearofsubmission}}%
+ \end{center}%
+ \vfil%
+ \end{german}
+\end{titlepage}%
+}
+
+\newcommand{\@internshiptitle}{%
+\begin{titlepage}%
+ \begin{german}
+ \rule{0mm}{1mm}
+ \vspace*{0mm}
+ \begin{center}%
+ \@titlepagefont %\normalfont
+ \setlength{\unitlength}{1cm}
+ \parbox[c][5cm][c]{12cm}{%
+ \centering\LARGE\bfseries%
+ \setlength{\baselineskip}{25pt}%
+ Endbericht zum Berufspraktikum%
+ }
+ \vskip 15mm%
+ {\large\@author}%{\large\scshape\@author}%
+ \vskip 15mm%
+ \makelogo%
+ \vskip 15mm%
+ {\Large\uppercase{\@addspaces{Bachelorarbeit}}}%
+ \vskip 4mm%
+ {\large Nr.~\@thesisnumber}
+ \vskip 4mm%
+ {\large eingereicht am} \vskip 1mm {Fachhochschul-Bachelorstudiengang}%
+ \vskip 4mm%
+ {\large\@programname}%
+ \vskip 4mm%
+ {\large in \@placeofstudy}%
+ \vskip 16mm%
+ {\large im \monthname[\value{@monthofsubmission}] \arabic{@yearofsubmission}}%
+ \end{center}%
+ \vfil%
+ \end{german}
+\end{titlepage}%
+}
+
+
+% Copyright and License Page --------------------------------------------------
+
+\newcommand{\strictlicense}{%
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}%
+ {\license{Alle Rechte vorbehalten}}%
+ {\license{All Rights Reserved}}
+}
+
+\newcommand{\@ccLicenseAt}{%
+Diese Arbeit wird unter den Bedingungen der
+\textsf{Creative Commons Lizenz}
+\emph{Attribution-NonCommercial-NoDerivatives 4.0 International}
+(CC BY-NC-ND 4.0) ver\"offentlicht --
+siehe \url{https://creativecommons.org/licenses/by-nc-nd/4.0/}.}
+
+\newcommand{\@ccLicenseEn}{%
+This work is published under the conditions of the
+\textsf{Creative Commons License}
+\emph{Attribution-NonCommercial-NoDerivatives 4.0 International}
+(CC BY-NC-ND 4.0)---see
+\url{https://creativecommons.org/licenses/by-nc-nd/4.0/}.}
+
+\newcommand{\cclicense}{%
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}%
+ {\license{\@ccLicenseAt}} % german CC license text
+ {\license{\@ccLicenseEn}} % english CC license text (default)
+}
+
+\cclicense % Creative Commons License (default)
+
+\newcommand{\@makelicense}{
+ \sbox\@tempboxa{\@license}%
+ \ifdim \wd\@tempboxa >\hsize
+ \begin{sloppypar}\noindent\@license\end{sloppypar}
+ \else
+ \global \@minipagefalse
+ \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+ \fi
+}
+
+\newcommand{\@copyrightpage}{%
+\newpage
+\setcounter{page}{2}
+\thispagestyle{plain}
+\rule{0mm}{1mm}
+\vspace*{75mm}
+\begin{center}
+\textsf{\copyright\ Copyright\ \arabic{@yearofsubmission}\ \@author}
+\end{center}
+\vspace{8mm}
+\@makelicense
+}
+
+
+%% Company Page for Internship Report -----------------------------------------
+
+\newcommand{\@companypage}{%
+\newpage
+\setcounter{page}{2}
+\thispagestyle{plain}
+\rule{0mm}{1mm}
+\begin{center}
+\vspace{25mm}
+{Praktikumsstelle:}
+\\
+\vspace{3mm}
+{\Large\sf\@companyName\\ \mbox{}}
+\\
+{\sf \@companyPhone}
+\\
+{\sf \@companyUrl}
+\\
+\vspace{45mm}
+{Kontaktperson:}
+\\
+\vspace{3mm}
+{\Large\sf\@advisor\\ \mbox{}}
+\end{center}
+}
+
+
+%% Advisor Pages in German and English ----------------------------------------
+
+% German
+
+\newcommand{\@advisorpageDe}{%
+ \newpage
+ \setcounter{page}{2}
+ \thispagestyle{plain}
+ \rule{0mm}{1mm}
+ \begin{center}
+ %
+ \vspace{40mm}
+ {Diese Arbeit entstand im Rahmen des Gegenstands}\\
+ \vspace{6mm}
+ {\Large\sf \@coursetitle\\ \mbox{}}\\
+ \medskip
+ im\\
+ \bigskip
+ {\@semester}\\
+ %
+ \vspace{45mm}
+ {Betreuung:}\\
+ \vspace{3mm}
+ {\Large\sf \@advisor\\ \mbox{}}
+ \end{center}
+}
+
+% English
+
+\newcommand{\@advisorpageEn}{%
+ \newpage
+ \setcounter{page}{2}
+ \thispagestyle{plain}
+ \rule{0mm}{1mm}
+ \begin{center}
+ %
+ \vspace{40mm}
+ {This thesis was created as part of the course}\\
+ \vspace{6mm}
+ {\Large\sf \@coursetitle\\ \mbox{}}\\
+ \medskip
+ during\\
+ \bigskip
+ {\@semester}\\
+ %
+ \vspace{45mm}
+ {Advisor:}\\
+ \vspace{3mm}
+ {\Large\sf \@advisor\\ \mbox{}}
+ \end{center}
+}
+
+\newcommand{\@advisorpage}{%
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}%
+ {\@advisorpageDe}%
+ {\@advisorpageEn}
+}
+
+
+%% Declaration Pages in German and English ------------------------------------
+
+% German
+
+\newcommand{\@declarationpageDe}{%
+ \begin{german}
+ \chapter{Erkl\"arung}
+ \noindent
+ %Standardfassung der FH-OOe ab 04.04.2012:
+ Ich erkl\"are eidesstattlich, dass ich die vorliegende Arbeit selbstst\"andig und ohne fremde Hilfe verfasst,
+ andere als die angegebenen Quellen nicht benutzt und die den benutzten Quellen entnommenen Stellen als
+ solche gekennzeichnet habe. Die Arbeit wurde bisher in gleicher oder \"ahnlicher Form keiner anderen
+ Pr\"ufungsbeh\"orde vorgelegt.
+ \par
+ \vspace{10mm}
+ \noindent
+ \@placeofstudy, am \formatdate{\value{@dayofsubmission}}{\value{@monthofsubmission}}{\value{@yearofsubmission}}
+ \par
+ \vspace{12mm}
+ \noindent
+ \@author
+ \end{german}
+}
+
+% English
+
+\newcommand{\leadingzero}[1]{\ifnum #1<10 0\the#1\else\the#1\fi}
+
+\newcommand{\@declarationpageEn}{%
+ \begin{english}
+ \chapter{Declaration}
+ \noindent
+ I hereby declare and confirm that this thesis is entirely the result of my own original work.
+ Where other sources of information have been used, they have been indicated as such and properly
+ acknowledged. I further declare that this or similar work has not been submitted for credit elsewhere.
+ \par
+ \vspace{10mm}
+ \noindent
+ %\@placeofstudy, \the\year-\leadingzero{\month}-\leadingzero{\day} %http://de.wikibooks.org/wiki/LaTeX-W%F6rterbuch:_today
+ \@placeofstudy, {\usdate\formatdate{\value{@dayofsubmission}}{\value{@monthofsubmission}}{\value{@yearofsubmission}}}
+ \par
+ \vspace{12mm}
+ \noindent
+ \@author
+ \end{english}
+}
+
+\newcommand{\@declarationpage}{%
+\ifthenelse{\equal{\hgb@MainLanguage}{german}}%
+ {\@declarationpageDe}%
+ {\@declarationpageEn}
+}
+
+
+%% Assembly of title pages ----------------------------------------------------
+
+\renewcommand{\@mastertitlepages}{
+ \@mastertitle
+ \@copyrightpage
+ \@declarationpage
+}
+
+\renewcommand{\@diplomatitlepages}{
+ \@diplomatitle
+ \@copyrightpage
+ \@declarationpage
+}
+
+\renewcommand{\@bachelortitlepages}{
+ \@bachelortitle
+ \@advisorpage
+ \@declarationpage
+}
+
+\renewcommand{\@internshiptitlepages}{
+ \@internshiptitle
+ \@companypage
+ \@declarationpage
+}
+
+
+% Add PDF meta data and create title pages
+
+\renewcommand{\maketitle}{ %replace standard LaTeX-command
+ \hypersetup{
+ pdftitle={\@title},
+ pdfauthor={\@author},
+ pdfsubject={\@programname, \@placeofstudy},
+ pdfcreator={LaTeX using class hgbthesis [\hgbDate]},
+ pdfproducer={pdflatex},
+ pdfkeywords={}
+ }%
+
+ \@maketitlepages
+}
+
+%% Additional Hagenberg packages ----------------------------------------------
+
+\RequirePackage{hgbmath}
+\RequirePackage{hgbheadings}
+\RequirePackage{hgbabbrev}
+\RequirePackage{hgblistings}
+\RequirePackage{hgbbib}
+
+\endinput