summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls')
-rw-r--r--Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls34
1 files changed, 8 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
index dc5393195f0..00797a09d81 100644
--- a/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
+++ b/Master/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
@@ -8,7 +8,7 @@
%% Package Information --------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{hgbarticle}[2018/11/28]
+\ProvidesClass{hgbarticle}[2019/05/11]
\RequirePackage{xifthen}
@@ -17,33 +17,15 @@
\else{\errmessage{hgbarticle: *** LaTeX NOT running in PDF mode ***}}
\fi
+%% Handling class options --------------------------------------------------------------
-%% 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'.}
-}
-
+\DeclareOption{twocolumn}{\PassOptionsToClass{\CurrentOption}{article}}
+\DeclareOption{english}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\DeclareOption{german}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\DeclareOption{smartquotes}{\PassOptionsToPackage{\CurrentOption}{hgb}}
+\DeclareOption*{\ClassWarning{hgbarticle}{Unknown document option '\CurrentOption'.}}
\ProcessOptions
-
%% Paper options and style file -----------------------------------------------
\LoadClass[a4paper,11pt]{article}
@@ -54,7 +36,7 @@
\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
\fi%
-\RequirePackage{hgb} % load associated style file hgb.sty
+\RequirePackage{hgb} % load style file hgb.sty with options registered above
%% Set title font to SF