Revision bd4648bf
Von Marei Peischl vor etwa 2 Jahren hinzugefügt
templates/print/marei/kiviletter.sty | ||
---|---|---|
171 | 171 |
\dim_gset:Nn \g_kivi_tabcolsep_dim {.5\tabcolsep} |
172 | 172 |
\setlength\tabcolsep{.5\tabcolsep} |
173 | 173 |
|
174 |
\prg_new_conditional:Nnn \kivi_if_Price_col:n {T} { |
|
174 |
\prg_new_conditional:Nnn \kivi_if_Price_col:n {T, TF} {
|
|
175 | 175 |
\prop_get:cnN {l_kivi_col_#1_prop} {colspec} \l_tmpa_tl |
176 | 176 |
\exp_args:NV \tl_if_eq:nnTF \l_tmpa_tl {Price} |
177 | 177 |
{\prg_return_true:} |
... | ... | |
204 | 204 |
\dim_use:c {l_kivi_tab_##1_dim}+2\g_kivi_tabcolsep_dim |
205 | 205 |
} |
206 | 206 |
} |
207 |
\tl_gput_right:Nn \g_kivi_Pricing_colspec_tl {K{\dim_use:c {l_kivi_tab_##1_dim}}} |
|
207 |
\prop_if_in:cnTF {l_kivi_col_##1_prop} {colspec} { |
|
208 |
\kivi_if_Price_col:nTF {##1} { |
|
209 |
\tl_gput_right:Nn \g_kivi_Pricing_colspec_tl {K} |
|
210 |
}{ |
|
211 |
\tl_gput_right:Nx \g_kivi_Pricing_colspec_tl {\prop_item:cn {l_kivi_col_##1_prop} {colspec}} |
|
212 |
} |
|
213 |
\tl_gput_right:Nn \g_kivi_Pricing_colspec_tl {{\dim_use:c {l_kivi_tab_##1_dim}}} |
|
214 |
} { |
|
215 |
\tl_gput_right:Nn \g_kivi_Pricing_colspec_tl {K{\dim_use:c {l_kivi_tab_##1_dim}}} |
|
216 |
} |
|
208 | 217 |
\kivi_if_Price_col:nT {##1} {\tl_gput_right:Nn \g_kivi_Pricing_colspec_tl {<{\__kivi_tab_column_currency:}}} |
209 | 218 |
} |
210 | 219 |
} |
Auch abrufbar als: Unified diff
marei: add support for colspec in PricingTabular*