From 14833fd73e908ebd7454d24f5b0afd03f430280b Mon Sep 17 00:00:00 2001 From: Marei Peischl Date: Wed, 27 Nov 2019 13:13:20 +0100 Subject: [PATCH] add PricingTotal environment --- kiviletter.sty | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/kiviletter.sty b/kiviletter.sty index 41554d7a1..fb3ddbc18 100644 --- a/kiviletter.sty +++ b/kiviletter.sty @@ -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}} -- 2.20.1