Debian Codegraph @

texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex

raw
1 %%
2 %% This is file `qrbill-letter-demo.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% qrbill.dtx (with options: `qrbill-letter-demo.tex')
8 %%
9 %% Copyright (C) 2020–2023 by Marei Peischl (peiTeX) <[email protected]>
10 %%
11 %% This work is a collaboration of
12 %% Marei Peischl (peiTeX) and Alex Antener (foobar LLC).
13 %%
14 %% This work may be distributed and/or modified under the
15 %% conditions of the LaTeX Project Public License, either version 1.3c
16 %% of this license or (at your option) any later version.
17 %% The latest version of this license is in
18 %% http://www.latex-project.org/lppl.txt
19 %% and version 1.3c or later is part of all distributions of LaTeX
20 %% version 2005/12/01 or later.
21 %%
22 %% This work has the LPPL maintenance status `maintained'.
23 %%
24 %% The Current Maintainer of this work is
25 %% Marei Peischl <[email protected]>.
26 %%
27 %% This work consists of the files
28 %% qrbill.dtx and qrbill.ins, qrbill-vocab.csv
29 %% and the derived files
30 %% qrbill.sty, swiss.qrbill-cfg.tex, epc.qrbill-cfg.tex,
31 %% qrbill-letter-demo.tex, qrbill-standalone-demo.tex,
32 %% and qrbill-epc-demo.tex.
33 %%
34 %% The development repository can be found at
35 %% https://github.com/peitex/qrbill
36 %% Please use the issue tracker for feedback!
37 %%
38 \documentclass[foldmarks=b]{scrletter}
39 \usepackage[
40 frame=top,
41 sep-iban=4,
42 sep-reference=-5,
43 ]{qrbill}
44
45 \DeclareNewLayer[
46 align=bl,
47 voffset=\paperheight,
48 hoffset=0pt,
49 contents={\QRbill},
50 width=\paperwidth,
51 height=105mm,
52 ]{qrbill}
53
54 \begin{document}
55
56 \qrbillsetdata{
57 creditor*={foobar LLC\\
58 Postfach\\
59 404\\
60 2342\\
61 Zurich\\
62 CH},
63 Account=CH1280808005649899718,
64 vat=123123123,% VAT number with stripped CH and periods
65 debtor*={peiTeX\\
66 TeXnikerweg\\
67 78\\
68 23420\\
69 Hamburg\\
70 DE},
71 Amount=1337.42,
72 Message=Bestellung vom 27.06.2020,
73 invoicenum=100-4242,
74 vatdetails=0,% 0% VAT
75 AV1=LX;F00BAR;2342,
76 }
77
78 \setkomavar{fromaddress}{\insertcreditor}
79
80 \begin{letter}{\insertdebtor}
81
82 \opening{opening}
83
84 Text
85
86 \closing{closing}
87
88 \AddLayersToPageStyle{@everystyle@}{qrbill}
89
90 \end{letter}
91 \end{document}
92 \endinput
93 %%
94 %% End of file `qrbill-letter-demo.tex'.