X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3f7357155ac93703b3838b33f75a8011fbcf5823..b35c0a95725afb969af86b4da154c8a1144c013d:/kiviletter.sty

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
