Re: writing a letter in LaTeX
Roy C Bixler wrote:
> Hi:
>
> I tried using Lyx to write a letter and, in the end, had to resort to
> Star Office 5 because of an apparent bug in LaTeX. The Lyx output
> looked fine, but LaTeX did not include either the 'from' or 'to'
> addresses in the output DVI file.
Try adding the \opening{} command like so:
\documentclass{letter}
\begin{document}
\address{John Jones\\ 123 A St.\\ Anytown, AW AB3 4AA}
\begin{letter}{Mr. Joe Smith\\ 2345 Princess St.\\ Edinburgh, EH1 1AA}
\opening{Dear Sir,}
Each letter is a `letter' environment, whose argument is the name
and address of the recipient. For example, you might have:
\end{letter}
\end{document}
--
Peter Galbraith, research scientist <GalbraithP@dfo-mpo.gc.ca>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
6623'rd GNU/Linux user at the Counter - http://counter.li.org/
Reply to: