]> wagnertech.de Git - mfinanz.git/blobdiff - kiviletter.sty
adjust margin settings
[mfinanz.git] / kiviletter.sty
index e2e65c2836338ef1bb26c4994b86f8db6687da6c..cb805412bdd5b9fe7fe7e262dec4ab1d888d9496 100644 (file)
 \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