summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls42
1 files changed, 11 insertions, 31 deletions
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
index 4a2ef21f5b1..2d99fe7e17d 100644
--- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbthesis.cls
@@ -8,7 +8,7 @@
%% Package Information --------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{hgbthesis}[2018/11/28]
+\ProvidesClass{hgbthesis}[2019/05/11]
\RequirePackage{xifthen}
@@ -30,55 +30,35 @@
\newcommand{\@titlepagefont}{\sffamily}
-%% Class options --------------------------------------------------------------
-
-\DeclareOption{master}{
- \renewcommand{\@maketitlepages}{\@mastertitlepages}
-}
+%% Handling class options --------------------------------------------------------------
\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'.}
-}
+\DeclareOption{master}{\renewcommand{\@maketitlepages}{\@mastertitlepages}}
+\DeclareOption{diploma}{\renewcommand{\@maketitlepages}{\@diplomatitlepages}}
+\DeclareOption{bachelor}{\renewcommand{\@maketitlepages}{\@bachelortitlepages}}
+\DeclareOption{internship}{\renewcommand{\@maketitlepages}{\@internshiptitlepages}}
+\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\DeclareOption{smartquotes}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\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
+\RequirePackage{hgb} % load style file hgb.sty with options registered above
%% Setup for Pages in the Front Matter ----------------------------------------