28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

16.1. The L AT E X letter class 355<br />

been specified in the preamble, they remain in force for all the letters in<br />

the file. It is possible <strong>to</strong> alter any one or more of these sender entries<br />

by reissuing the comm<strong>and</strong> within one of the letters, before the \opening<br />

comm<strong>and</strong>, but then this change is valid solely for that letter. If both \name<br />

<strong>and</strong> \signature have been declared, it is the latter that is printed below<br />

the signature space.<br />

The first page contains no page number. Subsequent pages have either<br />

a centered page number at the bot<strong>to</strong>m (default) or a heading line with<br />

recipient, date, <strong>and</strong> page number at the <strong>to</strong>p (page style headings).<br />

The sample letter on the facing page was generated with the following<br />

input text.<br />

\documentclass[a4paper,11pt]{letter}<br />

\name{Dr P. W. Daly}<br />

\address{Max--Planck--Institut f\"ur Aeronomie\\<br />

Max--Planck--Str.\ 2\\<br />

D-37191 Katlenburg--Lindau\\Germany}<br />

\signature{Patrick W. Daly}<br />

\date{September 8, 2003}<br />

\begin{document}<br />

\begin{letter}{\TeX proof Ltd\\P.\,O. Box 123\\<br />

9876 Word<strong>to</strong>wn\\Textl<strong>and</strong>}<br />

\opening{Dear Sir;}<br />

We are most pleased <strong>to</strong> be able <strong>to</strong> answer your request for<br />

information about the use of \<strong>LaTeX</strong>{} for general text<br />

processing at a scientific institute.<br />

\begin{enumerate}<br />

\item<br />

After some initial trepidation on the part of the secretarial<br />

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />

in winning acceptance for \<strong>LaTeX</strong>{} in our house.<br />

\end{enumerate}<br />

An additional positive note is the ability <strong>to</strong> write business<br />

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .<br />

special paper printed.<br />

\closing{Yours truly,}<br />

\encl{Listing of our \texttt{mpletter.cls}\\Sample output}<br />

\cc{H. Kopka\\B. W<strong>and</strong>}<br />

\end{letter}<br />

\end{document}<br />

By adding the comm<strong>and</strong> \makelabels in the preamble, the user can<br />

print out address stickers after all the letters have been output. The<br />

entries for the addresses are taken from the recipients’ names <strong>and</strong> addresses<br />

in the argument <strong>to</strong> the letter environment. The st<strong>and</strong>ard LAT EX letter class is designed for a page of labels 4 1<br />

4 × 2 inches, ordered in<br />

two columns. This could be altered for other formats. An address sticker

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!