Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
  Anyway, the first of these problems is with inserting a date. I do the
  occasion print out and would like to include the current date when I do.

 Hang on... you actually want to have the current date in the printout???
 (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread Charles de Miramon
David Wolfson wrote:

 
 My first response was 'really! the date gets put in anyway?' Then I tried
 the ERT you suggested and suddenly I get two dates... For now that's
 perfect, but I have a horrible feeling I'll be trawling the archives to
 find out how to get rid of it soon!
 
 Thanks for guidance on my first foray into ERT,
 

On top of your document you can put that in ERT

\pagestyle{myheadings}
\markright{\jobname, le \today{}}

The first line tell latex that you want homemade headings. 
The second line creates a header on each right page

and choose headings in Format-documents
 
That will print in the header, the name of your file and the date 

Buying a introductory book for LaTeX is a good investment, especially if you
have deadlines.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: lyx-code - date-insert

2005-10-14 Thread Rich Shepard

On Fri, 14 Oct 2005, David Wolfson wrote:


My first response was 'really! the date gets put in anyway?' Then I tried
the ERT you suggested and suddenly I get two dates... For now that's
perfect, but I have a horrible feeling I'll be trawling the archives to
find out how to get rid of it soon!


Dave,

  The date is inserted by default. If you do not want a date on the title
page (book, article, report), then insert:

\date{}

in the document's preamble.

  I have that as the default for all document classes. On the rare occasion I
want TeX to insert the date, I remove it.

  BTW, if you're becoming addicted to LyX and LaTeX buy a copy of The LaTeX
Companion, 2nd Edition. It's a fascinating book to read and answers so many
questions. Very highly recommended.

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
  Anyway, the first of these problems is with inserting a date. I do the
  occasion print out and would like to include the current date when I do.

 Hang on... you actually want to have the current date in the printout???
 (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread Charles de Miramon
David Wolfson wrote:

 
 My first response was 'really! the date gets put in anyway?' Then I tried
 the ERT you suggested and suddenly I get two dates... For now that's
 perfect, but I have a horrible feeling I'll be trawling the archives to
 find out how to get rid of it soon!
 
 Thanks for guidance on my first foray into ERT,
 

On top of your document you can put that in ERT

\pagestyle{myheadings}
\markright{\jobname, le \today{}}

The first line tell latex that you want homemade headings. 
The second line creates a header on each right page

and choose headings in Format-documents
 
That will print in the header, the name of your file and the date 

Buying a introductory book for LaTeX is a good investment, especially if you
have deadlines.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: lyx-code - date-insert

2005-10-14 Thread Rich Shepard

On Fri, 14 Oct 2005, David Wolfson wrote:


My first response was 'really! the date gets put in anyway?' Then I tried
the ERT you suggested and suddenly I get two dates... For now that's
perfect, but I have a horrible feeling I'll be trawling the archives to
find out how to get rid of it soon!


Dave,

  The date is inserted by default. If you do not want a date on the title
page (book, article, report), then insert:

\date{}

in the document's preamble.

  I have that as the default for all document classes. On the rare occasion I
want TeX to insert the date, I remove it.

  BTW, if you're becoming addicted to LyX and LaTeX buy a copy of The LaTeX
Companion, 2nd Edition. It's a fascinating book to read and answers so many
questions. Very highly recommended.

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: lyx-code - date-insert

2005-10-14 Thread David Wolfson
Cheers for the reply Christian,

On Thursday 13 October 2005 18:50, [EMAIL PROTECTED] wrote:
> > Anyway, the first of these problems is with inserting a date. I do the
> > occasion print out and would like to include the current date when I do.
>
> Hang on... you actually want to have the current date in the printout???
> (One of the most frequent questions is how to *not* get the date:-)

My first response was 'really! the date gets put in anyway?' Then I tried the 
ERT you suggested and suddenly I get two dates... For now that's perfect, but 
I have a horrible feeling I'll be trawling the archives to find out how to 
get rid of it soon!

Thanks for guidance on my first foray into ERT,

Dave



Re: lyx-code - date-insert

2005-10-14 Thread Charles de Miramon
David Wolfson wrote:

 
> My first response was 'really! the date gets put in anyway?' Then I tried
> the ERT you suggested and suddenly I get two dates... For now that's
> perfect, but I have a horrible feeling I'll be trawling the archives to
> find out how to get rid of it soon!
> 
> Thanks for guidance on my first foray into ERT,
> 

On top of your document you can put that in ERT

\pagestyle{myheadings}
\markright{\jobname, le \today{}}

The first line tell latex that you want homemade headings. 
The second line creates a header on each right page

and choose headings in Format->documents
 
That will print in the header, the name of your file and the date 

Buying a introductory book for LaTeX is a good investment, especially if you
have deadlines.

Cheers,
Charles
-- 
http://www.kde-france.org



Re: lyx-code - date-insert

2005-10-14 Thread Rich Shepard

On Fri, 14 Oct 2005, David Wolfson wrote:


My first response was 'really! the date gets put in anyway?' Then I tried
the ERT you suggested and suddenly I get two dates... For now that's
perfect, but I have a horrible feeling I'll be trawling the archives to
find out how to get rid of it soon!


Dave,

  The date is inserted by default. If you do not want a date on the title
page (book, article, report), then insert:

\date{}

in the document's preamble.

  I have that as the default for all document classes. On the rare occasion I
want TeX to insert the date, I remove it.

  BTW, if you're becoming addicted to LyX and LaTeX buy a copy of "The LaTeX
Companion, 2nd Edition." It's a fascinating book to read and answers so many
questions. Very highly recommended.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: lyx-code - date-insert

2005-10-13 Thread chr
On Thu, 13 Oct 2005, David Wolfson wrote:

 Anyway, the first of these problems is with inserting a date. I do the
 occasion print out and would like to include the current date when I do.

Hang on... you actually want to have the current date in the printout??? 
(One of the most frequent questions is how to *not* get the date:-)

It's been a while, but I think you'll need an ERT that contains 
\today{}
LaTeX will automaticall replace '\today{}' with the time the document is
compiled. You can place this command in headers/footers if you want it on 
every page.

cheers
/Christian


-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: lyx-code - date-insert

2005-10-13 Thread chr
On Thu, 13 Oct 2005, David Wolfson wrote:

 Anyway, the first of these problems is with inserting a date. I do the
 occasion print out and would like to include the current date when I do.

Hang on... you actually want to have the current date in the printout??? 
(One of the most frequent questions is how to *not* get the date:-)

It's been a while, but I think you'll need an ERT that contains 
\today{}
LaTeX will automaticall replace '\today{}' with the time the document is
compiled. You can place this command in headers/footers if you want it on 
every page.

cheers
/Christian


-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: lyx-code - date-insert

2005-10-13 Thread chr
On Thu, 13 Oct 2005, David Wolfson wrote:

> Anyway, the first of these problems is with inserting a date. I do the
> occasion print out and would like to include the current date when I do.

Hang on... you actually want to have the current date in the printout??? 
(One of the most frequent questions is how to *not* get the date:-)

It's been a while, but I think you'll need an ERT that contains 
\today{}
LaTeX will automaticall replace '\today{}' with the time the document is
compiled. You can place this command in headers/footers if you want it on 
every page.

cheers
/Christian


-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr