The letter document type was implemented to write LaTeX letters.
The letter document type was specifically implemented to write LaTeX letters, using LaTeX's brief.cls document class. It is available only for the LaTeX (yodl2latex(1)) converter.
This manual page briefly describes Yodl's letter document type. This document type is specific enough that it warrants a separate manpage.
letter documents do not allow you to use the `standard' sectioning commands (e.g., sect() and subsect()). You can, however, use macros that are normally used within such sections, such as description(), itemization(), bf() or em().
Several specific macros, to be used in the preamble, are available for the letter document type. They are:
- AfourEnlarged(): Enlarges the usable height of A4 paper by 2 cm.: the top margin is reduced by 2 cm.
- letteraddenda(type)(value): Adds an addendum at the end of a letter. type should be bijlagen (i.e., appendices), cc or ps. Use nl() within the value section if multiple addenda of a certain type are used.
- letteradmin(yourdate)(yourref): Puts yourletterfrom and yourreference elements in the letter. If left empty, two dashes are inserted.
- letterfootitem(name)(value): Puts a footer at the bottom of letter-pages. Up to three will usually fit. For example,
- letterreplyto(name)(address)(zip city): Defines the `reply to' address.
letterto(element): Adds element as an additional line to
the address of the addressee. Use one element for each
line of the addressee's address. Up to five lines will usually fit. A
sixth line may be squeezed in, if necessary.
The letter) macro itself requires the following arguments:
- language: select english, dutch, or another language supported by the babel.sty style;
- date: the letter's date. Use your own date-convention. The text specified here will be used as the letter's date;
- subject: a short indication as to why you wrote the letter
- opening: the letter's opening, e.g., Dear Linus,;
- salutation: the letter's closing phrase, e.g., Kind regards,;
author: the name of the letter's author. nl() macros can
be used here, but the brief class will also restrict the width of
the author-lines by itself.
Frank B. Brokken ([email protected]),