summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/postcards/pcardsmp.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/postcards/pcardsmp.tex
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/postcards/pcardsmp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/postcards/pcardsmp.tex47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/postcards/pcardsmp.tex b/Master/texmf-dist/doc/latex/postcards/pcardsmp.tex
new file mode 100644
index 00000000000..11599ea76fd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/postcards/pcardsmp.tex
@@ -0,0 +1,47 @@
+% `pcardsmp.tex' - demonstration of postcard class
+
+% author: bil kleb <w.l.kleb@larc.nasa.gov>
+% date: 14 aug 1999
+% version: 0.1
+% license: lppl
+
+% ymmv, but here's what worked for me:
+
+% to compile:
+% latex pcardsmp
+
+% convert to postscript (50 addresses):
+% dvips -t landscape '-l=1' -c 50 -o message.ps pcardsmp
+% dvips -t landscape '-p=51' -o addresses.ps pcardsmp
+
+% to preview (dvi preview typically not correct due to rotations):
+% ghostview pcardsmp.ps
+
+% to print: (insert 3.5'' towards infeed roller)
+% lpr message.ps (stamp down and nearest the infeed)
+% lpr addresses.ps (stamp up, furthest from infeed)
+
+\documentclass[11pt]{postcards}
+
+% database containing addresses of the form:
+%
+% name
+% street\\town, etc.
+% opening
+% [blank line]
+
+\addressfile{datasmp.txt}
+
+% main body of text:
+\mailingtext{% note: opening is one of the address datafields
+The main message text goes here.
+\closing{Respectfully,}}
+
+% from-address and signature line:
+\address{Tree Killers, Inc.\\
+ 5 Bulldozer Lane\\
+ Slash and Burn, RT 99930}
+\signature{Marvin the Robot}
+
+\begin{document}
+\end{document}