summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-28 21:39:28 +0000
committerKarl Berry <karl@freefriends.org>2020-06-28 21:39:28 +0000
commitea455e4bbad0f05db1db8a7c9021774da2efeb22 (patch)
tree08ec37f82779c100f1e5d7cb137c5998008408ec /Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex
parent6339e51588b3e9162d1a12206a96ae5dde5364ab (diff)
qrbill (28jun20)
git-svn-id: svn://tug.org/texlive/trunk@55694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex')
-rw-r--r--Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex93
1 files changed, 93 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex b/Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex
new file mode 100644
index 00000000000..c89e9fda752
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/qrbill/qrbill-letter-demo.tex
@@ -0,0 +1,93 @@
+%%
+%% This is file `qrbill-letter-demo.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% qrbill.dtx (with options: `qrbill-letter-demo.tex')
+%%
+%% Copyright (C) 2020 by Marei Peischl (peiTeX) <marei@peitex.de>
+%%
+%% This work is a collaboration of
+%% Marei Peischl (peiTeX) and Alex Antener (foobar LLC).
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is
+%% Marei Peischl <qrbill@peitex.de>.
+%%
+%% This work consists of the files
+%% qrbill.dtx and qrbill.ins, qrbill-vocab.csv
+%% and the derived files
+%% qrbill.sty, swiss.qrbill-cfg.tex, qrbill-letter-demo.tex,
+%% qrbill-standalone-demo.tex .
+%%
+%% The development repository can be found at
+%% https://github.com/peitex/qrbill
+%% Please use the issue tracker for feedback!
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass[foldmarks=b]{scrletter}
+\usepackage[frame=top]{qrbill}
+
+\DeclareNewLayer[
+align=bl,
+voffset=\paperheight,
+hoffset=0pt,
+contents={\QRbill},
+width=\paperwidth,
+height=105mm,
+]{qrbill}
+
+\begin{document}
+
+\qrbillsetdata{
+ creditor*={foobar LLC\\
+ Postfach\\
+ 404\\
+ 2342\\
+ Zurich\\
+ CH},
+ Account=CH1280808005649899718,
+ vat=123123123,% VAT number with stripped CH and periods
+ debtor*={peiTeX\\
+ TeXnikerweg\\
+ 78\\
+ 23420\\
+ Hamburg\\
+ DE},
+ Amount=1337.42,
+ Message=Bestellung vom 27.06.2020,
+ invoicenum=100-4242,
+ invoicedate=200701,%yymmdd
+ vatdetails=0,% 0% VAT
+ vatdate=200701,%yymmdd
+ AV1=LX;F00BAR;2342,
+}
+
+\setkomavar{fromaddress}{\insertcreditor}
+
+\begin{letter}{\insertdebtor}
+
+\opening{opening}
+
+Text
+
+\closing{closing}
+
+\AddLayersToPageStyle{@everystyle@}{qrbill}
+
+\end{letter}
+\end{document}
+\endinput
+%%
+%% End of file `qrbill-letter-demo.tex'.