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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

358 Chapter 16. Letters<br />

properly positioned under the letterhead <strong>to</strong>gether with the corresponding<br />

text argument. If any of these comm<strong>and</strong>s are missing, their text will not<br />

appear in the letter.<br />

Since ours is a German institute, there is an option german that translates<br />

all these words in<strong>to</strong> their German equivalents. The entry comm<strong>and</strong>s<br />

have the same names, however.<br />

As in the st<strong>and</strong>ard letter class, the current date is printed au<strong>to</strong>matically,<br />

but may be changed <strong>to</strong> any desired text with the comm<strong>and</strong><br />

\date{date text}<br />

if one wishes <strong>to</strong> back-date a letter or <strong>to</strong> fix the dating within the letter file<br />

itself. This is often h<strong>and</strong>y if one only keeps electronic copies of the letters<br />

for the record. Otherwise, when a hard copy is run off months later, it<br />

will appear with the new current date <strong>and</strong> not with the original one.<br />

The entry author that is given as the argument <strong>to</strong> the \name comm<strong>and</strong><br />

appears in the letterhead as the name of the sender. It will also appear<br />

below the space left for the signature, unless it is overridden by the<br />

\signature comm<strong>and</strong> that specifies an alternative form of the name for<br />

this purpose.<br />

The sample letter on the previous page has been generated with our<br />

house style, using the following input text.<br />

\documentclass[12pt]{mpletter}<br />

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

\myref{PWD/sib}<br />

\date{May 10, 2003}<br />

\subject{\<strong>LaTeX</strong>{} information}<br />

\telephone{279} \internet{daly}<br />

\ymail{April 28, 2003} \yref{GFM/sdf}<br />

\begin{document}<br />

\begin{letter}{%<br />

Mr George Murphy\\35 Waterville Rd.\\<br />

Center<strong>to</strong>wn, Middlesex\\United Kingdom}<br />

\opening{Dear George,}<br />

Thank you for your inquiry about the latest version<br />

of the \<strong>LaTeX</strong>{} installation <strong>and</strong> additional packages.<br />

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

Do not hesitate <strong>to</strong> get in <strong>to</strong>uch with me again if you<br />

have any further questions about the installation or<br />

running of the package.<br />

\closing{Regards,}<br />

\encl{1 CD-ROM with \TeX{}live contents}<br />

\cc{H. Kopka}<br />

\end{letter}<br />

\end{document}

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

Saved successfully!

Ooh no, something went wrong!