Debian Codegraph @

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

raw
1 %%
2 %% This is file `makelabels-envlab-example.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% makelabels.dtx (with options: `exmpl,envlab')
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-envlab-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-envlab-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
32 \usepackage[centerenvelopes,businessenvelope]{envlab}
33 \setlength{\FromAddressTopMargin}{0.25in}
34 \setlength{\FromAddressLeftMargin}{0.25in}
35 \makelabels
36
37 \begin{document}
38
39 \begin{letter}{Jane Doe\\2 Alpha Street\\Otherplace, NY 12346}
40 \opening{Dear Jane,}
41 \blindtext
42 \closing{With love}
43 \end{letter}
44 \end{document}
45 \endinput
46 %%
47 %% End of file `makelabels-envlab-example.tex'.