From: Marei Peischl Date: Wed, 27 Nov 2019 12:02:58 +0000 (+0100) Subject: adjust margin settings X-Git-Tag: release-3.5.6.1~324 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b35c0a95725afb969af86b4da154c8a1144c013d;p=kivitendo-erp.git adjust margin settings --- diff --git a/kiviletter.sty b/kiviletter.sty index e2e65c283..cb805412b 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -36,14 +36,18 @@ \DeclareUnicodeCharacter{20AC}{\euro} \fi -\RequirePackage[fromlogo,fromalign=right]{scrletter} +\RequirePackage[fromlogo,fromalign=right, + firstfoot=false,%Für einheitliche Randeinstellungen + ]{scrletter} \LoadLetterOption{DIN} \usepackage{geometry} -\geometry{a4paper,margin=\useplength{toaddrhpos}} - \ExplSyntaxOn +\dim_new:N \g_kivi_margin_dim +\dim_gset:Nn \g_kivi_margin_dim {\useplength{toaddrhpos}} +\geometry{a4paper,margin=\g_kivi_margin_dim,heightrounded} +\savegeometry{kivi.letter@default} %Scratch variables \int_new:N \l_kivi_tmp_int \bool_new:N \l_kivi_tmp_bool