one line table
authorMarei Peischl <marei@peitex.de>
Thu, 21 Nov 2019 14:31:57 +0000 (15:31 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 3 Feb 2020 11:21:38 +0000 (12:21 +0100)
kiviletter.sty

index 188670f..d23d7bb 100644 (file)
@@ -86,7 +86,12 @@ contents={\usebox\shippingAddressBox}
 \newcommand{\FakeTable}[1]{
 %      \tl_set:No \l_tmpa_tl {\BODY}
        \seq_set_split:Nnn \l_kivi_PricingTable_seq {\tabularnewline} {#1}
-       \seq_show:N \l_kivi_PricingTable_seq
+       \seq_map_inline:Nn \l_kivi_PricingTable_seq {
+       \tabular{@{}p{\g_kivi_tab_pos_dim}p{\g_kivi_tab_id_dim}p{\g_kivi_tab_desc_dim}>{\raggedleft\arraybackslash}p{\g_kivi_tab_num_dim}*2{P<{\,\currency}}@{}}
+       ##1
+       \endtabular
+       }
+       }
 }
 %\else
 \newenvironment{PricingTabular}{