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.

16<br />

Letters<br />

In addition <strong>to</strong> the three st<strong>and</strong>ard L AT E X document classes, there is a fourth<br />

one named letter for formatting correspondence. As provided, this<br />

class is intended for private letters without any frills such as letterheads<br />

or business reference codes. However, local modifications are possible.<br />

We first present the st<strong>and</strong>ard L AT E X letter class, <strong>and</strong> then demonstrate<br />

how a house style can be written using our own institute style as an example.<br />

As always, it is highly recommended that each of these modifications<br />

be given its own file name so that letter.cls refers only <strong>to</strong> the provided<br />

L AT E X version.<br />

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

The letter document class is meant for writing letters. A single input<br />

file may contain the text for more than one letter <strong>and</strong> recipient, all from<br />

the same sender. Address labels may also be printed au<strong>to</strong>matically if<br />

one wishes. Most of the normal L AT E X comm<strong>and</strong>s function as usual within<br />

the letter class. One exception, however, is the sectioning comm<strong>and</strong>s,<br />

which will lead <strong>to</strong> the error message ! Undefined control sequence<br />

when issued. It actually makes little sense <strong>to</strong> try <strong>to</strong> divide a letter up in<strong>to</strong><br />

chapters, sections, etc. On the other h<strong>and</strong>, there are a number of special<br />

comm<strong>and</strong>s that may be applied only within this style.<br />

The input text for a letter begins as for every L AT E X document with<br />

\documentclass[options]{letter}<br />

in which all the options listed in Section 3.1 may be given for options<br />

except for twocolumn <strong>and</strong> titlepage which hardly make any sense within<br />

a letter.<br />

Every letter must contain the name <strong>and</strong> address of the sender, which<br />

are set for all the letters in one file by including the comm<strong>and</strong>s<br />

\address{sender address}<br />

\signature{sender name} or \name{sender name}<br />

351

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

Saved successfully!

Ooh no, something went wrong!