Revision 11e72672
Von Marei Peischl vor fast 5 Jahren hinzugefügt
kiviletter.sty | ||
---|---|---|
80 | 80 |
|
81 | 81 |
\newcolumntype{P}{>{\raggedleft\arraybackslash}p{\g_kivi_tab_price_dim}} |
82 | 82 |
|
83 |
\if@kivi@faketable |
|
83 |
%\if@kivi@faketable
|
|
84 | 84 |
\RequirePackage{environ} |
85 | 85 |
\ExplSyntaxOn |
86 | 86 |
\seq_new:N \l_kivi_PricingTable_seq |
87 |
\NewEnviron{PricingTabular}{
|
|
87 |
\NewDocumentCommand{\FakeTable}{m}{
|
|
88 | 88 |
% \tl_set:No \l_tmpa_tl {\BODY} |
89 |
\seq_set_split:NnV \l_kivi_PricingTable_seq {\tabularnewline} \BODY
|
|
89 |
\seq_set_split:Nnn \l_kivi_PricingTable_seq {\tabularnewline} {#1}
|
|
90 | 90 |
\seq_show:N \l_kivi_PricingTable_seq |
91 | 91 |
} |
92 | 92 |
\ExplSyntaxOff |
93 | 93 |
|
94 |
\else |
|
94 |
%\else
|
|
95 | 95 |
\newenvironment{PricingTabular}{ |
96 | 96 |
\begingroup |
97 | 97 |
\setlength{\tabcolsep}{\g_kivi_tabcolsep_dim} |
... | ... | |
109 | 109 |
\endlongtable |
110 | 110 |
\endgroup |
111 | 111 |
} |
112 |
\fi |
|
112 |
%\fi
|
|
113 | 113 |
|
114 | 114 |
\ExplSyntaxOff |
115 | 115 |
|
sales_quotation.tex | ||
---|---|---|
139 | 139 |
\bottomrule |
140 | 140 |
\endlastfoot |
141 | 141 |
% eigentliche Tabelle |
142 |
\FakeTable{ |
|
142 | 143 |
<%foreach number%> |
143 | 144 |
<%runningnumber%> & |
144 | 145 |
<%number%> & |
... | ... | |
153 | 154 |
\ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}} |
154 | 155 |
<%linetotal%>\tabularnewline |
155 | 156 |
<%end number%> |
157 |
} |
|
156 | 158 |
\end{PricingTabular} |
157 | 159 |
|
158 | 160 |
<%if notes%> |
Auch abrufbar als: Unified diff
\FakeTable