From: Marei Peischl Date: Wed, 27 Nov 2019 12:11:28 +0000 (+0100) Subject: setup geometry settings to match Table pagestyle X-Git-Tag: release-3.5.6.1~320 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=003d309a47cabcae5fceb8068d5017f8380dc7a5;p=kivitendo-erp.git setup geometry settings to match Table pagestyle --- diff --git a/kiviletter.sty b/kiviletter.sty index 7621a32fa..925e3c7b5 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -166,6 +166,13 @@ align=tl, \AtBeginDocument{ \csname kivi_setup_LT_boxes:\endcsname + \geometry{a4paper, + hmargin=\g_kivi_margin_dim, + top=\dim_eval:n {\g_kivi_margin_dim + \box_ht:N \g_kivi_LT@head_box}, + bottom=\dim_eval:n {\g_kivi_margin_dim + \box_ht:N \g_kivi_LT@foot_box}, + heightrounded} + \savegeometry{kivi.letter@table} + \loadgeometry{kivi.letter@default} } \cs_new:Nn \kivi_setup_LT_boxes: {