Steve Litt wrote:
On Tuesday 28 August 2007 13:50, Bob Lounsbury wrote:
On 8/28/07, Lance Simmons <[EMAIL PROTECTED]> wrote:
In the document class "letter", how do I change the date from the
current date to another date?  There is no "Date" paragraph
environment in the "letter" document class.  Do I need to insert some
LaTex code in the preamble, or perhaps some ERT code?  I didn't find
anything in the User's Guide that answered this exact question, but
maybe the answer is in there somewhere.

It seems odd that the "letter" document class doesn't include a "Date"
paragraph environment.  Doesn't every letter have a date?

--
Lance Simmons
This is changed in the preamble:

\date{whatever you want}
And that brings up an important point. The LyX letter template should ask for a date. The way it is now, if you don't ERT in \date{whatever you want}, the date on the output is the date of conversion to postscript. Given that most letters are sent for legal purposes, it is VERY bad to have the date change as you print it on different days.

Now that LyX has character styles, the date can be included in the template as text in a character style, and the associated LaTeX command simply does \date{#1}.
Not an ideal solution, as you'd have to be careful where you put this command. A better one might be to try copying Style Date from stdtitle.inc over into stdletter.inc.

By the way, Steve, you're going to love the work I've done on layouts: http://wiki.lyx.org/Devel/LayoutModularity.

rh

--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to