summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/envbig
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/envbig
Initial commit
Diffstat (limited to 'macros/latex/contrib/envbig')
-rw-r--r--macros/latex/contrib/envbig/README3
-rw-r--r--macros/latex/contrib/envbig/envbig.sty64
2 files changed, 67 insertions, 0 deletions
diff --git a/macros/latex/contrib/envbig/README b/macros/latex/contrib/envbig/README
new file mode 100644
index 0000000000..1162374071
--- /dev/null
+++ b/macros/latex/contrib/envbig/README
@@ -0,0 +1,3 @@
+This package prints both 'from' and 'to' addresses on envelopes.
+
+License: LaTeX Project Public License \ No newline at end of file
diff --git a/macros/latex/contrib/envbig/envbig.sty b/macros/latex/contrib/envbig/envbig.sty
new file mode 100644
index 0000000000..ddd48fb709
--- /dev/null
+++ b/macros/latex/contrib/envbig/envbig.sty
@@ -0,0 +1,64 @@
+%% The following copyright and licence notice added by Clea F. Rees
+%% on behalf of Bhaskar Manda on 2008/11/11.
+%%
+%% Copyright 1995 Bhaskar Manda, 1989 Heather Sherman
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `unmaintained'.
+%
+% This work consists of the file envbig.sty.
+%
+% 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}
+ }
+}