Revision 88fc44c8
Von Marei Peischl vor mehr als 3 Jahren hinzugefügt
templates/print/marei/kiviletter.sty | ||
---|---|---|
35 | 35 |
\RequirePackage{booktabs} |
36 | 36 |
\RequirePackage{graphicx} |
37 | 37 |
|
38 |
|
|
39 |
|
|
40 |
\RequirePackage[fromlogo,fromalign=right, |
|
38 |
\PassOptionsToPackage{fromlogo,fromalign=right, |
|
41 | 39 |
firstfoot=false,%Für einheitliche Randeinstellungen |
42 | 40 |
refline=nodate, |
43 |
]{scrletter} |
|
41 |
}{scrletter} |
|
42 |
\RequirePackage{scrletter} |
|
44 | 43 |
\LoadLetterOption{DIN} |
45 | 44 |
|
46 | 45 |
\newkomavar{transaction} |
... | ... | |
249 | 248 |
|
250 | 249 |
\tcbset{kivi@LT/.style={skin=kivi@LT}}% |
251 | 250 |
|
252 |
|
|
253 |
|
|
254 | 251 |
\seq_new:N \l_kivi_PricingTable_seq |
255 | 252 |
\seq_new:N \l_kivi_columns_seq |
256 | 253 |
\seq_new:N \g_kivi_extraDescription_seq |
... | ... | |
366 | 363 |
\newkomafont{PricingTableHeader}{\bfseries} |
367 | 364 |
|
368 | 365 |
\cs_new:Nn \__kivi_setup_LT_boxes: { |
369 |
% \bool_show:N \g__kivi_Tabular_rowcolor_bool |
|
370 | 366 |
\__kivi_calc_desc_column: |
371 | 367 |
\hbox_gset:Nn \g_kivi_LT@head_box { |
372 | 368 |
\setlength{\tabcolsep}{\g_kivi_tabcolsep_dim} |
... | ... | |
378 | 374 |
} |
379 | 375 |
} |
380 | 376 |
\hbox_gset:Nn \g_kivi_LT@foot_box { |
381 |
% \parbox{\linewidth}{ |
|
382 |
% \leavevmode\color{red}\rule{\linewidth}{1pt}\par\nointerlineskip |
|
383 |
% \leavevmode\color{blue}\rule{\linewidth}{1cm} |
|
384 |
% } |
|
385 |
% \raisebox{\depth}{ |
|
386 | 377 |
\begin{tabular*}{\textwidth}[t]{@{\extracolsep{\fill}}r@{\bool_if:NT \g__kivi_Tabular_rowcolor_bool {\hskip\tabcolsep}}} |
387 | 378 |
\bool_if:NTF \g__kivi_Tabular_rowcolor_bool |
388 |
{\hline\noalign{\vskip1pt}}%\noalign{\nointerlineskip\vskip\z@}\noalign{\nointerlineskip\rule{\linewidth}{\arrayrulewidth}}}%\leavevmode\rule{\linewidth}{\arrayrulewidth}}}
|
|
379 |
{\hline\noalign{\vskip1pt}} |
|
389 | 380 |
\midrule |
390 | 381 |
\strut\weiteraufnaechsterseite |
391 | 382 |
\end{tabular*} |
392 |
% } |
|
393 | 383 |
} |
394 | 384 |
\hbox_gset:Nn \g_kivi_LT@lastfoot_box { |
395 | 385 |
\raisebox{\dimexpr\depth+\baselineskip}[0pt][0pt]{ |
... | ... | |
404 | 394 |
%Macht es sinn hier eine Variante zu machen, in der alle Spalten Belegbar sind? |
405 | 395 |
\NewDocumentEnvironment{PricingTotal}{+b}{ |
406 | 396 |
\par\nointerlineskip |
407 |
% \unskip |
|
408 | 397 |
}{ |
409 | 398 |
\bool_if:NT \g__kivi_Tabular_rowcolor_bool {\nointerlineskip\kivi@tabcolorbox{\g__kivi_Tabular_rowcolor_PricingTotal_tl}} |
410 | 399 |
{ |
Auch abrufbar als: Unified diff
marei: cleanup kiviletter