initial pagestyle config
authorMarei Peischl <marei@peitex.de>
Thu, 21 Nov 2019 11:04:04 +0000 (12:04 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty

index d7f0ec4..069e2b1 100644 (file)
 \bool_new:N \l_kivi_tmp_bool
 \ExplSyntaxOff
 
-%TODO babel setup
+\newsavebox{\shippingAddressBox}
+
+
+\DeclareNewLayer[
+foreground,
+hoffset=\useplength{toaddrhpos},
+voffset=\dimexpr\useplength{toaddrvpos}+\useplength{toaddrheight}+\baselineskip,
+contents={\usebox\shippingAddressBox}
+]{kivitendo.shippingaddress}
+\DeclareNewPageStyleByLayers{kivitendo.letter.first}{kivitendo.shippingaddress}
+
 
 \endinput