Debian Codegraph @

texmf-dist/doc/latex/makelabels/makelabels-example.tex

raw
1 %%
2 %% This is file `makelabels-example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% makelabels.dtx (with options: `exmpl,simple')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from makelabels-example.tex.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file makelabels.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 \ProvidesFile{makelabels-example.tex}
24 [2021/08/14 v1.0 provide labels with scrlttr2 and scrletter]
25 \documentclass[paper=letter]{scrletter}
26 \LoadLetterOptions{UScommercial9,makelabels}
27 \usepackage[english]{babel}
28 \usepackage{blindtext}
29 \setkomavar{fromname}{John Doe}
30 \setkomavar{fromaddress}{1 Lambda Street\\Anyplace, NY 12345}
31 \makelabels
32 \begin{document}
33 \begin{letter}{Jane Doe\\2 Alpha Street\\Otherplace, NY 12346}
34 \opening{Dear Jane,}
35 \blindtext
36 \closing{With love}
37 \end{letter}
38 \end{document}
39 \endinput
40 %%
41 %% End of file `makelabels-example.tex'.