From b7e77dbba945327d48188089adcd53732dfb5853 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 13 Jun 2021 12:10:49 +0200 Subject: [PATCH] handout: Allow customising document language --- latex/common/handout.cls | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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}