handout: Allow customising document language
This commit is contained in:
parent
3f7634c5b0
commit
b7e77dbba9
|
@ -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}
|
||||
|
|
Reference in a new issue