From: Marei Peischl Date: Wed, 27 Nov 2019 12:13:20 +0000 (+0100) Subject: add PricingTotal environment X-Git-Tag: release-3.5.6.1~318 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=14833fd73e908ebd7454d24f5b0afd03f430280b;p=kivitendo-erp.git add PricingTotal environment --- 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}}