Revision 50c89498
Von Marei Peischl vor fast 5 Jahren hinzugefügt
kiviletter.sty | ||
---|---|---|
6 | 6 |
\DeclareOption{infobox}{\@kivi@infoboxtrue} |
7 | 7 |
\@kivi@infoboxtrue |
8 | 8 |
|
9 |
\newif\if@kivi@faketable |
|
10 |
\DeclareOption{faketable}{\@kivi@faketabletrue} |
|
9 | 11 |
|
10 | 12 |
\ProcessOptions\relax |
11 | 13 |
|
... | ... | |
78 | 80 |
|
79 | 81 |
\newcolumntype{P}{>{\raggedleft\arraybackslash}p{\g_kivi_tab_price_dim}} |
80 | 82 |
|
83 |
\if@kivi@faketable |
|
84 |
\RequirePackage{environ} |
|
85 |
\ExplSyntaxOn |
|
86 |
\seq_new:N \l_kivi_PricingTable_seq |
|
87 |
\NewEnviron{PricingTabular}{ |
|
88 |
% \tl_set:No \l_tmpa_tl {\BODY} |
|
89 |
\seq_set_split:NnV \l_kivi_PricingTable_seq {\tabularnewline} \BODY |
|
90 |
\seq_show:N \l_kivi_PricingTable_seq |
|
91 |
} |
|
92 |
\ExplSyntaxOff |
|
93 |
|
|
94 |
\else |
|
81 | 95 |
\newenvironment{PricingTabular}{ |
82 | 96 |
\begingroup |
83 | 97 |
\setlength{\tabcolsep}{\g_kivi_tabcolsep_dim} |
... | ... | |
95 | 109 |
\endlongtable |
96 | 110 |
\endgroup |
97 | 111 |
} |
112 |
\fi |
|
98 | 113 |
|
99 | 114 |
\ExplSyntaxOff |
100 | 115 |
|
sales_quotation.tex | ||
---|---|---|
1 |
\PassOptionsToPackage{faketable}{kiviletter} |
|
1 | 2 |
\input{inheaders.tex} |
2 | 3 |
|
3 | 4 |
|
... | ... | |
124 | 125 |
} |
125 | 126 |
\thispagestyle{kivitendo.letter.first} |
126 | 127 |
|
127 |
\angebotsformel\\
|
|
128 |
\angebotsformel |
|
128 | 129 |
|
129 | 130 |
|
130 | 131 |
\begin{PricingTabular} |
... | ... | |
150 | 151 |
<%qty%> <%unit%> & |
151 | 152 |
<%sellprice%>& |
152 | 153 |
\ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}} |
153 |
<%linetotal%>\\
|
|
154 |
<%linetotal%>\tabularnewline
|
|
154 | 155 |
<%end number%> |
155 | 156 |
\end{PricingTabular} |
156 | 157 |
|
... | ... | |
175 | 176 |
\closing{\gruesse} |
176 | 177 |
|
177 | 178 |
\begin{minipage}{\textwidth} |
179 |
\rule{\linewidth}{.2pt}\par |
|
178 | 180 |
\auftragerteilt\par\bigskip |
179 | 181 |
\nurort:\rule[-.5ex]{8cm}{.2pt}\ ,\den\ \rule[-.5ex]{5cm}{.2pt}\par\bigskip |
180 | 182 |
|
Auch abrufbar als: Unified diff
test faketable