summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/envbig
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:54:53 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:54:53 +0000
commitab723b98e6f7c14ce65ee6c800f75f93b1fee081 (patch)
tree7f2818d70bc401c72d7e93061e6504174d6cfe14 /Master/texmf-dist/tex/latex/envbig
parentf1963e9d49eb241de701dca17dc2a6085de7c9bf (diff)
envbig
git-svn-id: svn://tug.org/texlive/trunk@865 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/envbig')
-rw-r--r--Master/texmf-dist/tex/latex/envbig/envbig.sty47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/envbig/envbig.sty b/Master/texmf-dist/tex/latex/envbig/envbig.sty
new file mode 100644
index 00000000000..3d2d81961b9
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/envbig/envbig.sty
@@ -0,0 +1,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}
+ }
+}