blob: 3d2d81961b98baa904c6f7275685678493fa3503 (
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
|
% Envelopes
% Latex option file to print addresses onto a 9.5x4.125 envelope fed through
% the manual paper feed on HP LaserJet 4SIMX.
% SAMPLE FILE :
%
%\documentstyle[12pt,envelope]{article}
%\begin{document}
%\from{name\\ address\\ city/state} %define return address
%\to{name\\ address\\ city/state} %define destination address
%\envelope %actually create envelope
%\end{document}
%
%Create postscript file with
% dvips -m -t landscape <filename>.dvi
%
%Feed envelope into printer through manual feed rack with printing side up and
%with the RIGHT edge of the envelope the edge with the flap.
%Since the trailing edge of the envelope gets mangled by the printer often,
%this starts printing on the leading edge.
% Bhaskar Manda, July 6, 1995 by modifying envelope.sty written by
% Heather Sherman, March 10, 1989.
\pagestyle{empty}
\textheight=7in
\textwidth=7.5in
\topmargin=-1.9in
\oddsidemargin=-1.0in
\def\from#1{\def\@from{#1}}
\def\to#1{\def\@to{#1}}
\def\@from{\mbox{}}
\def\@to{\mbox{}}
\def\envelope{
\clearpage
\vspace*{2.1in}
\parbox[t]{3.5in}{
\begin{flushleft}
\@from
\end{flushleft}
}
\parbox[t]{3.5in}{
\vspace*{2.0in}
\begin{flushleft}
\@to
\end{flushleft}
}
}
|