handout: Allow customising document language
This commit is contained in:
parent
3f7634c5b0
commit
b7e77dbba9
|
@ -1,11 +1,20 @@
|
||||||
% vim: set ft=tex
|
% vim: set ft=tex
|
||||||
|
\RequirePackage{kvoptions}
|
||||||
|
\SetupKeyvalOptions{
|
||||||
|
family = handout,
|
||||||
|
prefix = handout@,
|
||||||
|
}
|
||||||
|
|
||||||
|
\DeclareStringOption[ngerman]{language}
|
||||||
|
\ProcessKeyvalOptions{handout}
|
||||||
|
|
||||||
\LoadClass[
|
\LoadClass[
|
||||||
DIV=20,
|
DIV=20,
|
||||||
parskip=half,
|
parskip=half,
|
||||||
]{scrartcl}
|
]{scrartcl}
|
||||||
|
|
||||||
% hyphenation
|
% hyphenation
|
||||||
\RequirePackage[ngerman]{babel}
|
\RequirePackage[\handout@language]{babel}
|
||||||
|
|
||||||
% cretion of nice dates from numbers
|
% cretion of nice dates from numbers
|
||||||
\RequirePackage[useregional]{datetime2}
|
\RequirePackage[useregional]{datetime2}
|
||||||
|
|
Reference in a new issue