Revision b3afb08d
Von Marei Peischl vor fast 5 Jahren hinzugefügt
kiviletter.sty | ||
---|---|---|
224 | 224 |
\endgroup |
225 | 225 |
} |
226 | 226 |
|
227 |
\usepackage{afterpage} |
|
228 |
|
|
229 |
\cs_new:cpn {PricingTabular*}{ |
|
230 |
\bool_gset_true:N \g_kivi_inTable_bool |
|
231 |
\endgroup |
|
232 |
\@nameuse{Gm@restore@@kivi.letter@table}% |
|
233 |
\Gm@changelayout |
|
234 |
\begingroup |
|
235 |
\def \@currenvir {PricingTabular*}\edef \@currenvline {\on@line } |
|
236 |
\addtolength{\vsize}{-\box_ht:N \g_kivi_LT@foot_box} |
|
237 |
\pagegoal\vsize |
|
238 |
\widowpenalty0 |
|
239 |
\clubpenalty0 |
|
240 |
\bool_gset_true:N \g_kivi_TableFoot_bool |
|
241 |
\leavevmode\box_use:N \g_kivi_LT@head_box |
|
242 |
\par\nointerlineskip\ignorespaces |
|
243 |
} |
|
244 |
|
|
245 |
\cs_new:cpn {endPricingTabular*} { |
|
246 |
\thispagestyle{kivitendo.letter.PricingTable} |
|
247 |
\bool_gset_false:N \g_kivi_TableFoot_bool |
|
248 |
\@nameuse{Gm@restore@@kivi.letter@default} |
|
249 |
\Gm@changelayout |
|
250 |
\bool_gset_true:N \g_kivi_restore_geometry_bool |
|
251 |
\afterpage{ |
|
252 |
\kivi_conditional_restore_geometry: |
|
253 |
} |
|
254 |
} |
|
255 |
|
|
256 |
\cs_new:Nn \kivi_conditional_restore_geometry: { |
|
257 |
\bool_if:NT \g_kivi_restore_geometry_bool |
|
258 |
{ |
|
259 |
\@nameuse{Gm@restore@@kivi.letter@default} |
|
260 |
\Gm@changelayout |
|
261 |
} |
|
262 |
\bool_gset_false:N \g_kivi_restore_geometry_bool |
|
263 |
} |
|
227 | 264 |
\ExplSyntaxOff |
228 | 265 |
|
229 | 266 |
\if@kivi@infobox |
Auch abrufbar als: Unified diff
introduce Pricingtable*