add PricingTotal environment
authorMarei Peischl <marei@peitex.de>
Wed, 27 Nov 2019 12:13:20 +0000 (13:13 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty

index 41554d7..fb3ddbc 100644 (file)
@@ -196,18 +196,12 @@ align=tl,
 }
 
 
-
-\cs_new:Nn \kivi_save_LT@boxes: {
-       \clist_map_inline:nn {head, firsthead, foot, lastfoot} {
-       \box_gset_eq:cc {g_kivi_LT@##1_box} {LT@##1}
-       }
-}
-
-\cs_new:Nn \kivi_restore_LT@boxes: {
-       \clist_map_inline:nn {head, firsthead, foot, lastfoot} {
-       \box_gset_eq:cc  {LT@##1} {g_kivi_LT@##1_box}
-       \box_gclear:c {g_kivi_LT@##1_box}
-       }
+%Macht es sinn hier eine Variante zu machen, in der alle Spalten Belegbar sind?
+\newenvironment{PricingTotal}{
+       \tabular[t]{@{}p{\dim_eval:n {\linewidth-\g_kivi_tab_price_dim-2\tabcolsep}}P@{}}
+       \midrule
+}{
+       \bottomrule\endtabular
 }
 
 \newcommand{\ExtraDescription}[1]{\seq_gput_right:Nn \g_kivi_extraDescription_seq {#1}}