[OS X TeX] envelopes and mutlple letters

Google Kreme gkreme at gmail.com
Sun Dec 5 17:26:17 CET 2004


On Sun, 5 Dec 2004 10:38:36 -0500, Alexandru Scorpan
<ascorpan at math.ufl.edu> wrote:
> Simplest suggestion:  define a macro
>         \newcommand\Letter[3]
>                 {\begin{letter}
>                 ...
>                 \end{letter}%
>                 }
> that takes the info as arguments, then go
>         \Letter{Me}{Home}{Lazy}
>         \Letter{Mom}{Old Country}{Missing me}

Stupid question, but what do the arguments fill in the letter? 

\begin{letter}{Bob Dole \\ 123 main St \\ Russell, KS}

how would I fill that address using your example?

and how would i fill 

\opening{Dear Bob,}

> All this assumes the standard letter class.

Ah. I can't find any mention of labeling in the KOMA letter type.

\documentclass{letter}
\name{First Last} % your name
\address{1234 S main St \\ City, USA 00000 }
\signature{Signature}
\makelabels
\begin{document}
\newcommand\Letter[3]
  {\begin{letter}
   \opening{Dear ,}  % eg. Hello
TEXT
  \closing{Happy Holidays,} %eg. Regards
  \end{letter}%
}
\Letter{Field 1.1}{field 1.2}{Field 1.3}
\Letter{Field 2.1}{field 2.2}{Field 2.3}
\end{document}

incomplete \iffalse: all text ignored after line 14

I tried putting the \newcommand in the preamble with the same results.

-- 
 ::::::===   <http://2blog.kreme.com>  ===::::::
 :: Build a man a fire and he'll be warm for  :: 
 :: a night, but set a man on fire and he'll  ::
 :: be warm for the rest of his life.         ::
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list