diff --git a/latex/common/handout.cls b/latex/common/handout.cls index 906590e..19822a8 100644 --- a/latex/common/handout.cls +++ b/latex/common/handout.cls @@ -1,11 +1,20 @@ % vim: set ft=tex +\RequirePackage{kvoptions} +\SetupKeyvalOptions{ + family = handout, + prefix = handout@, +} + +\DeclareStringOption[ngerman]{language} +\ProcessKeyvalOptions{handout} + \LoadClass[ DIV=20, parskip=half, ]{scrartcl} % hyphenation -\RequirePackage[ngerman]{babel} +\RequirePackage[\handout@language]{babel} % cretion of nice dates from numbers \RequirePackage[useregional]{datetime2}