handout: Allow customising document language

This commit is contained in:
Simon Bruder 2021-06-13 12:10:49 +02:00
parent 3f7634c5b0
commit b7e77dbba9
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -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}