Re: Tool for document management
On Wed, 26 Sep 2007 21:31:32 -0400, Douglas A Tutty
<dtutty@porchlight.ca> said:
> Here's my personal letter template. I copy it to the correct file
> name, edit it, then latex it. The letter text itself is just plain
> text.
> \documentclass[letterpaper,12pt]{article}
> %preamble here
> \begin{document}
> % no page number on this first page
> \thispagestyle{empty} \begin{flushleft} Douglas A. Tutty\\ xxx
> xxxxxxxxx, RR. x\\ xxxxxx, ON xxx xxx\\ Ph: (xxx) xxx--xxxx\\ Email:
> dtutty@porchlight.ca\\ \end{flushleft}
> \noindent \today
> \bigskip
> \noindent Dear:
> \bigskip
> \begin{flushleft} Yours truly,
> \vspace{2cm}
> Douglas A. Tutty. \end{flushleft}
> \end{document}
--8<---------------cut here------------letter_template------------->8---
\documentclass[12pt]{letter}
\usepackage[dvips]{graphicx}
\usepackage{times}
\pagestyle{empty}
\usepackage[margin=1in, head=0.25in, headsep=0.25in, nofoot]{geometry}
\setlength{\topmargin}{0pt}
\setlength{\oddsidemargin}{0pt}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{5pt}
\setlength{\textheight}{9.0in}
\setlength{\textwidth}{6.5in}
\address{Manoj Srivastava\\
229 Brandon Lane\\
Woodbury, TN 37190}
\signature{Manoj Srivastava}
\makelabels{}
\begin{document}
\letter{Some one\\
P.O. Box 2210\\
Sometown USA, 00000-0000}
\opening{Dear Sir}
Blah Blah blah.
\closing{Yours Sincerely,}
\ps{post scriptum}
\encl{some thing or the other}
\end{document}
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here-----envelope----start------------->8---
% TeX Template for an envelope
%
% To use:
%
% Copy into a new file, replace all
% [BRACKETED UPPER-CASE TEXT]
% with your own, then run the tex command on it.
% Use dvips to print the .dvi output in landscape mode:
% dvips -t landscape envelope.dvi
\font\cmssa = cmss12
\font\cmssc = cmss14
%\special{papersize=9.5in,3.25in}
%\special{landscape}
\parindent 0 pt\nopagenumbers\parskip 10 pt
\hsize 9.5 in\vsize 3.25 in
\voffset 1.25 in
\cmssa
Manoj Srivastava
229 Brandon Lane
Woodbury, TM 37190
\vskip .5 in\vskip 15 pt\parindent 3.5 in
\font\addressrm=cmss16 scaled\magstep2
\addressrm
document
P.O. Box 2210
Sometown USA, 00000-0000
\end
--8<---------------cut here---------------end--------------->8---
manoj
--
APL is a natural extension of assembler language programming; ...and is
best for educational purposes. -- A. Perlis
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: