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

\usepackage[centerenvelopes,businessenvelope]{envlab}
\setlength{\FromAddressTopMargin}{0.25in}
\setlength{\FromAddressLeftMargin}{0.25in}
\makelabels

\begin{document}

\begin{letter}{Jane Doe\\2 Alpha Street\\Otherplace, NY 12346}
\opening{Dear Jane,}
\blindtext
\closing{With love}
\end{letter}
\end{document}
\endinput
%%
%% End of file `makelabels-envlab-example.tex'.